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

Moovarkku Mudhalvan moovarkku.mudhalvan at sifycorp.com
Mon Jun 10 06:00:50 UTC 2013


Hi Everyone,

 

               Good Morning. To have multiple VLANs using OpenvSwitch I
understand we will be able to achieve it using TAG while adding port

 

               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?

 

Regards

Mudhalvan M.M

 




Get your world in your inbox!

Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id!
Log on to http://www.sify.com

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Technologies Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin at sifycorp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130610/9966745b/attachment.html>


More information about the discuss mailing list