[ovs-discuss] How to Configure two VMs to a vxlan?

Peng pengyujian5201314 at 126.com
Wed Jan 14 08:28:17 UTC 2015


Hi

I'm testing vxlan.
I have one host with two VMs:
vm interface ip
vm1 vmnet1  10.1.0.14/24
vm2 vmnet2  10.1.0.15/24

The host ip is 10.1.0.13

I want to configure vm1 and vm2 to a vxlan.

ovs-vsctl add-br br1
ovs-vsctl add-port br1 eth1
ovs-vsctl add-port br1 vmnet1 --set interface vmnet1 type=vxlan option:key=100 option:remote_ip=10.1.0.13
ovs-vsctl add-port br1 vmnet2 --set interface vmnet2 type=vxlan option:key=100 option:remote_ip=10.1.0.13

But vm1 and vm2 cannot ping each other.

How to configure vm1 and vm2 to a vxlan?

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150114/5e12dccd/attachment-0002.html>


More information about the discuss mailing list