[Openstack] router cannot communicate with external

ZHOU TAO A tao.a.zhou at alcatel-lucent.com
Thu Jul 24 02:56:18 UTC 2014


Hi,

I have installed icehouse with ovs vlan configuration.
Network node and controller node coexists.

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

[root at ih-controller neutron]# 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
 From 135.252.167.186 icmp_seq=4 Destination Host Unreachable


[root at 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} |
+--------------------------------------+------------+-----------------------------------------------------------------------------+

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)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140724/15206b5e/attachment.html>


More information about the Openstack mailing list