<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">Hi, <br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">I have installed icehouse
with ovs vlan configuration.<br>
Network node and controller node coexists.<br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">The problem is I can ping
the public IP address of my router but cannot ping external
gateway from my instance.</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">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<br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">[root@ih-controller
neutron]# ip netns exec
qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c ping 135.252.167.1<br>
PING 135.252.167.1 (135.252.167.1) 56(84) bytes of data.<br>
From 135.252.167.186 icmp_seq=2 Destination Host Unreachable<br>
From 135.252.167.186 icmp_seq=3 Destination Host Unreachable<br>
From 135.252.167.186 icmp_seq=4 Destination Host Unreachable<br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">[root@ih-controller
neutron]# neutron router-list<br>
+--------------------------------------+------------+-----------------------------------------------------------------------------+<br>
| id | name |
external_gateway_info
|<br>
+--------------------------------------+------------+-----------------------------------------------------------------------------+<br>
| e3119ff4-2fac-4226-9e63-009cfce8ac4c | router_ext |
{"network_id": "0b78bc26-0374-47ed-8f0b-66d18e3bd86b",
"enable_snat": true} |<br>
+--------------------------------------+------------+-----------------------------------------------------------------------------+<br>
</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">ip netns exec
qrouter-e3119ff4-2fac-4226-9e63-009cfce8ac4c ifconfig<br>
lo Link encap:Local Loopback <br>
inet addr:127.0.0.1 Mask:255.0.0.0<br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:4 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br>
RX bytes:448 (448.0 b) TX bytes:448 (448.0 b)<br>
<br>
qg-256b404e-50 Link encap:Ethernet HWaddr FA:16:3E:2A:D3:D0 <br>
inet addr:135.252.167.186 Bcast:135.252.167.255
Mask:255.255.255.0<br>
inet6 addr: fe80::f816:3eff:fe2a:d3d0/64 Scope:Link<br>
UP BROADCAST RUNNING MTU:1500 Metric:1<br>
RX packets:191469 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:1293 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br>
RX bytes:16274751 (15.5 MiB) TX bytes:123922 (121.0
KiB)<br>
<br>
qr-c87773a3-79 Link encap:Ethernet HWaddr FA:16:3E:03:42:C3 <br>
inet addr:192.48.1.254 Bcast:192.48.1.255
Mask:255.255.255.0<br>
inet6 addr: fe80::f816:3eff:fe03:42c3/64 Scope:Link<br>
UP BROADCAST RUNNING MTU:1500 Metric:1<br>
RX packets:1286 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br>
RX bytes:124478 (121.5 KiB) TX bytes:1986 (1.9 KiB)</p>
<p style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro
Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif,
Simsun; margin: 0px 0px 14px; padding: 0px 5px 5px 0px; border:
none; font-size: 14px; line-height: 1.4; color: rgb(75, 75, 75);
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><br>
<br>
</p>
</body>
</html>