[ovs-discuss] communication among VMs in multiple physical hosts

Alex Wang alexw at nicira.com
Fri Oct 18 23:15:23 UTC 2013


Well, as the FAQ says,

"""
A physical Ethernet device that is part of an Open vSwitch bridge
should not have an IP address.  If one does, then that IP address
will not be fully functional.
"""

The eth1 on br0 still has address "192.168.2.1".

If you still want eth0 on br0 and eth1 having address "192.168.2.1",
one feasible configuration is to use tunnel. E.g.
*
*
*On host1:*
ovs-vsctl del-port eth1
ovs-vsctl add-port tunnel_to_host2 -- set interface tunnel_to_host2
type=gre options:remote_ip=192.168.2.2

*On host2:*
ovs-vsctl del-port eth1*
*
ovs-vsctl add-port tunnel_to_host1 -- set interface tunnel_to_host1
type=gre options:remote_ip=192.168.2.1

This is actually a common solution for directing traffic to corresponding
physical interface.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131018/4cd0137a/attachment.html>


More information about the discuss mailing list