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

Reid Price reid at nicira.com
Tue Jul 17 08:15:46 UTC 2012


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



More information about the discuss mailing list