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

Justin Pettit jpettit at nicira.com
Tue Jan 24 21:42:31 UTC 2012


As Ben mentioned, VXLAN isn't merged yet into the main codebase--the patch is currently being reworked--so we can't support it.  In the meantime, I'd recommend using GRE, which should do everything you need and has been supported by OVS for a long time, so the interfaces are more stable.

--Justin


On Jan 24, 2012, at 1:08 PM, senthil arumugam wrote:

> Ben
> 
> Sorry. I forgot to mention it. I have applied the patches as per the thread 
> 
> [ovs-dev] [PATCH] Implement draft VXLAN L2-over-L3 tunneling protocol.
> 
> And I could ping vm1 and vm2 across this tunnel.
> 
> What I am looking for is how to pass VNI in the setup command.
> 
> Thanks
> =Senthil
> 
> 
> From: Ben Pfaff <blp at nicira.com>
> To: senthil arumugam <hai_senthil at yahoo.com>
> Cc: jesse at nicira.com; jpettit at nicira.com
> Sent: Tue, January 24, 2012 12:29:53 PM
> Subject: Re: Fw: VXLAN: How to pass VNI while setting up VXLAN Tunnel
> 
> Open vSwitch doesn't currently support VXLAN.
> 
> On Tue, Jan 24, 2012 at 11:55:41AM -0800, senthil arumugam wrote:
> > Experts
> > Please give me a pointer to get it..
> > 
> > Thanks
> > =Senthil
> > 
> > 
> > 
> > ----- Forwarded Message ----
> > From: senthil arumugam <geetha_senthil at sbcglobal.net>
> > To: discuss at openvswitch.org
> > Cc: senthil arumugam <hai_senthil at yahoo.com>
> > Sent: Mon, January 23, 2012 11:11:08 AM
> > Subject: VXLAN: How to pass VNI while setting up VXLAN Tunnel
> > 
> > 
> >  
> >  
> > 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




More information about the discuss mailing list