<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br><div class="iNotesHistory iNotesForward" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;"><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">Hi all, <br><br>I have devstack setup which of newton version. (Lab setup)<br><br>Issue : cannot ping or ssh to floating ip assigned to instance(Security groups are allowed). <br><br>172.16.73.0/24 is the external network or lab network.<br><br>neutron net-list<br>+--------------------------------------+----------+-----------------------------------------------------+<br>| id | name | subnets |<br>+--------------------------------------+----------+-----------------------------------------------------+<br>| ccdb22fe-8bae-4378-9b47-82c04a16186e | ext-net | af84a87f-ce6f-4da3-a6bb-5238e97cabd4 172.16.73.0/24 |<br>| e5999086-9fb1-403b-9273-7bb218ceebe8 | demo-net | 734e5660-807b-4038-9a86-096889f5d188 10.10.1.0/24 |<br>+--------------------------------------+----------+-----------------------------------------------------+<br><br>neutron net-show e5999086-9fb1-403b-9273-7bb218ceebe8<br>+---------------------------+--------------------------------------+<br>| Field | Value |<br>+---------------------------+--------------------------------------+<br>| admin_state_up | True |<br>| availability_zone_hints | |<br>| availability_zones | nova |<br>| created_at | 2016-12-12T13:16:49Z |<br>| description | |<br>| id | e5999086-9fb1-403b-9273-7bb218ceebe8 |<br>| ipv4_address_scope | |<br>| ipv6_address_scope | |<br>| mtu | 1450 |<br>| name | demo-net |<br>| port_security_enabled | True |<br>| project_id | 03959ecbd383459eaf5d5389ab4372ac |<br>| provider:network_type | vxlan |<br>| provider:physical_network | |<br>| provider:segmentation_id | 61 |<br>| revision_number | 5 |<br>| router:external | False |<br>| shared | False |<br>| status | ACTIVE |<br>| subnets | 734e5660-807b-4038-9a86-096889f5d188 |<br>| tags | |<br>| tenant_id | 03959ecbd383459eaf5d5389ab4372ac |<br>| updated_at | 2016-12-12T13:17:31Z |<br>+---------------------------+--------------------------------------+<br><br><br>neutron net-list <br>+--------------------------------------+----------+-----------------------------------------------------+<br>| id | name | subnets |<br>+--------------------------------------+----------+-----------------------------------------------------+<br>| ccdb22fe-8bae-4378-9b47-82c04a16186e | ext-net | af84a87f-ce6f-4da3-a6bb-5238e97cabd4 172.16.73.0/24 |<br>| e5999086-9fb1-403b-9273-7bb218ceebe8 | demo-net | 734e5660-807b-4038-9a86-096889f5d188 10.10.1.0/24 |<br>+--------------------------------------+----------+-----------------------------------------------------+<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ neutron router-list <br>+--------------------------------------+-------------+-----------------------------------------------------+-------------+-------+<br>| id | name | external_gateway_info | distributed | ha |<br>+--------------------------------------+-------------+-----------------------------------------------------+-------------+-------+<br>| ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 | demo-router | {"network_id": "ccdb22fe- | False | False |<br>| | | 8bae-4378-9b47-82c04a16186e", "enable_snat": true, | | |<br>| | | "external_fixed_ips": [{"subnet_id": "af84a87f- | | |<br>| | | ce6f-4da3-a6bb-5238e97cabd4", "ip_address": | | |<br>| | | "172.16.73.247"}]} | | |<br>+--------------------------------------+-------------+-----------------------------------------------------+-------------+-------+<br><br><br><div><font size="2" face="Courier New,Courier,monospace"><code><span class="com">nova floating-ip-list <br>WARNING: Command floating-ip-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-neutronclient or python-openstackclient instead.<br>+--------------------------------------+---------------+--------------------------------------+-----------+---------+<br>| Id | IP | Server Id | Fixed IP | Pool |<br>+--------------------------------------+---------------+--------------------------------------+-----------+---------+<br>| 7a5c87ca-d9e1-4340-91b0-3783f946f731 | 172.16.73.242 | f2878936-9938-4e81-8fd5-828ca68d1d3b | 10.10.1.5 | ext-net |<br>+--------------------------------------+---------------+--------------------------------------+-----------+---------+<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ nova list <br>+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+<br>| ID | Name | Status | Task State | Power State | Networks |<br>+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+<br>| f2878936-9938-4e81-8fd5-828ca68d1d3b | test_cirr | ACTIVE | - | Running | demo-net=10.10.1.5, 172.16.73.242 |<br>+--------------------------------------+-----------+--------+------------+-------------+-----------------------------------+<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ ping 172.16.73.242<br>PING 172.16.73.242 (172.16.73.242) 56(84) bytes of data.<br>From 172.16.73.55 icmp_seq=1 Destination Host Unreachable<br>From 172.16.73.55 icmp_seq=2 Destination Host Unreachable<br>From 172.16.73.55 icmp_seq=3 Destination Host Unreachable<br>^C<br>--- 172.16.73.242 ping statistics ---<br>4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3016ms<br>pipe 3<br><br><br>ip netns <br>qrouter-ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5<br>qdhcp-e5999086-9fb1-403b-9273-7bb218ceebe8<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ sudo ip netns exec qrouter-ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 ifconfig -a<br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:65536 Metric:1<br> RX packets:10 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:10 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:1008 (1.0 KB) TX bytes:1008 (1.0 KB)<br><br>qg-3eab0d31-a5 Link encap:Ethernet HWaddr fa:16:3e:a9:96:30 <br> inet addr:172.16.73.247 Bcast:172.16.73.255 Mask:255.255.255.0<br> inet6 addr: fe80::f816:3eff:fea9:9630/64 Scope:Link<br> UP BROADCAST RUNNING MTU:1500 Metric:1<br> RX packets:76 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:38 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:25992 (25.9 KB) TX bytes:2112 (2.1 KB)<br><br>qr-e87b6f5b-f7 Link encap:Ethernet HWaddr fa:16:3e:e1:c0:29 <br> inet addr:10.10.1.1 Bcast:10.10.1.255 Mask:255.255.255.0<br> inet6 addr: fe80::f816:3eff:fee1:c029/64 Scope:Link<br> UP BROADCAST RUNNING MTU:1450 Metric:1<br> RX packets:118 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:90 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:11251 (11.2 KB) TX bytes:8442 (8.4 KB)<br><br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ sudo ip netns exec qdhcp-e5999086-9fb1-403b-9273-7bb218ceebe8 ifconfig -a<br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:65536 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br><br>tap0bc58d9f-af Link encap:Ethernet HWaddr fa:16:3e:51:b8:99 <br> inet addr:10.10.1.2 Bcast:10.10.1.255 Mask:255.255.255.0<br> inet6 addr: fe80::f816:3eff:fe51:b899/64 Scope:Link<br> UP BROADCAST RUNNING MTU:1450 Metric:1<br> RX packets:30 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:28 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:2858 (2.8 KB) TX bytes:2719 (2.7 KB)<br><br><br>sudo ip netns exec qdhcp-e5999086-9fb1-403b-9273-7bb218ceebe8 ping 10.10.1.2PING 10.10.1.2 (10.10.1.2) 56(84) bytes of data.<br>64 bytes from 10.10.1.2: icmp_seq=1 ttl=64 time=0.040 ms<br>64 bytes from 10.10.1.2: icmp_seq=2 ttl=64 time=0.036 ms<br>^C<br>--- 10.10.1.2 ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>rtt min/avg/max/mdev = 0.036/0.038/0.040/0.002 ms<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ sudo ip netns exec qdhcp-e5999086-9fb1-403b-9273-7bb218ceebe8 ping 172.16.73.247<br>PING 172.16.73.247 (172.16.73.247) 56(84) bytes of data.<br>64 bytes from 172.16.73.247: icmp_seq=1 ttl=64 time=0.253 ms<br>64 bytes from 172.16.73.247: icmp_seq=2 ttl=64 time=0.295 ms<br>^C<br>--- 172.16.73.247 ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>rtt min/avg/max/mdev = 0.253/0.274/0.295/0.021 ms<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ sudo ip netns exec qrouter-ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 ping 10.10.1.2 <br>PING 10.10.1.2 (10.10.1.2) 56(84) bytes of data.<br>64 bytes from 10.10.1.2: icmp_seq=1 ttl=64 time=0.264 ms<br>64 bytes from 10.10.1.2: icmp_seq=2 ttl=64 time=0.061 ms<br>^C<br>--- 10.10.1.2 ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>rtt min/avg/max/mdev = 0.061/0.162/0.264/0.102 ms<br>ubuntu@ubuntu-HP-Compaq-Elite-8300-SFF:/etc/neutron/plugins/ml2$ sudo ip netns exec qrouter-ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 ping 172.16.73.247<br>PING 172.16.73.247 (172.16.73.247) 56(84) bytes of data.<br>64 bytes from 172.16.73.247: icmp_seq=1 ttl=64 time=0.041 ms<br>64 bytes from 172.16.73.247: icmp_seq=2 ttl=64 time=0.049 ms<br>^C<br>--- 172.16.73.247 ping statistics ---<br>2 packets transmitted, 2 received, 0% packet loss, time 999ms<br>rtt min/avg/max/mdev = 0.041/0.045/0.049/0.004 ms<br><br></span></code></font></div>IMPORTANT : <br><br>sudo ip netns exec qrouter-ce901ef7-60cd-4d88-828a-3bb5a7e3c9d5 ping 172.16.73.1<br>PING 172.16.73.1 (172.16.73.1) 56(84) bytes of data.<br><br>From 172.16.73.247 icmp_seq=1 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=2 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=3 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=4 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=5 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=6 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=7 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=8 Destination Host Unreachable<br>From 172.16.73.247 icmp_seq=9 Destination Host Unreachable<br><br><br>ip r<br>default via 172.16.73.1 dev eth0 <br>default dev br-int scope link metric 1037 <br>default dev br-ex scope link metric 1038 <br>default dev br-tun scope link metric 1039 <br>169.254.0.0/16 dev br-tun proto kernel scope link src 169.254.6.191 <br>169.254.0.0/16 dev br-ex proto kernel scope link src 169.254.8.54 <br>169.254.0.0/16 dev br-int proto kernel scope link src 169.254.6.25 <br>172.16.73.0/24 dev eth0 proto kernel scope link src 172.16.73.55 <br>192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 <br><br>ovs-vsctl show<br><br>sudo ovs-vsctl show <br>c7c1de41-26ab-42c0-8db5-d805133bb801<br> Manager "ptcp:6640:127.0.0.1"<br> is_connected: true<br> Bridge br-int<br> Controller "tcp:127.0.0.1:6633"<br> is_connected: true<br> fail_mode: secure<br> Port "tap0bc58d9f-af"<br> tag: 41<br> Interface "tap0bc58d9f-af"<br> type: internal<br> Port "qg-3eab0d31-a5"<br> tag: 42<br> Interface "qg-3eab0d31-a5"<br> type: internal<br> Port int-br-ex<br> Interface int-br-ex<br> type: patch<br> options: {peer=phy-br-ex}<br> Port "qvoc32c7705-21"<br> tag: 41<br> Interface "qvoc32c7705-21"<br> Port br-int<br> Interface br-int<br> type: internal<br> Port "qr-e87b6f5b-f7"<br> tag: 41<br> Interface "qr-e87b6f5b-f7"<br> type: internal<br> Port patch-tun<br> Interface patch-tun<br> type: patch<br> options: {peer=patch-int}<br> Bridge br-ex<br> Controller "tcp:127.0.0.1:6633"<br> is_connected: true<br> fail_mode: secure<br> Port br-ex<br> Interface br-ex<br> type: internal<br> Port phy-br-ex<br> Interface phy-br-ex<br> type: patch<br> options: {peer=int-br-ex}<br> Bridge br-tun<br> Controller "tcp:127.0.0.1:6633"<br> is_connected: true<br> fail_mode: secure<br> Port br-tun<br> Interface br-tun<br> type: internal<br> Port patch-int<br> Interface patch-int<br> type: patch<br> options: {peer=patch-tun}<br> ovs_version: "2.0.2"<br><br><br>Unable to ping the gateway of external network from router namesapce. 172.16.73.1 is the gateway of public network. Please reply if you need any info. <br><br>Please help. thanks in advance. <br><br>regards<br>Shanker <br><br></font>
</div></div></font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<p></p>