# Revision history [back]

I ended up defining a gateway inside FLOATING_RANGE subnet.

LOATING_RANGE=172.16.49.32/27
PUBLIC_NETWORK_GATEWAY=172.16.49.33


Then I had to check the default security group to have access to VMs. And finally, I added in the devstack host an IPtables rule for Internet access in the VMs as pointed out in several websites:

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE


Thanks,

I ended up defining a gateway inside FLOATING_RANGE subnet.

LOATING_RANGE=172.16.49.32/27
FLOATING_RANGE=172.16.49.32/27
PUBLIC_NETWORK_GATEWAY=172.16.49.33


Then I had to check the default security group to have access to VMs. And finally, I added in the devstack host an IPtables rule for Internet access in the VMs as pointed out in several websites:

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE


Thanks,