[ovs-discuss] ovs del-port does not clean up ethX.Y vlan interfaces

Madhur Sethi madhur at attivonetworks.com
Wed Sep 17 17:26:50 UTC 2014


Thanks for the reply Ben.

Yes , I did enable the vlan-splinters. The ports have intel igb drivers and the vlan doesn't work without enabling the vlan splinters. If its deprecated then could you please point me to the newer workaround?


Regards,
Madhur Sethi

-----Original Message-----
From: Ben Pfaff [mailto:blp at nicira.com] 
Sent: 17 September 2014 22:52
To: Madhur Sethi
Cc: 'discuss at openvswitch.org'
Subject: Re: [ovs-discuss] ovs del-port does not clean up ethX.Y vlan interfaces

On Wed, Sep 17, 2014 at 09:49:23AM +0000, Madhur Sethi wrote:
> I am facing an issue wrt the del-port command here. Refer to my config here:
> Commands used:
> ovs-vsctl add-port OVS-VlanBridge vnet96 ovs-vsctl set port vnet96 
> tag=5 ovs-vsctl add-port OVS-VlanBridge eth3
> 
> 
> [root@ kvm ~]# ovs-vsctl show
> 412338cc-eca8-4ea0-a4d8-793ec0444d23
> Bridge OVS-VlanBridge
>        Port OVS-VlanBridge
>             Interface OVS-VlanBridge
>                 type: internal
>        Port "eth3"
>             Interface "eth3"
>        Port "vnet96"
>             tag: 5
>             Interface "vnet96"
> 
> The port vnet96  is connected to a vm interface which provides outside access to the vm for VLAN 5.
> The eth3 port is the physical port on the host connected to the outside world.  It acts as a trunk with no trunk tags specified, hence being a VLAN all trunk port.
> Ifconfig output on the host :
> 
> [root@ kvm ~]# ifconfig | grep eth3
> eth3      Link encap:Ethernet  HWaddr 0C:C4:7A:12:33:27
> eth3.5    Link encap:Ethernet  HWaddr 0C:C4:7A:12:33:27
> 
> The eth3.5 is automatically created by the OVS. If however I delete the eth3 from OVS-VlanBridge using the del-port command the eth3.5 is not cleaned up. Do I need an additional command to clean this up? Or is this an bug?

eth3.5 would only be created automatically by OVS if you enable the deprecated "vlan splinters" feature.  Did you enable vlan splinters?



More information about the discuss mailing list