<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Good deal! Glad you were able to find it.
<div><br>
</div>
<div>James<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF85523" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> b t [905ben@gmail.com]<br>
<b>Sent:</b> Friday, October 03, 2014 11:25 PM<br>
<b>To:</b> James Denton<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] why neutron router interfaces are done ?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">just figured out the problem !
<div><br>
</div>
<div>following the icehouse installation guide for Ubuntu , page 55 .</div>
<div>the guide is like:</div>
<div>
<div>interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver</div>
<div>use_namespaces = True</div>
</div>
<div><br>
</div>
<div>what I put in is :</div>
<div>
<div>interface_driver = neutron.agent.linux.interface.OVSInterfaceDriveruse_namespaces = True</div>
</div>
<div><br>
</div>
<div>after modify this part , all is working , and VM can traceroute to internet .</div>
<div><br>
</div>
<div>thanks !</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Oct 4, 2014 at 12:15 AM, James Denton <span dir="ltr">
<<a href="mailto:james.denton@rackspace.com" target="_blank">james.denton@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Which version of OpenStack? If the router is plugged into br-ex and not br-int you may see this condition. Often, an external bridge like br-ex is not properly configured, leading
 to issues. You might try creating a provider bridge using the ovs-vsctl tool, defining the mapping in the plugin configuration file, and using router-gateway-set to associate the router with that network. 
