[ovs-discuss] Query on ovs Vxlan setup

Sudipto Biswas sbiswas7 at linux.vnet.ibm.com
Wed Mar 18 03:34:38 UTC 2015


On Tuesday 17 March 2015 06:36 PM, Yogesh Pandey1/HYD/TCS wrote:
> Hi All,
>
> To test NSH feature in ovs (using custom ovs), I am trying to 
> configure VxLan Tunnel between two hypervisors each running one VM 
> using these commands. But whenever I provide an ip to br1 the internet 
> connectivity to my host is lost. Also  Vxlan with nsh shows up in the 
> ovs-vsctl show command but VMs are not able to ping each other on 
> different hosts.
> *
> On Host 1*
> #ovs Setup
> ovs-vsctl add-br br0
> ovs-vsctl add-br br1
> ovs-vsctl add-port br0 eth0
> ifconfig eth0 0 && ifconfig br0 192.168.1.3 netmask 255.255.255.0
> route add default gw 192.168.1.1 br0
> ifconfig br1 10.1.2.10 netmask 255.255.255.0
You haven't added the eth device to br1.
> #configuring VxLan
> sudo ovs-vsctl add-port br1 vxlan1 -- set interface vxlan1 type=vxlan 
> options:remote_ip=192.168.1.4 options:key=0x5000 options:nsp=0x123456 
> options:nsi=44 options:npc=0x22000000 options:nsc=0x33000000 
> options:spc=0x44000000 options:ssc=0x5500000
>
>
ovs-vsctl dump-flows br1 and check if the packet value gets incremented 
when you try pinging the VMs.
> -- 
> Thanks and regards,
> Yogesh Pandey
> Mailto:yogesh.pandey1 at tcs.com
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss




More information about the discuss mailing list