VMs unable to connect to Internet

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

anonymous user

Anonymous

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.

   allow_same_net_traffic=False
   multi_host=True
   flat_interface=eth0
   flat_network_bridge=br100
   public_interface=eth0

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 (74.125.232.135) 56(84) bytes of data.
            From 10.0.0.1: icmp_seq=2 Redirect Host(New nexthop: 10.11.71.1)
            From 10.0.0.1: icmp_seq=3 Redirect Host(New nexthop: 10.11.71.1)
            From 10.0.0.1: icmp_seq=4 Redirect Host(New nexthop: 10.11.71.1)

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

and this is the route -n of my VM

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
    0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0

May i know where it could have went wrong?

Using:

Openstack Havana Centos 64 bit 6.5 nova-network

Thanks in advance

edit retag flag offensive close merge delete

Comments

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 -0600 )edit

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

Nivas gravatar imageNivas ( 2014-06-26 10:14:41 -0600 )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 -0600 )edit