Hi,
I have a two VM setup with two containers (simulated by veth pairs) on each VM. 
I am able to ping from containers on host A to host B and vice versa when
I use gre tunnels. However, when I replace gre by vxlan, the ping doesn't work
anymore. What am I missing?

Host A
[root@localhost ~]# ovs-vsctl show
60741b68-4d89-4cee-989c-1e5a7718731e
Bridge "br0"
fail_mode: secure
Port vethd
Interface vethd
Port vethc
Interface vethc
Port "vxlan0"
Interface "vxlan0"
type: vxlan
options: {remote_ip="192.168.122.207"}
Port "br0"
Interface "br0"
type: internal
ovs_version: "2.3.0"
[root@localhost ~]# ovs-ofctl -O OpenFlow13 dump-flows br0
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=744.381s, table=0, n_packets=10, n_bytes=756, 
actions=NORMAL
[root@localhost ~]# lsmod | grep open
openvswitch 69940 0
gre 13535 1 openvswitch
vxlan 37333 1 openvswitch
libcrc32c 12603 1 openvswitch
[root@localhost ~]#
 
Host B
[root@localhost ~]# ovs-vsctl show
a835fb57-fb1f-452d-bdc4-09ba3c3b29ca
Bridge "br0"
fail_mode: secure
Port vethb
Interface vethb
Port vetha
Interface vetha
Port "vxlan0"
Interface "vxlan0"
type: vxlan
options: {remote_ip="192.168.122.26"}
Port "br0"
Interface "br0"
type: internal
ovs_version: "2.3.0"
[root@localhost ~]# ovs-ofctl -O OpenFlow13 dump-flows br0
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=553.580s, table=0, n_packets=9, n_bytes=378, actions=NORMAL
[root@localhost ~]# lsmod | grep open
openvswitch 69940 0
gre 13535 1 openvswitch
vxlan 37333 1 openvswitch
libcrc32c 12603 1 openvswitch
[root@localhost ~]# 

The tunnels are created using --
ovs-vsctl add-port br0 vxlan0 -- set interface vxlan0 type=vxlan 
option:remote_ip=192.168.122.26 ofport_request=10

When using gre --
ovs-vsctl add-port br0 gr00 -- set interface gr0 type=gre 
option:remote_ip=192.168.122.26 ofport_request=10

ping works with gre but not with vxlan. 

Thanks



_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to