quantum router cannot ping default gateway
Hi, guys:
I created quantum network node in the lab with 3 bridges: br-int, br-eth1, br-eth2. The latter two are mapped to eth1 and eth2 respectively.
dmd@os-net1:~$ sudo ovs-vsctl show
a57d694d-
Bridge "br-eth1"
Port "phy-br-eth1"
Port "br-eth1"
Port "eth1"
Bridge "br-eth2"
Port "qg-3a81b07f-5b"
Port "br-eth2"
Port "eth2"
Bridge br-int
Port br-int
Port "qr-6e478915-3e"
tag: 1
Port "tap645a1a4e-ba"
tag: 1
Port "int-br-eth1"
ovs_version: "1.4.0+build0"
dmd@os-net1:~$ ifconfig -a
br-eth1 Link encap:Ethernet HWaddr 00:50:56:95:04:49
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:120 (120.0 B) TX bytes:6012 (6.0 KB)
br-eth2 Link encap:Ethernet HWaddr 00:50:56:95:04:4b
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123520 errors:0 dropped:14 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:16935735 (16.9 MB) TX bytes:6012 (6.0 KB)
br-int Link encap:Ethernet HWaddr 1a:e5:05:c1:69:41
inet6 addr: fe80::18e5:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:936 (936.0 B) TX bytes:6082 (6.0 KB)
eth0 Link encap:Ethernet HWaddr 00:50:56:95:24:40
inet addr:7.10.177.143 Bcast:7.10.177.255 Mask:255.255.255.0
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:154078 errors:0 dropped:0 overruns:0 frame:0
TX packets:77439 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:39418654 (39.4 MB) TX bytes:19629489 (19.6 MB)
eth1 Link encap:Ethernet HWaddr 00:50:56:95:04:49
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:11046 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:180 (180.0 B) TX bytes:2400695 (2.4 MB)
eth2 Link encap:Ethernet HWaddr 00:50:56:95:04:4b
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123601 errors:0 dropped:0 overruns:0 frame:0
TX packets:241 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:16776242 (16.7 MB) TX bytes:26610 (26.6 KB)
eth2.280 Link encap:Ethernet HWaddr 00:50:56:95:04:4b
inet addr:7.10.180.143 Bcast:7.10.180.255 Mask:255.255.255.0
inet6 addr: fe80::250:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4763 (4.7 KB) TX bytes:14388 (14.3 KB)
int-br-eth1 Link encap:Ethernet HWaddr 9e:78:39:f7:af:9a
inet6 addr: fe80::9c78:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7440 (7.4 KB) TX bytes:7440 (7.4 KB)
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:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
phy-br-eth1 Link encap:Ethernet HWaddr 6a:d4:dd:51:bd:a7
inet6 addr: fe80::68d4:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7440 (7.4 KB) TX bytes:7440 (7.4 KB)
I also created network ext_net and subnet ext_sub with ip 7.10.180.1 - 10/24. After associating it with router, the gateway gets IP address of 7.10.180.1. In addition, the quantum network node created the following namespace:
dmd@os-net1:~$ sudo ip netns list
qdhcp-0d4f531b-
qrouter-
Now, I tried to ping the default gateway, but ping failed:
dmd@os-net1:~$ sudo ip netns exec qrouter-
PING 7.10.180.254 (7.10.180.254) 56(84) bytes of data.
From 7.10.180.1 icmp_seq=1 Destination Host Unreachable
From 7.10.180.1 icmp_seq=2 Destination Host Unreachable
From 7.10.180.1 icmp_seq=3 Destination Host Unreachable
Then I realized the ARP table was not populated with default gateway's MAC address:
dmd@os-net1:~$ sudo ip netns exec qrouter-
? (7.10.180.254) at <incomplete> on qg-3a81b07f-5b
Would you please let me know what I can take a look to root cause the problem?
Thanks!
Shixiong
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Shixiong Shang for more information if necessary.