VMs unable to connect to Internet

asked 2014-06-25 11:26:51 -0500

anonymous user


Hi All, I have deployed a simple two node architecture i.e. a Compute Node and a Controller node. There are 6 VMs running inside Compute Node that was configured with FLATDHCPManager. The issue is, I have only one NIC. So in the nova.conf of the compute node, i gave same interface for "flat_interface" and "public_interface" configuration.


Now, everything works fine i.e. I can access VMs using their Public and internal IPs. But from the VM, i am unable to access internet. I gone through the iptables in the compute node and they are proper.

When i do ping from inside the VM, i am getting

            PING google.com ( 56(84) bytes of data.
            From icmp_seq=2 Redirect Host(New nexthop:
            From icmp_seq=3 Redirect Host(New nexthop:
            From icmp_seq=4 Redirect Host(New nexthop:

where is the IP of the bridge br100. I am also unable to ping from my VM.

and this is the route -n of my VM

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     0      0        0 eth0         UG    0      0        0 eth0

May i know where it could have went wrong?


Openstack Havana Centos 64 bit 6.5 nova-network

Thanks in advance

edit retag flag offensive close merge delete


it's only a guess but you might want to try it, Enable IP forwarding on the compute node echo "1" > /proc/sys/net/ipv4/ip_forward

Brenne gravatar imageBrenne ( 2014-06-26 08:19:06 -0500 )edit

i already enabled it ..but still the problem persists. thanks for your comments!

Nivas gravatar imageNivas ( 2014-06-26 10:14:41 -0500 )edit

Having exactly the same issue. In my setup controller and compute node are the same

rackerstacker gravatar imagerackerstacker ( 2016-01-29 11:12:40 -0500 )edit