Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Provider Network IP Not reachable on Router

Hi,

I have configured Openstack on 2 VM. The first VM contains the Controller and Network components where as the second VM contains the compute note. I have followed step to step guide to install opnestack on centos 7 from the Openstack site. The issue is I am able to create networks/routers/instances but bot able to ping the external IP of the router, where as I am able to ping the internal IP of the router from the instances.

Controller: 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eno16777736: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:90:fe:2b brd ff:ff:ff:ff:ff:ff inet 172.25.3.131/24 brd 172.25.3.255 scope global eno16777736 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe90:fe2b/64 scope link valid_lft forever preferred_lft forever 3: eno33554960: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 00:0c:29:90:fe:35 brd ff:ff:ff:ff:ff:ff 6: tap0913edb7-36@if2: <broadcast,multicast,up,lower_up> mtu 1450 qdisc pfifo_fast master brq9cce9342-99 state UP qlen 1000 link/ether 7a:a6:31:26:6f:e2 brd ff:ff:ff:ff:ff:ff link-netnsid 1 7: vxlan-94: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue master brq9cce9342-99 state UNKNOWN link/ether fa:62:df:5c:00:75 brd ff:ff:ff:ff:ff:ff 8: brq9cce9342-99: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue state UP link/ether 02:0e:31:83:6a:b3 brd ff:ff:ff:ff:ff:ff 12: tapf0390fb0-e0@if2: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 3a:d1:10:58:9b:a5 brd ff:ff:ff:ff:ff:ff link-netnsid 0 13: brq7e572d3c-2c: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether 00:0c:29:90:fe:35 brd ff:ff:ff:ff:ff:ff 14: tapc3dfd199-54@if2: <broadcast,multicast,up,lower_up> mtu 1450 qdisc pfifo_fast master brq9cce9342-99 state UP qlen 1000 link/ether 02:0e:31:83:6a:b3 brd ff:ff:ff:ff:ff:ff link-netnsid 2 15: tapc5cf1d21-4c@if3: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master brq7e572d3c-2c state UP qlen 1000 link/ether 12:4b:b1:15:69:1e brd ff:ff:ff:ff:ff:ff link-netnsid 2

[root@controller ~]# neutron router-port-list router +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+ | c3dfd199-5476-49e1-a345-a3d8fe25448f | | fa:16:3e:3e:37:53 | {"subnet_id": "4ce46c2f-cbd7-4617-8b6c-ce100dccd8ee", "ip_address": "192.168.10.1"} | | c5cf1d21-4c2d-41b3-a48c-d3e046ecc2ff | | fa:16:3e:57:b8:d8 | {"subnet_id": "d5ad636a-3ed6-4fd4-922c-8ce394daccc6", "ip_address": "172.25.3.210"} | +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+

[root@controller ~]# ip netns qrouter-0f0efb3b-338c-49b4-9990-9891d88d90e7 (id: 2) qdhcp-7e572d3c-2c72-48df-83ec-ae94b70bb779 (id: 0) qdhcp-9cce9342-993b-418a-a232-cbe92c91971b (id: 1)

[root@controller ~]# neutron net-show provider +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2017-01-31T17:02:41Z | | description | | | id | 7e572d3c-2c72-48df-83ec-ae94b70bb779 | | ipv4_address_scope | | | ipv6_address_scope | | | is_default | False | | mtu | 1500 | | name | provider | | port_security_enabled | True | | project_id | 8ca90c61023e4130875bd34e03453d8f | | provider:network_type | flat | | provider:physical_network | provider | | provider:segmentation_id | | | revision_number | 5 | | router:external | True | | shared | True | | status | ACTIVE | | subnets | d5ad636a-3ed6-4fd4-922c-8ce394daccc6 | | tags | | | tenant_id | 8ca90c61023e4130875bd34e03453d8f | | updated_at | 2017-01-31T17:06:13Z | +---------------------------+--------------------------------------+

[root@controller ~]# neutron net-show selfservice +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2017-01-31T16:13:51Z | | description | | | id | 9cce9342-993b-418a-a232-cbe92c91971b | | ipv4_address_scope | | | ipv6_address_scope | | | mtu | 1450 | | name | selfservice | | port_security_enabled | True | | project_id | 613d81b2470a47a18af22d79a072c8d0 | | provider:network_type | vxlan | | provider:physical_network | | | provider:segmentation_id | 94 | | revision_number | 5 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | 4ce46c2f-cbd7-4617-8b6c-ce100dccd8ee | | tags | | | tenant_id | 613d81b2470a47a18af22d79a072c8d0
| updated_at | 2017-01-31T16:13:59Z | +---------------------------+--------------------------------------+

Compute: [root@compute ~]# ip a 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eno16777736: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:7e:d4:d8 brd ff:ff:ff:ff:ff:ff inet 172.25.3.132/24 brd 172.25.3.255 scope global eno16777736 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe7e:d4d8/64 scope link valid_lft forever preferred_lft forever 3: eno33554960: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:0c:29:7e:d4:e2 brd ff:ff:ff:ff:ff:ff inet6 fe80::20c:29ff:fe7e:d4e2/64 scope link valid_lft forever preferred_lft forever