Openstack instances can't ping to internet

asked 2019-09-30 14:38:58 -0500

sami 45215 gravatar image

I install openstack on single node using this guide https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...) (https://docs.openstack.org/install-gu...) . When I launch an instance from OpenStack, the DHCP gives it a private IP 172.30.2.107. From that instance, I can ping the OpenStack host 172.30.2.219. I can't ping any other network outside of 172.30.2.0/24 and I can't ping 8.8.8.8.

the ip addr command output :

1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 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: eth0: <broadcast,multicast,up,lower_up> mtu 9001 qdisc mq master brq49c51ee0-07 state UP group default qlen 1000 link/ether 0a:ba:5e:71:a6:f2 brd ff:ff:ff:ff:ff:ff inet6 fe80::8ba:5eff:fe71:a6f2/64 scope link valid_lft forever preferred_lft forever 3: virbr0: <no-carrier,broadcast,multicast,up> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:54:00:bd:c2:82 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 4: virbr0-nic: <broadcast,multicast> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000 link/ether 52:54:00:bd:c2:82 brd ff:ff:ff:ff:ff:ff 5: brq49c51ee0-07: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 0a:ba:5e:71:a6:f2 brd ff:ff:ff:ff:ff:ff inet 172.30.2.219/24 brd 172.30.2.255 scope global brq49c51ee0-07 valid_lft forever preferred_lft forever 6: tapdbcceff1-c4@if2: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue master brq49c51ee0-07 state UP group default qlen 1000 link/ether ce:e1:9b:7f:fd:00 brd ff:ff:ff:ff:ff:ff link-netnsid 0

edit retag flag offensive close merge delete

Comments

Where is your gateway for the 172.30.2.x network? Does that gateway have routing between the 172.30.2.x network and the internet? Can you ping 8.8.8.8 from the OpenStack host?

awalters gravatar imageawalters ( 2019-09-30 17:10:21 -0500 )edit