[Xorp-users] RFC: New VLAN api for xorp.ct

Ben Greear greearb at candelatech.com
Tue Mar 8 10:35:52 PST 2011


On 03/03/2011 10:30 AM, Ben Greear wrote:
> On 03/03/2011 07:38 AM, Joe Coco wrote:
>> Hello,
>>
>> I removed the 'set' options from the interfaces.tp and now xorp starts. When I try to configure a VLAN, I do get an error.
>> I'm not sure if this is because I fouled up the range syntax in interfaces.tp, or an actual broken condition. The error is:
>
> Please remove the old patch and apply this one instead.  It boots and
> creates the interface on my test machine.  I haven't tried running
> a real protocol over it, but likely it will work.

I've pushed the VLAN patch to the xorp.ct repo.  I've only done light
testing so far, but should get some more solid results soon.

Thanks,
Ben

>
> http://www.xorp.org/patches/0001-vlans-Treat-vlans-as-primary-interfaces.patch
>
> Note the syntax has changed:
>
>
> interfaces {
>       interface "eth1.5" {
> 	parent-ifname: "eth1"
> 	iface-type: "VLAN"
> 	vid: "5"
>           vif "eth1.5" {
>               address 11.1.1.1 {
>                   prefix-length: 24
>               }
>           }
>       }
>
> }
>
>
> Thanks,
> Ben
>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list