[ovs-discuss] VMs on two HOSTs can't ping each other

YIMIN CHEN ymchen.nbzj at gmail.com
Wed Jul 18 02:30:07 UTC 2012


Hi Reid,

Thank you for your reply!

This must be a very newbie question, sorry that I have to ask this: Which
REPORTING_BUGS section you are referring to? I looked for this section in
discuss archive, openvswitch home page sections, still not very clear which
document ...


Thanks!
Yimin


On Tue, Jul 17, 2012 at 4:15 PM, Reid Price <reid at nicira.com> wrote:

> Hi Yimin,
>
> Take a look at the information in the REPORTING_BUGS section for things to
> help you get a response. For this particular issue, I would look at the
> following:
> - assign ips to br0 on each bridge
> - make sure you can ping between bridges
> (if not, your connection is probably not what you think it is, no point in
> debugging vm connection)
> - ovs dpctl show br0
> - ovs ofctl dump-flows br0 on each
> - start ping from source to destination (either bridge if br failed, or vm)
> - ovs dpctl dump-flows br0 on each
>
> You can also try tcpdumping to see if any traffic is leaving the machine.
>
>   -Reid
>
> On Jul 16, 2555 BE, at 23:11, YIMIN CHEN <ymchen.nbzj at gmail.com> wrote:
>
> > Hi,
> >
> > I am trying to setup 2 OVS Hosts, with VMs running on each. My goal is
> to see the VMs can ping each other (I tried the VLAN cookbook and couldn't
> get it to work, so trying with VM with no vlan config first). Here is my
> setup:
> >
> > VM1 (11.1.1.4) and VM2 (11.1.1.5) running on Host 1.
> > VM3 (11.1.1.7) and VM4 (11.1.1.8) running on Host 2
> >
> > Both Hosts showing VM ports are in the br0:
> >
> > jason1 at jason1:~$ sudo ovs-vsctl list-ports br0
> > eth0
> > tap0I
> > tap1.
> >
> > Two eth0 ports of the hosts are connected by a ethernet cable, instead
> of a physical switch. I had verified that the cable is in working condition.
> >
> > I didn't assign IP on eth0 of the hosts, as in cookbook.
> >
> > However, VMs on the same host can ping each other, but not b/w hosts.
> >
> > I did the same steps as in vlan cookbook, except I didn't use vlan, but
> rather the most simple 2 hosts case.
> >
> > Am I missing some steps? Your suggestions are appreciated!
> >
> >
> > Thanks!
> > Yimin
> >
> >
> > _______________________________________________
> > 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/20120718/438b222f/attachment.html>


More information about the discuss mailing list