<div dir="ltr">Hi Liu,<div><br></div><div style>Have you done the below step? which actually attaches the router with the specified network, </div><div style><br></div><div style>quantum router-interface-add <font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px">$router_id $net1_ID</span></font></div>
<div style><font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px">quantum router-interface-add $router-id $net2_ID</span></font></div><div style><font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px"><br>
</span></font></div><div style><font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px"><br></span></font></div><div style><font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px">Regards,</span></font></div>
<div style><font color="#333333" face="Consolas, Liberation Mono, Courier, monospace"><span style="line-height:19px">Ashok</span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 3:02 PM, Liu Wenmao <span dir="ltr"><<a href="mailto:marvelliu@gmail.com" target="_blank">marvelliu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi list:<div><br></div><div>I set up quantum without namespace support, quantum-server/l3 agent/dhcp agent are running at the same node, besides there is a compute node.</div>
<div><br></div><div>
I create a router connecting two network(<a href="http://100.0.0.0/24" target="_blank">100.0.0.0/24</a>, <a href="http://200.0.0.0/24" target="_blank">200.0.0.0/24</a>), so there should be two gateways(100.0.0.1 and 200.0.0.1) in the controller, however,I can see two dhcp server(100.0.0.3 and 200.0.0.2), but no gateways:</div>
<div><br></div><div>root@controller:~# ifconfig <br></div><div>br-ex...................</div><div>br-int...................</div><div>eth0...............</div><div>eth1............</div>
<div>eth2.............</div><div>lo.................</div><div><div>tap09a002af-66 Link encap:Ethernet HWaddr fa:16:3e:9e:11:e0 </div><div> inet addr:192.168.19.129 Bcast:192.168.19.255 Mask:255.255.255.128</div>
<div> inet6 addr: fe80::f816:3eff:fe9e:11e0/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:146 errors:0 dropped:146 overruns:0 frame:0</div><div>
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:0 </div><div> RX bytes:9490 (9.4 KB) TX bytes:594 (594.0 B)</div></div><div><div>tap160480aa-84 Link encap:Ethernet HWaddr fa:16:3e:54:77:83 </div>
<div> inet addr:100.0.0.3 Bcast:100.0.0.255 Mask:<a href="tel:255.255.255.0" value="+912552552550" target="_blank">255.255.255.0</a></div><div> inet6 addr: fe80::f816:3eff:fe54:7783/64 Scope:Link</div>
<div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div>
<div> RX packets:1110 errors:0 dropped:156 overruns:0 frame:0</div><div> TX packets:514 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:0 </div><div> RX bytes:121029 (121.0 KB) TX bytes:66549 (66.5 KB)</div>
<div><br></div><div>tap5b5891ac-94 Link encap:Ethernet HWaddr fa:16:3e:ae:35:d3 </div><div> inet addr:200.0.0.2 Bcast:200.0.0.255 Mask:<a href="tel:255.255.255.0" value="+912552552550" target="_blank">255.255.255.0</a></div>
<div> inet6 addr: fe80::f816:3eff:feae:35d3/64 Scope:Link</div>
<div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:147 errors:0 dropped:146 overruns:0 frame:0</div><div> TX packets:6 errors:0 dropped:0 overruns:0 carrier:0</div><div>
collisions:0 txqueuelen:0 </div><div> RX bytes:9816 (9.8 KB) TX bytes:468 (468.0 B)</div><div><br></div><div><div>root@controller:~# quantum subnet-show subnet1</div><div>+------------------+----------------------------------------------+</div>
<div>| Field | Value |</div><div>+------------------+----------------------------------------------+</div><div>| allocation_pools | {"start": "100.0.0.2", "end": "100.0.0.254"} |</div>
<div>| cidr | <a href="http://100.0.0.0/24" target="_blank">100.0.0.0/24</a> |</div><div>| dns_nameservers | |</div><div>| enable_dhcp | True |</div>
<div>| gateway_ip | 100.0.0.1 |</div><div>| host_routes | |</div><div>| id | 25b34a57-db92-4a4f-a1f5-a550d5b8e1e6 |</div>
<div>| ip_version | 4 |</div><div>| name | subnet1 |</div><div>| network_id | eccf5627-a6c6-4007-82a0-f6b85bd2b4ce |</div>
<div>| tenant_id | 53707d290204404dbff625378969c25c |</div><div>+------------------+----------------------------------------------+</div></div><div><br></div><div>The VMs can not ping gateways, but can ping DHCP servers, why cannot I find the gateway?</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div><br></div><div>Wenmao Liu</div></font></span></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Regds,</div>
<div> </div>
<div>Ashok ,</div>
<div>Delivery Consultant,</div>
<div>HP.</div>
</div>