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

Reid Price reid at nicira.com
Fri May 18 05:31:08 UTC 2012


One thing I have seen in the past: if ethX has an ip as well as brX, it usually means that routing will try to send traffic out ethX. That traffic will be dropped, since brX is now the one hooked up to the ip stack (not ethX).

On May 17, 2555 BE, at 20:49, Robin Wang <cloudbengo at gmail.com> wrote:

> eth1, sorry for typo mistake.
> 
> 在 2012-5-18 上午11:48,"Robin Wang" <cloudbengo at gmail.com>写道:
> Because uplink doesn't need IP address. Here eth0 is used to connect two switches, one virtual, one physical. Thanks.
> 
> 在 2012-5-18 上午10:49,"Salman Malik" <salmanmk at live.com>写道:
> Hi Dongsheng,
> 
> Could you please tell me, why do we need to clear up the eth1 IP address? Does it interfere with the bridge ? If yes then how ?
> Bridge management is a bit unclear to me so thats why I am asking.
> 
> Thanks,
> Salman
> 
> 
> > From: dongsheng.song at gmail.com
> > Date: Fri, 18 May 2012 10:32:23 +0800
> > To: heuye.wang at gmail.com
> > CC: discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] why vm can't ping host eth1
> > 
> > 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
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
> 
> _______________________________________________
> 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/20120517/c266ded5/attachment.html>


More information about the discuss mailing list