Source qrouter is skipped in east/west traffic

asked 2015-06-11 22:29:48 -0500

Nodir gravatar image

Hello,

I am using Juno Neutron on DVR mode with GRE. I have 3 compute nodes and one controller node. I created two internal subnets, 10.1.0.0/24 and 10.1.1.0/24, and connected them via router. Then I created two VMs, one in each subnet, vm1 with 10.1.0.4 (running on host1) and vm2 with 10.1.1.2 address (on host2).

I can successfully ping two VMs, but I don't see any packets going through qrouter of the host1 (after the first duplicate one). Here is the output from my VMs and hosts.

knodir@host1:~$ ip netns
qrouter-b6ddd71d-7d1d-42ac-ae10-f8f37fec5a67

knodir@host1:~$ sudo ip netns exec qrouter-b6ddd71d-7d1d-42ac-ae10-f8f37fec5a67 ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

qr-b2fbf5db-52 Link encap:Ethernet  HWaddr fa:16:3e:c4:20:23  
          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fec4:2023/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3164 (3.1 KB)  TX bytes:3450 (3.4 KB)

qr-f9e7329d-4a Link encap:Ethernet  HWaddr fa:16:3e:a3:6a:66  
          inet addr:10.1.0.1  Bcast:10.1.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fea3:6a66/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:46 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4184 (4.1 KB)  TX bytes:2386 (2.3 KB)

user@vm1:~$ ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56 (84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=63 time=3.16 ms
64 bytes from 10.1.1.2: icmp_seq=1 ttl=63 time=3.21 ms (DUP!)
64 bytes from 10.1.1.2: icmp_seq=2 ttl=63 time=1.97 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=63 time=1.02 ms
64 bytes from 10.1.1.2: icmp_seq=4 ttl=63 time=1.11 ms
<and so on with +1 icmp_seq increment as expected ... > 

knodir@host1:~$ sudo ip netns exec qrouter-b6ddd71d-7d1d-42ac-ae10-f8f37fec5a67 tcpdump -i any
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
19:47:32.145087 IP 10.1.0.4 > 10.1.1.2: ICMP echo ...
(more)
edit retag flag offensive close merge delete