[ovs-discuss] VXLAN: How to pass VNI while setting up VXLAN Tunnel

senthil arumugam geetha_senthil at sbcglobal.net
Mon Jan 23 11:11:08 PST 2012


Hi
I could set up vxlan tunnel across 2 hosts

- sudo ovs-vsctl add-port br0 vx0 -- set interface vx0 type=vxlan 
options:remote_ip=10.0.0.2

I am looking at a way by which I can pass VNI (VXLAN NETWORK IDENTIFIER) while 
setting tp this tunnel;

I tried with following command that is accepted.
- sudo ovs-vsctl add-port br0 vx0 -- set interface vx0 type=vxlan 
options:remote_ip=10.2.0.1 options:id=9  ( I also triied - options:vni=9)

But while looking at VXLAN header contents through wireshark, I still see that 
VNI is not set..  So not sure the option 'id' maps to VNI

Thanks
_Senthil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120123/047c406f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 9852 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120123/047c406f/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4545 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120123/047c406f/attachment-0003.gif>


More information about the discuss mailing list