Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cannot ping external gateway

Hi, I have installed icehouse with ovs vlan configuration.

The problem is I can ping the public IP address of my router but cannot ping external gateway from my instance.

My instance has internal IP 192.48.1.51 and a floating IP 135.252.167.187. My router has subnet 192.48.1.0/24 and gateway 135.252.167.186

ip netns exec qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c ping 135.252.167.1

PING 135.252.167.1 (135.252.167.1) 56(84) bytes of data.

From 135.252.167.186 icmp_seq=2 Destination Host Unreachable

From 135.252.167.186 icmp_seq=3 Destination Host Unreachable

[root@ih-controller neutron]# ip netns list

qdhcp-9053301a-68a1-432d-8236-a5683d9bc938

qrouter-24953470-825f-4d21-ada7-a184a1a284e9

qrouter-def819d1-8df8-48e0-9e86-781dbd59ccb1

qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c

qdhcp-a9d5784b-55af-43e9-bf2d-65e124eb0aa5

qdhcp-3faf6489-42ca-455f-970e-af90e90008ba

qdhcp-d1eff285-c53a-41d5-913f-953a3b7d10ad

[root@ih-controller neutron]# ip netns exec qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c 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:16436 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:448 (448.0 b) TX bytes:448 (448.0 b)

qg-256b404e-50 Link encap:Ethernet HWaddr FA:16:3E:2A:D3:D0
inet addr:135.252.167.186 Bcast:135.252.167.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe2a:d3d0/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:191469 errors:0 dropped:0 overruns:0 frame:0 TX packets:1293 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16274751 (15.5 MiB) TX bytes:123922 (121.0 KiB)

qr-c87773a3-79 Link encap:Ethernet HWaddr FA:16:3E:03:42:C3
inet addr:192.48.1.254 Bcast:192.48.1.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe03:42c3/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:1286 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:124478 (121.5 KiB) TX bytes:1986 (1.9 KiB)

[root@ih-controller neutron]# neutron router-list

+--------------------------------------+------------+------------------------------------------------------------- ----------------+ | id | name | external_gateway_info | +--------------------------------------+------------+-----------------------------------------------------------------------------+ | e3119ff4-2fac-4226-9e63-009cfce8ac4c | router_ext | {"network_id": "0b78bc26-0374-47ed-8f0b-66d18e3bd86b", "enable_snat": true} | +--------------------------------------+------------+-----------------------------------------------------------------------------+

cannot ping external gateway

Hi, I have installed icehouse with ovs vlan configuration.

The problem is I can ping the public IP address of my router but cannot ping external gateway from my instance.

My instance has internal IP 192.48.1.51 and a floating IP 135.252.167.187. My router has subnet 192.48.1.0/24 and gateway 135.252.167.186

ip netns exec qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c ping 135.252.167.1

135.252.167.1 PING 135.252.167.1 (135.252.167.1) 56(84) bytes of data.

data. From 135.252.167.186 icmp_seq=2 Destination Host Unreachable

Unreachable From 135.252.167.186 icmp_seq=3 Destination Host Unreachable

Unreachable [root@ih-controller neutron]# ip netns list

qdhcp-9053301a-68a1-432d-8236-a5683d9bc938

qrouter-24953470-825f-4d21-ada7-a184a1a284e9

qrouter-def819d1-8df8-48e0-9e86-781dbd59ccb1

qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c

qdhcp-a9d5784b-55af-43e9-bf2d-65e124eb0aa5

qdhcp-3faf6489-42ca-455f-970e-af90e90008ba

qdhcp-d1eff285-c53a-41d5-913f-953a3b7d10ad

list qdhcp-9053301a-68a1-432d-8236-a5683d9bc938 qrouter-24953470-825f-4d21-ada7-a184a1a284e9 qrouter-def819d1-8df8-48e0-9e86-781dbd59ccb1 qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c qdhcp-a9d5784b-55af-43e9-bf2d-65e124eb0aa5 qdhcp-3faf6489-42ca-455f-970e-af90e90008ba qdhcp-d1eff285-c53a-41d5-913f-953a3b7d10ad [root@ih-controller neutron]# ip netns exec qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c ifconfig

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:16436 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:448 (448.0 b) TX bytes:448 (448.0 b)

b) qg-256b404e-50 Link encap:Ethernet HWaddr FA:16:3E:2A:D3:D0
inet addr:135.252.167.186 Bcast:135.252.167.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe2a:d3d0/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:191469 errors:0 dropped:0 overruns:0 frame:0 TX packets:1293 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16274751 (15.5 MiB) TX bytes:123922 (121.0 KiB)

KiB) qr-c87773a3-79 Link encap:Ethernet HWaddr FA:16:3E:03:42:C3
inet addr:192.48.1.254 Bcast:192.48.1.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe03:42c3/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:1286 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:124478 (121.5 KiB) TX bytes:1986 (1.9 KiB)

KiB) [root@ih-controller neutron]# neutron router-list

router-list +--------------------------------------+------------+------------------------------------------------------------- ----------------+ | id | name | external_gateway_info | +--------------------------------------+------------+-----------------------------------------------------------------------------+ | e3119ff4-2fac-4226-9e63-009cfce8ac4c | router_ext | {"network_id": "0b78bc26-0374-47ed-8f0b-66d18e3bd86b", "enable_snat": true} | +--------------------------------------+------------+-----------------------------------------------------------------------------+

+--------------------------------------+------------+-----------------------------------------------------------------------------+