[Openstack] why neutron router interfaces are done ?
James Denton
james.denton at rackspace.com
Sat Oct 4 04:15:12 UTC 2014
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.
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.
James
________________________________
From: b t [905ben at gmail.com]
Sent: Friday, October 03, 2014 8:52 PM
To: openstack at lists.openstack.org
Subject: [Openstack] why neutron router interfaces are done ?
hi,
VM works fine and can ping each other within the same project .
But VM can not ping gateway , not able to ping router external interface from external .
here is the port-show and noticed ports are down .
any idea ? thanks !
root at network:/etc# neutron port-show 7d2e7645-5a05-4eb6-ae9a-50ac627aac67
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 84fa4241-4c94-4260-880c-b6092c73c4c0 |
| device_owner | network:router_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.1"} |
| id | 7d2e7645-5a05-4eb6-ae9a-50ac627aac67 |
| mac_address | fa:16:3e:d5:41:d9 |
| name | |
| network_id | cc3ef6ae-7015-49cb-8b0d-49d7acd60601 |
| security_groups | |
| status | DOWN |
| tenant_id | e550fba3fa3743b0930c35d9b90f02e4 |
+-----------------------+------------------------------------------------------------------------------------+
root at network:/etc# neutron port-show 22495eeb-0856-4cd0-b8f5-55d9500b61f5
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | compute1 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | c66f0ddf-3209-46c0-b21c-55cfee02d115 |
| device_owner | compute:None |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.2"} |
| id | 22495eeb-0856-4cd0-b8f5-55d9500b61f5 |
| mac_address | fa:16:3e:73:36:97 |
| name | |
| network_id | cc3ef6ae-7015-49cb-8b0d-49d7acd60601 |
| security_groups | 0fff99c8-b889-4863-8bbb-57336e060f5e |
| status | ACTIVE |
| tenant_id | e550fba3fa3743b0930c35d9b90f02e4 |
+-----------------------+------------------------------------------------------------------------------------+
root at network:/etc# neutron port-show 18af3bf9-300d-477a-b38e-9cfd49bf152f
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | network |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | dhcp7b60c1d9-602e-5110-8c89-a9475b89732c-cc3ef6ae-7015-49cb-8b0d-49d7acd60601 |
| device_owner | network:dhcp |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.3"} |
| id | 18af3bf9-300d-477a-b38e-9cfd49bf152f |
| mac_address | fa:16:3e:fa:f3:93 |
| name | |
| network_id | cc3ef6ae-7015-49cb-8b0d-49d7acd60601 |
| security_groups | |
| status | ACTIVE |
| tenant_id | e550fba3fa3743b0930c35d9b90f02e4 |
+-----------------------+------------------------------------------------------------------------------------+
root at network:/etc#
root at network:/etc# neutron port-show da78d28b-3d76-4b6c-a19d-755e6e4a4f4e
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | compute1 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | e9c9fe44-8d55-4b92-bf50-d6d1f630fcae |
| device_owner | compute:None |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "b3ccfebb-7e08-46b3-9836-0af30242e139", "ip_address": "192.168.4.4"} |
| id | da78d28b-3d76-4b6c-a19d-755e6e4a4f4e |
| mac_address | fa:16:3e:92:a5:5c |
| name | |
| network_id | cc3ef6ae-7015-49cb-8b0d-49d7acd60601 |
| security_groups | 0fff99c8-b889-4863-8bbb-57336e060f5e |
| status | ACTIVE |
| tenant_id | e550fba3fa3743b0930c35d9b90f02e4 |
+-----------------------+------------------------------------------------------------------------------------+
root at network:/etc#
root at network:/etc# neutron port-show 971bae03-1fb9-47ec-a3fa-7a0b1803a197
+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 84fa4241-4c94-4260-880c-b6092c73c4c0 |
| device_owner | network:router_gateway |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "f537da7b-9e71-4ff5-a0b5-3656c1754f26", "ip_address": "192.168.3.101"} |
| id | 971bae03-1fb9-47ec-a3fa-7a0b1803a197 |
| mac_address | fa:16:3e:d2:e0:b2 |
| name | |
| network_id | 55a98729-05dd-4b73-abe2-54c13effe81e |
| security_groups | |
| status | DOWN |
| tenant_id | |
+-----------------------+--------------------------------------------------------------------------------------+
root at network:/etc#
root at network:/etc# neutron port-show 84fa16ab-a507-4224-8932-f7046095a9f3
+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 05ccb9d2-d905-4c1b-8a3a-d22e45445358 |
| device_owner | network:router_gateway |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "f537da7b-9e71-4ff5-a0b5-3656c1754f26", "ip_address": "192.168.3.102"} |
| id | 84fa16ab-a507-4224-8932-f7046095a9f3 |
| mac_address | fa:16:3e:85:04:3d |
| name | |
| network_id | 55a98729-05dd-4b73-abe2-54c13effe81e |
| security_groups | |
| status | DOWN |
| tenant_id | |
+-----------------------+--------------------------------------------------------------------------------------+
root at network:/etc#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141004/07e345d5/attachment.html>
More information about the Openstack
mailing list