[ovs-discuss] why vm can't ping host eth1

Dongsheng Song dongsheng.song at gmail.com
Thu May 17 19:32:23 PDT 2012


On Thu, May 17, 2012 at 7:12 PM, yue wang <heuye.wang at gmail.com> wrote:
>
> i think vm1/vm2/host are connected to each other by OVS, vm and host should communicate with each other.

Sure, please see another thread:
http://openvswitch.org/pipermail/discuss/2012-May/007201.html

You must clean ALL ip address on eth1, and set the ip address on the
corresponding bridge device,
say 'br1', here is a example:

/usr/bin/ovs-vsctl add-br br1
/usr/bin/ovs-vsctl add-port br1 eth1

/sbin/ip addr add ${IP} dev br1
/sbin/ip link set br1 up
/sbin/ip address flush dev eth1
/sbin/ip route replace default via ${GW} # if you have gateway
corresponding  eth1


More information about the discuss mailing list