[Xorp-users] VLAN Interfaces

Joe Coco jcoco at meccorp.mec.edu
Tue Feb 15 11:32:18 PST 2011


Hello,

I found another problem. 

This check:

	//
    // Test whether the VLAN already exists
    //


    if ((pulled_vifp != NULL)
        && (pulled_vifp->is_vlan())
        && (pulled_vifp->vlan_id() == config_vif.vlan_id())) {
        return (XORP_OK);               // XXX: nothing changed
    }



Doesn't work.

If you create eth1.100 vif for example, commit, then go back and crate eth1.200, it tries to add eth1.100 again and bombs. 

Cannot create VLAN interface eth1.100 (parent = eth1 VLAN ID = 100): File exists


I wrote a quick ugly hack that puts the IP on the vlans and deletes them, but now this is a problem.

-- Joe




More information about the Xorp-users mailing list