[ovs-discuss] About VXLAN VNI

Deepika deepika.dwaraknath at veryxtech.com
Mon Dec 16 04:51:38 UTC 2013


Hi,
You should use the following command to set VNI .

ovs-vsctl add-port br2 vx1 – set interface vx1 type=vxlan
options:remote_ip=192.168.66.5 options*:key=5001*
options:local_ip-192.168.66.4


where key is the VNI ID.

Hope this helps.

Thanks,
Deepika

On 12/16/2013 10:13 AM, ㄜˊ ㄋㄣˋ ㄜˊ ㄋㄣˋ wrote:
> Hello, I have a request is that how could I set VNI for my virtual
> machine?
>
> In my topology , I have two virtual machine with each pythical machine
>
> (Public IP) Host1<------VXLAN Tunnel---------->Host2 (Public IP)
> [bridge 10] [bridge 11]
> | |
> | |
> | |
> | |
> | | | |
> | | | |
> [tap1] [tap2] [tap3] [tap4]
> VM1 VM2(Private IP) VM3 VM4(Private IP)
> [VNI1] [VNI2] [VNI1] [VNI2]
>
> I used below command to create Host1 and Host2 VXLAN Tunnel
>
> $ sudo ovs-vsctl add-port br10 vx1 -- set interface vx1 type=vxlan
> options:remote_ip= Host2_IP
> $ sudo ovs-vsctl add-port br11 vx1 -- set interface vx1 type=vxlan
> options:remote_ip= Host1_IP
>
> Use above command that VM could ping each other in the same subnet
>
> Now,I have the Problem about :
>
> how should I to identify Virtual Machine VNI ?
>
> I can use options:key = [number] to identify VNI , but how should I
> use openvswitch to distribute VNI for VM?
>
>
> I have already confuse a few day , I will appreciate your reply .
>
> Very Thanks your help : )
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131216/e1b2ca83/attachment.html>


More information about the discuss mailing list