[ovs-discuss] [OpenvSwitch] - Adding VLAN Tag not working

Ben Pfaff blp at nicira.com
Mon Jun 10 17:50:36 UTC 2013


On Mon, Jun 10, 2013 at 11:30:50AM +0530, Moovarkku Mudhalvan wrote:
>                We connected VLAN 21 with the ETH0 Physical Interface and
> OVSBR0 is the open vswitch created and configured as below
> 
>  
> 
> [root at clab-kvm02 ~]# ovs-vsctl show
> 
> 06e1de06-b111-4349-833c-528ecb1db92f
> 
>     Bridge "ovsbr0"
> 
>         Port "eth0"
> 
>             Interface "eth0"
> 
>         Port "ovsbr0"
> 
>             Interface "ovsbr0"
> 
>                 type: internal
> 
>         Port "vnet0"
> 
>             Interface "vnet0"
> 
>     ovs_version: "1.10.0"
> 
>  
> 
>  
> 
>                The above works fine. To enable the VLAN information I did
> the following
> 
> after deleting the vnet0 port
> 
>  
> 
> [root at clab-kvm02 ~]# ovs-vsctl add-port ovsbr0 vnet0 tag=21
> 
> [root at clab-kvm02 ~]# ovs-vsctl show
> 
> 06e1de06-b111-4349-833c-528ecb1db92f
> 
>     Bridge "ovsbr0"
> 
>         Port "vnet0"
> 
>             tag: 21
> 
>             Interface "vnet0"
> 
>        Port "eth0"
> 
>             Interface "eth0"
> 
>         Port "ovsbr0"
> 
>             Interface "ovsbr0"
> 
>                 type: internal
> 
>     ovs_version: "1.10.0"
> 
> [root at clab-kvm02 ~]#
> 
>  
> 
>                Now I am not able to ping the host from vm. Please let me
> know where am i doing mistake?

Did you read the VLAN section of the FAQ?
    http://openvswitch.org/faq/



More information about the discuss mailing list