[Openstack] Can't ping vm to google

Vishvananda Ishaya vishvananda at gmail.com
Fri Sep 28 16:43:30 UTC 2012


On Sep 28, 2012, at 6:58 AM, Jon Thomas <jthomas at redhat.com> wrote:

> This appears to be fixed with 
> 
> iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
> 
> so basically set up nat on the outbound interface. I guess nova-network
> doesn't set this up? 

No, nova does not set up masquerade; It uses snatting. If you have more than one interface, it probably is using the wrong ip for snatting.

Instead of the masquerade, you probably just need
routing_source_ip=<ip_on_wlan_interface>

In your nova.conf file

and restart nova-network

Vish



More information about the Openstack mailing list