Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to ping out from router on public facing lan.

I have a pack stack allinone install running in side a kvm virtual.

network setup: 10.133.152.0/24 GW 10.133.152.254

eth0 is a port on br-ex with an ip of 10.133.152.180:

Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0"

Looking at the name spaces:

[root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c 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 22: qg-121bb6e3-4a: <broadcast,multicast,up,lower_up> mtu 1450 qdisc noqueue state UNKNOWN link/ether fa:16:3e:8a:c0:7b brd ff:ff:ff:ff:ff:ff inet 10.133.152.156/24 brd 10.133.152.255 scope global qg-121bb6e3-4a valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe8a:c07b/64 scope link valid_lft forever preferred_lft forever

The router interface has ip 10.133.152.156.

[root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ifconfig qg-121bb6e3-4a qg-121bb6e3-4a: flags=4163<up,broadcast,running,multicast> mtu 1450 inet 10.133.152.156 netmask 255.255.255.0 broadcast 10.133.152.255 inet6 fe80::f816:3eff:fe8a:c07b prefixlen 64 scopeid 0x20<link> ether fa:16:3e:8a:c0:7b txqueuelen 0 (Ethernet) RX packets 2893 bytes 182573 (178.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 770 bytes 56892 (55.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@openstack2-newton ~(keystone_admin)]#

ping to 10.133.152.180 works however i'm uable to ping the external default route of 10.133.152.254. This is the public network my kvm host is connected to.

Able to ping 10.133.152.180(eth0/br-ex) from the router name space..

[root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 10.133.152.180 PING 10.133.152.180 (10.133.152.180) 56(84) bytes of data. 64 bytes from 10.133.152.180: icmp_seq=1 ttl=64 time=0.206 ms 64 bytes from 10.133.152.180: icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from 10.133.152.180: icmp_seq=3 ttl=64 time=0.039 ms

--- 10.133.152.180 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.039/0.099/0.206/0.076 ms

======

Unable to ping the default route form the router:

[root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 10.133.152.254 PING 10.133.152.254 (10.133.152.254) 56(84) bytes of data.

--- 10.133.152.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms

=======

Unable to ping google from router:

[root@va-openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 10.133.152.180: icmp_seq=2 Redirect Host(New nexthop: 10.133.152.254) From 10.133.152.180 icmp_seq=2 Redirect HostFrom 10.133.152.180 icmp_seq=3 Redirect HostFrom 10.133.152.180: icmp_seq=3 Redirect Host(New nexthop: 10.133.152.254)

--- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1999ms

From the hyper

all ping works:

[root@openstack2-newton ~(keystone_admin)]# ping -c 3 10.133.152.254 PING 10.133.152.254 (10.133.152.254) 56(84) bytes of data. 64 bytes from 10.133.152.254: icmp_seq=1 ttl=64 time=0.590 ms 64 bytes from 10.133.152.254: icmp_seq=2 ttl=64 time=0.200 ms 64 bytes from 10.133.152.254: icmp_seq=3 ttl=64 time=0.228 ms

--- 10.133.152.254 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.200/0.339/0.590/0.178 ms

[root@openstack2-newton ~(keystone_admin)]# ping -c 3 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=45 time=8.78 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=45 time=8.79 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=45 time=9.27 ms

--- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 8.783/8.950/9.270/0.226 ms [root@va-openstack2-newton ~(keystone_admin)]#

Unable to ping out from router on public facing lan.

I have a pack stack allinone install running in side a kvm virtual.

network setup: 
10.133.152.0/24 GW 10.133.152.254

10.133.152.254 eth0 is a port on br-ex with an ip of 10.133.152.180:

10.133.152.180: Bridge br-ex Port "qg-121bb6e3-4a" Interface "qg-121bb6e3-4a" type: internal Port br-ex Interface br-ex type: internal Port "qg-2991055a-c4" Interface "qg-2991055a-c4" type: internal Port "eth0" Interface "eth0"

"eth0"

Looking at the name spaces:

[root@openstack2-newton ~(keystone_admin)]# ip netns exec  qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ip a 
1: lo: <loopback,up,lower_up> <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
22: qg-121bb6e3-4a: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN 
    link/ether fa:16:3e:8a:c0:7b brd ff:ff:ff:ff:ff:ff
    inet 10.133.152.156/24 brd 10.133.152.255 scope global qg-121bb6e3-4a
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe8a:c07b/64 scope link 
       valid_lft forever preferred_lft forever

forever

The router interface has ip 10.133.152.156.

[root@openstack2-newton ~(keystone_admin)]# ip netns exec  qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ifconfig qg-121bb6e3-4a
qg-121bb6e3-4a: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
        inet 10.133.152.156  netmask 255.255.255.0  broadcast 10.133.152.255
        inet6 fe80::f816:3eff:fe8a:c07b  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:8a:c0:7b  txqueuelen 0  (Ethernet)
        RX packets 2893  bytes 182573 (178.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 770  bytes 56892 (55.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

0

[root@openstack2-newton ~(keystone_admin)]#

ping to 10.133.152.180 works  however i'm uable to ping the external default route of 10.133.152.254. This is the public network my kvm host is connected to. 

Able to ping 10.133.152.180(eth0/br-ex) from the router name space..

space.. ------ [root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 10.133.152.180 PING 10.133.152.180 (10.133.152.180) 56(84) bytes of data. 64 bytes from 10.133.152.180: icmp_seq=1 ttl=64 time=0.206 ms 64 bytes from 10.133.152.180: icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from 10.133.152.180: icmp_seq=3 ttl=64 time=0.039 ms

ms --- 10.133.152.180 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.039/0.099/0.206/0.076 ms

ms

======

Unable to ping the default route form the router:

router: ------ [root@openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 10.133.152.254 PING 10.133.152.254 (10.133.152.254) 56(84) bytes of data.

data. --- 10.133.152.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms

=======

1999ms ======= Unable to ping google from router:

router: ------------ [root@va-openstack2-newton ~(keystone_admin)]# ip netns exec qrouter-b7a6ff27-0c0a-4572-9c28-41ad9a3a4a6c ping -c 3 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 10.133.152.180: icmp_seq=2 Redirect Host(New nexthop: 10.133.152.254) From 10.133.152.180 icmp_seq=2 Redirect HostFrom 10.133.152.180 icmp_seq=3 Redirect HostFrom 10.133.152.180: icmp_seq=3 Redirect Host(New nexthop: 10.133.152.254)

10.133.152.254) --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1999ms

1999ms From the hyper

all ping works:

[root@openstack2-newton ~(keystone_admin)]# ping -c 3 10.133.152.254 PING 10.133.152.254 (10.133.152.254) 56(84) bytes of data. 64 bytes from 10.133.152.254: icmp_seq=1 ttl=64 time=0.590 ms 64 bytes from 10.133.152.254: icmp_seq=2 ttl=64 time=0.200 ms 64 bytes from 10.133.152.254: icmp_seq=3 ttl=64 time=0.228 ms

ms --- 10.133.152.254 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.200/0.339/0.590/0.178 ms

ms [root@openstack2-newton ~(keystone_admin)]# ping -c 3 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=45 time=8.78 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=45 time=8.79 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=45 time=9.27 ms

ms --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 8.783/8.950/9.270/0.226 ms [root@va-openstack2-newton ~(keystone_admin)]#

~(keystone_admin)]#