<div><br>
</div>
<div>It would help to see your 'ovs-vsctl show' output along with the plugin configuration file and a 'neutron net-show <netid>' of the external network.</div>
<div><br>
</div>
<div>James<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> b t [<a href="mailto:905ben@gmail.com" target="_blank">905ben@gmail.com</a>]<br>
<b>Sent:</b> Friday, October 03, 2014 8:52 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] why neutron router interfaces are done ?<br>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">hi, 
<div>VM works fine and can ping each other within the same project .</div>
<div>But VM can not ping gateway , not able to ping router external interface from external .<br>
<div><br>
</div>
<div>here is the port-show and noticed ports are down .</div>
<div>any idea ?   thanks !</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
<div>root@network:/etc# neutron port-show 7d2e7645-5a05-4eb6-ae9a-50ac627aac67</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                              |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                               |</div>
<div>| allowed_address_pairs |                                                                                    |</div>
<div>| binding:host_id       |                                                                                    |</div>
<div>| binding:profile       | {}                                                                                 |</div>
<div>| binding:vif_details   | {}                                                                                 |</div>
<div>| binding:vif_type      | unbound                                                                            |</div>
<div>| binding:vnic_type     | normal                                                                             |</div>
<div>| device_id             | 84fa4241-4c94-4260-880c-b6092c73c4c0                                               |</div>
<div>| device_owner          | network:router_interface                                                           |</div>
<div>| extra_dhcp_opts       |                                                                                    |</div>
<div>| fixed_ips             | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.1"} |</div>
<div>| id                    | 7d2e7645-5a05-4eb6-ae9a-50ac627aac67                                               |</div>
<div>| mac_address           | fa:16:3e:d5:41:d9                                                                  |</div>
<div>| name                  |                                                                                    |</div>
<div>| network_id            | cc3ef6ae-7015-49cb-8b0d-49d7acd60601                                               |</div>
<div>| security_groups       |                                                                                    |</div>
<div>| status                | DOWN                                                                               |</div>
<div>| tenant_id             | e550fba3fa3743b0930c35d9b90f02e4                                                   |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# neutron port-show 22495eeb-0856-4cd0-b8f5-55d9500b61f5</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                              |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                               |</div>
<div>| allowed_address_pairs |                                                                                    |</div>
<div>| binding:host_id       | compute1                                                                           |</div>
<div>| binding:profile       | {}                                                                                 |</div>
<div>| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                     |</div>
<div>| binding:vif_type      | ovs                                                                                |</div>
<div>| binding:vnic_type     | normal                                                                             |</div>
<div>| device_id             | c66f0ddf-3209-46c0-b21c-55cfee02d115                                               |</div>
<div>| device_owner          | compute:None                                                                       |</div>
<div>| extra_dhcp_opts       |                                                                                    |</div>
<div>| fixed_ips             | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.2"} |</div>
<div>| id                    | 22495eeb-0856-4cd0-b8f5-55d9500b61f5                                               |</div>
<div>| mac_address           | fa:16:3e:73:36:97                                                                  |</div>
<div>| name                  |                                                                                    |</div>
<div>| network_id            | cc3ef6ae-7015-49cb-8b0d-49d7acd60601                                               |</div>
<div>| security_groups       | 0fff99c8-b889-4863-8bbb-57336e060f5e                                               |</div>
<div>| status                | ACTIVE                                                                             |</div>
<div>| tenant_id             | e550fba3fa3743b0930c35d9b90f02e4                                                   |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# neutron port-show 18af3bf9-300d-477a-b38e-9cfd49bf152f</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                              |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                               |</div>
<div>| allowed_address_pairs |                                                                                    |</div>
<div>| binding:host_id       | network                                                                            |</div>
<div>| binding:profile       | {}                                                                                 |</div>
<div>| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                     |</div>
<div>| binding:vif_type      | ovs                                                                                |</div>
<div>| binding:vnic_type     | normal                                                                             |</div>
<div>| device_id             | dhcp7b60c1d9-602e-5110-8c89-a9475b89732c-cc3ef6ae-7015-49cb-8b0d-49d7acd60601      |</div>
<div>| device_owner          | network:dhcp                                                                       |</div>
<div>| extra_dhcp_opts       |                                                                                    |</div>
<div>| fixed_ips             | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.3"} |</div>
<div>| id                    | 18af3bf9-300d-477a-b38e-9cfd49bf152f                                               |</div>
<div>| mac_address           | fa:16:3e:fa:f3:93                                                                  |</div>
<div>| name                  |                                                                                    |</div>
<div>| network_id            | cc3ef6ae-7015-49cb-8b0d-49d7acd60601                                               |</div>
<div>| security_groups       |                                                                                    |</div>
<div>| status                | ACTIVE                                                                             |</div>
<div>| tenant_id             | e550fba3fa3743b0930c35d9b90f02e4                                                   |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# </div>
<div>root@network:/etc# neutron port-show da78d28b-3d76-4b6c-a19d-755e6e4a4f4e</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                              |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                               |</div>
<div>| allowed_address_pairs |                                                                                    |</div>
<div>| binding:host_id       | compute1                                                                           |</div>
<div>| binding:profile       | {}                                                                                 |</div>
<div>| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                     |</div>
<div>| binding:vif_type      | ovs                                                                                |</div>
<div>| binding:vnic_type     | normal                                                                             |</div>
<div>| device_id             | e9c9fe44-8d55-4b92-bf50-d6d1f630fcae                                               |</div>
<div>| device_owner          | compute:None                                                                       |</div>
<div>| extra_dhcp_opts       |                                                                                    |</div>
<div>| fixed_ips             | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.4"} |</div>
<div>| id                    | da78d28b-3d76-4b6c-a19d-755e6e4a4f4e                                               |</div>
<div>| mac_address           | fa:16:3e:92:a5:5c                                                                  |</div>
<div>| name                  |                                                                                    |</div>
<div>| network_id            | cc3ef6ae-7015-49cb-8b0d-49d7acd60601                                               |</div>
<div>| security_groups       | 0fff99c8-b889-4863-8bbb-57336e060f5e                                               |</div>
<div>| status                | ACTIVE                                                                             |</div>
<div>| tenant_id             | e550fba3fa3743b0930c35d9b90f02e4                                                   |</div>
<div>+-----------------------+------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# </div>
<div>root@network:/etc# neutron port-show 971bae03-1fb9-47ec-a3fa-7a0b1803a197</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                                |</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                                 |</div>
<div>| allowed_address_pairs |                                                                                      |</div>
<div>| binding:host_id       |                                                                                      |</div>
<div>| binding:profile       | {}                                                                                   |</div>
<div>| binding:vif_details   | {}                                                                                   |</div>
<div>| binding:vif_type      | unbound                                                                              |</div>
<div>| binding:vnic_type     | normal                                                                               |</div>
<div>| device_id             | 84fa4241-4c94-4260-880c-b6092c73c4c0                                                 |</div>
<div>| device_owner          | network:router_gateway                                                               |</div>
<div>| extra_dhcp_opts       |                                                                                      |</div>
<div>| fixed_ips             | {"subnet_id": "f537da7b-9e71-4ff5-a0b5-3656c1754f26", "ip_address": "192.168.3.101"} |</div>
<div>| id                    | 971bae03-1fb9-47ec-a3fa-7a0b1803a197                                                 |</div>
<div>| mac_address           | fa:16:3e:d2:e0:b2                                                                    |</div>
<div>| name                  |                                                                                      |</div>
<div>| network_id            | 55a98729-05dd-4b73-abe2-54c13effe81e                                                 |</div>
<div>| security_groups       |                                                                                      |</div>
<div>| status                | DOWN                                                                                 |</div>
<div>| tenant_id             |                                                                                      |</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# </div>
<div>root@network:/etc# neutron port-show 84fa16ab-a507-4224-8932-f7046095a9f3</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>| Field                 | Value                                                                                |</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>| admin_state_up        | True                                                                                 |</div>
<div>| allowed_address_pairs |                                                                                      |</div>
<div>| binding:host_id       |                                                                                      |</div>
<div>| binding:profile       | {}                                                                                   |</div>
<div>| binding:vif_details   | {}                                                                                   |</div>
<div>| binding:vif_type      | unbound                                                                              |</div>
<div>| binding:vnic_type     | normal                                                                               |</div>
<div>| device_id             | 05ccb9d2-d905-4c1b-8a3a-d22e45445358                                                 |</div>
<div>| device_owner          | network:router_gateway                                                               |</div>
<div>| extra_dhcp_opts       |                                                                                      |</div>
<div>| fixed_ips             | {"subnet_id": "f537da7b-9e71-4ff5-a0b5-3656c1754f26", "ip_address": "192.168.3.102"} |</div>
<div>| id                    | 84fa16ab-a507-4224-8932-f7046095a9f3                                                 |</div>
<div>| mac_address           | fa:16:3e:85:04:3d                                                                    |</div>
<div>| name                  |                                                                                      |</div>
<div>| network_id            | 55a98729-05dd-4b73-abe2-54c13effe81e                                                 |</div>
<div>| security_groups       |                                                                                      |</div>
<div>| status                | DOWN                                                                                 |</div>
<div>| tenant_id             |                                                                                      |</div>
<div>+-----------------------+--------------------------------------------------------------------------------------+</div>
<div>root@network:/etc# </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>