[Openstack] No internet connection to the VMs
Giulio Vito de Musso
giulio.vito.demusso at gmail.com
Tue Oct 1 15:52:38 UTC 2013
Sorry, I re-checked this point and found out that the VM can reach the
outer world (even the Google's IP I wrote early) by using my company's
DNSs.
So, problem solved :)
Thank you very much!
2013/10/1 Giulio Vito de Musso <giulio.vito.demusso at gmail.com>
> Hi Darragh and thanks for the tip
>
> I tried this command and now the VM can ping the computers which are in
> the Devstack-machine's LAN but these one (obviously) cannot ping the VM;
> but that's not a problem.
>
> The problem is that the VM cannot ping one of the Google's IPs (74.125.224.72)
> even though it should access the Google's IP by the Devstack's IP. How can
> it be?
>
>
> 2013/10/1 Darragh O'Reilly <dara2002-openstack at yahoo.com>
>
>> Giulio,
>>
>> the packets from the instance are leaving the devstack VM with the
>> floating IP as the source address. Even if they do get out to the Internet,
>> upstream routers would not know what to do with the return packets which
>> have the floating IP as the destination address.
>>
>> Try this on the devstack VM:
>>
>> sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>>
>> Then the packets will be SNATed to the devstack VM IP before they leave.
>>
>> Re, Darragh.
>>
>> > Giulio Vito de Musso giulio.vito.demusso at gmail.com
>> > Mon Sep 30 21:31:03 UTC 2013
>> >
>> > Previous message: [Openstack] OVS bandwidth limiting
>> > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> >
>> > Hi to all,
>> >
>> > I'm facing a problem with Devstack+Neutron+LBaaS.
>> > I installed Devstack+Neutron+LBaaS onto a Ubuntu 12.04 VM adding the
>> > following lines to Devstack's localrc and then running stack.sh
>> >
>> >
>> > > disable_service n-net
>> > > enable_service q-svc
>> > > enable_service q-agt
>> > > enable_service q-dhcp
>> > > enable_service q-l3
>> > > enable_service q-meta
>> > > enable_service neutron
>> > > enable_service tempest
>> > > enable_service q-lbaas
>> >
>> >
>> > At the end of the installation I create a network with a "mySubnet"
>> subnet
>> > (with a 192.168.0.0/24 IP range and the DNS IPs set properly), a
>> > "myKeypair" keypair, a "myRouter" router and link the router to the
>> > "public" (as external gateway) and "mySubnet" networks.
>> > Then I launch a Ubuntu Cloud 12.04 VM in Horizon associating the
>> mySubnet
>> > network, the myKeypair keypair and a brand new floating IP.
>> >
>> > I can ping and SSH the VM from the Devstack machine and the VM can ping
>> the
>> > Devstack machine, the br-ex and the myRouter; the problem is that the VM
>> > cannot access the Internet.
>> > In particular, it seems that the VM cannot ping the DNS server (infact
>> it
>> > cannot resolve any Internet hostname) even though the br-ex bridge is up
>> > running.
>> >
>> > What can be the problem? I'm stuck at this point for three weeks and
>> cannot
>> > go forward in my LBaaS analysis.
>> >
>> > Thanks
>> > Giulio
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131001/436c4002/attachment.html>
More information about the Openstack
mailing list