Can not ping external gateway, Desperated!

asked 2016-07-18 10:52:15 -0500

alessandro gravatar image

Hello

I very need your help!!

I'm following the Official OpenStack Mitaka guide (DVR mode). So I have 3 nodes: Controller, Network and Compute.

The problem is that I can't ping the external gateway from network node: Here the routing table of Network node:

Here my Network node, its namespaces and snat's routing table:

network@Network:~$ ip netns qdhcp-e783942b-d606-4cec-933c-f49032a68504 snat-8a9bcd73-338b-4083-90bf-669220144957 qrouter-8a9bcd73-338b-4083-90bf-669220144957

network@Network:~$ sudo ip netns exec snat-8a9bcd73-338b-4083-90bf-669220144957 route -n Tabella di routing IP del kernel Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.116.254 0.0.0.0 UG 0 0 0 qg-3c6f53fe-de 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 sg-6e48eefc-62 192.168.116.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-3c6f53fe-de

I'm trying to ping the tenant router interface and I can do it!

network@Network:~$ sudo ip netns exec snat-8a9bcd73-338b-4083-90bf-669220144957 ping 192.168.116.101 PING 192.168.116.101 (192.168.116.101) 56(84) bytes of data. 64 bytes from 192.168.116.101: icmp_seq=1 ttl=64 time=0.115 ms 64 bytes from 192.168.116.101: icmp_seq=2 ttl=64 time=0.089 ms 64 bytes from 192.168.116.101: icmp_seq=3 ttl=64 time=0.089 ms

I'm trying to ping external router interface...but I can't

network@Network:~$ sudo ip netns exec snat-8a9bcd73-338b-4083-90bf-669220144957 ping 192.168.116.254 PING 192.168.116.254 (192.168.116.254) 56(84) bytes of data. From 192.168.116.101 icmp_seq=1 Destination Host Unreachable From 192.168.116.101 icmp_seq=2 Destination Host Unreachable From 192.168.116.101 icmp_seq=3 Destination Host Unreachable

Here my etc/network/interfaces

auto eth0 iface eth0 inet manual up ip link set $IFACE up down ip link set $IFACE down

auto br-ex iface br-ex inet static address 192.168.116.2 netmask 255.255.255.0 network 192.168.116.0 broadcast 192.168.116.255 gateway 192.168.116.254 dns-nameservers 8.8.8.8

auto eth1 iface eth1 inet static address 172.16.0.10 netmask 255.255.255.0 network 172.16.0.0 broadcast 172.16.0.255

Enabling Floating Ip things are different:

Namespaces of Compute node

oscompute@OpenstackCompute:/etc/neutron/plugins/ml2$ ip netns fip-7b8f3cf4-19d0-447e-972b-ec4e0d141a43 qrouter-8a9bcd73-338b-4083-90bf-669220144957

Pinging Google...

oscompute@OpenstackCompute:/etc/neutron/plugins/ml2$ sudo ip netns exec fip-7b8f3cf4-19d0-447e-972b-ec4e0d141a43 ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=44 time=48.5 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=44 time=47.1 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=44 time=46.6 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=44 time=46.8 ms

Please, help...

edit retag flag offensive close merge delete