<div dir="ltr">Hello All,<div><br></div><div>I am using liberty on ubuntu 14.04.5. I have create a external network with flat provider . I am able to ssh into the instance. The connectivity through gateway fails and not able to connect to internet. Below are the logs. Can anyone help me out?<br><div><br></div><div><br></div><div><div>root@scm:/opt/Openstack_liberty_scripts# neutron net-list</div><div>+--------------------------------------+----------------+--------------------------------------------------+</div><div>| id                                   | name           | subnets                                          |</div><div>+--------------------------------------+----------------+--------------------------------------------------+</div><div>| 5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca | public-br-p4p1 | edc648f9-e6dc-47b2-bb44-cdfe0e8125ae <a href="http://10.0.1.0/24">10.0.1.0/24</a> |</div><div>+--------------------------------------+----------------+--------------------------------------------------+</div></div><div><br></div><div><br></div><div><div>root@scm:/opt/Openstack_liberty_scripts# neutron net-show 5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca</div><div>+---------------------------+--------------------------------------+</div><div>| Field                     | Value                                |</div><div>+---------------------------+--------------------------------------+</div><div>| admin_state_up            | True                                 |</div><div>| id                        | 5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca |</div><div>| mtu                       | 0                                    |</div><div>| name                      | public-br-p4p1                       |</div><div>| port_security_enabled     | True                                 |</div><div>|<b> provider:network_type     | flat                                 |</b></div><div><b>| provider:physical_network | public                               |</b></div><div>| provider:segmentation_id  |                                      |</div><div>|<b> router:external           | True                                 |</b></div><div>| shared                    | True                                 |</div><div>| status                    | ACTIVE                               |</div><div>| subnets                   | edc648f9-e6dc-47b2-bb44-cdfe0e8125ae |</div><div>| tenant_id                 | 541ac2769dc1487d92ac2f5c45952d51     |</div><div>+---------------------------+--------------------------------------+</div></div><div><br></div><div><div>root@scm:/opt/Openstack_liberty_scripts# neutron subnet-show edc648f9-e6dc-47b2-bb44-cdfe0e8125ae</div><div>+-------------------+----------------------------------------------+</div><div>| Field             | Value                                        |</div><div>+-------------------+----------------------------------------------+</div><div>| allocation_pools  | {"start": "10.0.1.129", "end": "10.0.1.253"} |</div><div>| cidr              | <a href="http://10.0.1.0/24">10.0.1.0/24</a>                                  |</div><div>| dns_nameservers   | 192.168.0.1                                  |</div><div>| enable_dhcp       | True                                         |</div><div>|<b> gateway_ip        | 10.0.1.1                                     |</b></div><div>| host_routes       |                                              |</div><div>| id                | edc648f9-e6dc-47b2-bb44-cdfe0e8125ae         |</div><div>| ip_version        | 4                                            |</div><div>| ipv6_address_mode |                                              |</div><div>| ipv6_ra_mode      |                                              |</div><div>| name              |                                              |</div><div>| network_id        | 5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca         |</div><div>| subnetpool_id     |                                              |</div><div>| tenant_id         | 541ac2769dc1487d92ac2f5c45952d51             |</div><div>+-------------------+----------------------------------------------+</div></div><div><br></div><div><br></div><div><div>root@scm:/opt/Openstack_liberty_scripts# neutron net-gateway-list</div><div>404 Not Found</div><div><br></div><div>The resource could not be found.</div><div><br></div><div>   </div></div><div><div>root@scm:/var/log/neutron# neutron security-group-rule-list</div><div>+--------------------------------------+----------------+-----------+-----------+---------------+------------------+</div><div>| id                                   | security_group | direction | ethertype | protocol/port | remote           |</div><div>+--------------------------------------+----------------+-----------+-----------+---------------+------------------+</div><div>| 123bbf22-7167-4851-a567-dd3425a8eb58 | default        | egress    | IPv4      | any           | any              |</div><div>| 2d685879-89c5-4b06-bf81-8f7a2a7d293f | default        | egress    | IPv6      | any           | any              |</div><div>| 485dd762-fa50-47ab-ab5d-2309c543232d | default        | ingress   | IPv6      | any           | default (group)  |</div><div>| a29aec70-30c8-48cc-9c09-1a92b8dbe81a | default        | ingress   | IPv4      | any           | default (group)  |</div><div>| a80f593d-145b-47c1-97be-ccf6fc66d7fb | default        | ingress   | IPv4      | 22/tcp        | <a href="http://0.0.0.0/0">0.0.0.0/0</a> (CIDR) |</div><div>| a85eb9c3-1600-46cb-a03c-1a29d901164d | default        | egress    | IPv4      | any           | any              |</div><div>| af6b71fb-c6f1-4a7b-9f84-d55d4692435a | default        | ingress   | IPv4      | any           | default (group)  |</div><div>| b3eead61-4aed-4cb2-9dbb-d1aa4f2faada | default        | ingress   | IPv6      | any           | default (group)  |</div><div>| ced0f8bd-2ea8-4f06-b972-9c5c3aaa82a2 | default        | egress    | IPv6      | any           | any              |</div><div>| dfe2d997-8191-4e04-91d4-1aeb89f65493 | default        | egress    | IPv6      | any           | any              |</div><div>| e8dca531-7214-4b1d-b606-c820bdc8a9c0 | default        | egress    | IPv4      | any           | any              |</div><div>| f978f7b7-8fdc-4e90-b5ee-341744eb8115 | default        | ingress   | IPv6      | any           | default (group)  |</div><div>| ff211073-9bcf-46f4-8774-a3b2a6a8feb4 | default        | ingress   | IPv4      | icmp          | <a href="http://0.0.0.0/0">0.0.0.0/0</a> (CIDR) |</div><div>| fff866a8-22bf-400f-b9a3-80a8aa96097d | default        | ingress   | IPv4      | any           | default (group)  |</div><div>+--------------------------------------+----------------+-----------+-----------+---------------+------------------+</div><div><br></div><div><div>root@scm:/opt/Openstack_liberty_scripts# ip netns</div><div>qdhcp-5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca</div></div><div><br></div><div><br></div><div>root@scm:/var/log/neutron# ip netns exec qdhcp-6594cd7e-43bb-4e33-98af-06996e45f154  ping -c 2 -s 1450 10.0.1.130</div><div>PING 10.0.1.130 (10.0.1.130) 1450(1478) bytes of data.</div><div>1458 bytes from <a href="http://10.0.1.130">10.0.1.130</a>: icmp_seq=1 ttl=64 time=0.631 ms</div><div>1458 bytes from <a href="http://10.0.1.130">10.0.1.130</a>: icmp_seq=2 ttl=64 time=0.199 ms</div></div><div><br></div><div><br></div><div><div>oot@scm:/var/log/neutron# ip netns exec qdhcp-6594cd7e-43bb-4e33-98af-06996e45f154 ssh <a href="mailto:cirros@10.0.1.130">cirros@10.0.1.130</a></div><div>The authenticity of host '10.0.1.130 (10.0.1.130)' can't be established.</div><div>RSA key fingerprint is b8:9f:79:0c:01:f4:e7:47:7c:dd:13:e7:b2:5e:82:2f.</div><div>Are you sure you want to continue connecting (yes/no)? yes</div><div>Warning: Permanently added '10.0.1.130' (RSA) to the list of known hosts.</div><div><a href="mailto:cirros@10.0.1.130">cirros@10.0.1.130</a>'s password: </div><div>$ ip a</div><div>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue </div><div>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</div><div>    inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo</div><div>    inet6 ::1/128 scope host </div><div>       valid_lft forever preferred_lft forever</div><div>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast qlen 1000</div><div>    link/ether fa:16:3e:73:c2:89 brd ff:ff:ff:ff:ff:ff</div><div>    inet <a href="http://10.0.1.130/24">10.0.1.130/24</a> brd 10.0.1.255 scope global eth0</div><div>    inet6 fe80::f816:3eff:fe73:c289/64 scope link </div><div>       valid_lft forever preferred_lft forever</div><div>$ ping 10.0.1.130</div><div>PING 10.0.1.130 (10.0.1.130): 56 data bytes</div><div>64 bytes from <a href="http://10.0.1.130">10.0.1.130</a>: seq=0 ttl=64 time=0.047 ms</div><div>64 bytes from <a href="http://10.0.1.130">10.0.1.130</a>: seq=1 ttl=64 time=0.053 ms</div><div>64 bytes from <a href="http://10.0.1.130">10.0.1.130</a>: seq=2 ttl=64 time=0.052 ms</div><div>^C</div><div>--- 10.0.1.130 ping statistics ---</div></div><div><br></div><div><br></div><div>i am able to shh adn ping in the VM, But ping to gateway fails.</div><div><br></div><div><div><b>root@scm:/etc/neutron# ip netns exec qdhcp-5b2d3934-d07f-4d19-9ffc-6be5ed83c7ca ping 10.0.1.1</b></div><div><b>PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data.</b></div><div><b>From 10.0.1.129 icmp_seq=1 Destination Host Unreachable</b></div><div><b>From 10.0.1.129 icmp_seq=2 Destination Host Unreachable</b></div><div><b>From 10.0.1.129 icmp_seq=3 Destination Host Unreachable</b></div></div><div><br></div></div></div>