instances have no internet access

asked 2017-03-22 17:51:26 -0600

dimgr gravatar image

Hello , this is going to be a long post so bear with me . I have set up openstack in 6 hosts using the ansible role , Ocata release.

each host has 2 nic , eth0 with public ip and eth1 routed to an unmanaged switch. Basically all eth1 cards from all hosts are connected to a switch to make a lan .

This is the interfaces file from one of the hosts :

all other hosts are following the same interfaces file syntax with only differences the ip addresses

so far we are good.

i have created provider and external networks and a router - so far so good i have created multiple instances , all receive a private ip and i can ping and ssh in them , using the private ip. I also have a floating ip /27 available and managed to associate a floating ip to one instance . still no pings or ssh

but for the life of me i can not figure out why they do not have internet access. i have tried with iptables the below examples : iptables -A FORWARD --in-interface br-vlan -j ACCEPT and iptables --table nat -A POSTROUTING --out-interface eth0 -j MASQUERADE

but no internet in the instances

can someone help? thanks

edit retag flag offensive close merge delete


Useful resources: Operations guide and Networking guide.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-23 02:49:56 -0600 )edit