openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12840
Re: [OpenStack][Nova] Can't access the outside from inside my instances.
you can check net.ipv4.ip_forward on machine with ip interface 10.0.8.1
i think on this machine you should have nova-network ( it manages iptables
rules, brctl( bridges))
also you can use tcpdump on interface of VM to search icmp packets.
On Wed, Jun 6, 2012 at 5:34 PM, Leander Bessa Beernaert <leanderbb@xxxxxxxxx
> wrote:
>
>
> On Wed, Jun 6, 2012 at 2:33 PM, Anton Haldin <ahaldin@xxxxxxxxxxxxxxxx>wrote:
>
>> Do you have default router in VM ?
>> netstat -rn
>>
>
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 0.0.0.0 10.0.8.1 0.0.0.0 UG 0 0 0
> eth0
> 10.0.8.0 0.0.0.0 255.255.255.192 U 0 0 0
> eth0
>
>
>>
>>
>> Do you have multinode configuration ?
>>
> if all services on one node, do you have ip_forward enabled?
>> sysctl net.ipv4.ip_forward
>>
>>
>>
> I have one controller node and 4 compute nodes.
>
>
>>
>>
>> On Wed, Jun 6, 2012 at 5:16 PM, Leander Bessa Beernaert <
>> leanderbb@xxxxxxxxx> wrote:
>>
>>> This is what i find inside my vms:
>>>
>>> domain novalocal
>>>> search novalocal
>>>> nameserver 10.0.8.1
>>>
>>>
>>> I believe the name resolution is working (see output bellow from the
>>> ping command), but the vm's seem unable to access the ip.
>>>
>>>> ping www.google.com
>>>> PING www.l.google.com (74.125.230.16) 56(84) bytes of data.
>>>
>>>
>>> On Wed, Jun 6, 2012 at 2:12 PM, Anton Haldin <ahaldin@xxxxxxxxxxxxxxxx>wrote:
>>>
>>>> dns ? resolv.conf in VM
>>>>
>>>> On Wed, Jun 6, 2012 at 4:51 PM, Leander Bessa Beernaert <
>>>> leanderbb@xxxxxxxxx> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm having trouble accessing the outside world from within my
>>>>> instances. For instance, i can ping other instances on my network but i am
>>>>> unable to ping www.google.com.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Leander
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~openstack
>>>>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>> More help : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>
>
Follow ups
References