<div dir="ltr">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.<div><br></div><div>So, problem solved :)</div><div>
<br></div><div>Thank you very much!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/1 Giulio Vito de Musso <span dir="ltr"><<a href="mailto:giulio.vito.demusso@gmail.com" target="_blank">giulio.vito.demusso@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Darragh and thanks for the tip<div><br></div><div>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.</div>
<div><br></div><div><font face="arial, helvetica, sans-serif">The problem is that the VM cannot ping one of the Google's IPs (<span style="text-decoration:inherit;color:rgb(51,51,51);line-height:10.285714149475098px">74.125.224.72) even though it should access the Google's IP by the Devstack's IP. How can it be?</span></font></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/1 Darragh O'Reilly <span dir="ltr"><<a href="mailto:dara2002-openstack@yahoo.com" target="_blank">dara2002-openstack@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Giulio,<br>
<br>
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.<br>
<br>
Try this on the devstack VM:<br>
<br>
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br>
<br>
Then the packets will be SNATed to the devstack VM IP before they leave.<br>
<br>
Re, Darragh.<br>
<br>
> Giulio Vito de Musso giulio.vito.demusso at <a href="http://gmail.com" target="_blank">gmail.com</a><br>
> Mon Sep 30 21:31:03 UTC 2013<br>
><br>
> Previous message: [Openstack] OVS bandwidth limiting<br>
> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]<br>
<div><div>><br>
> Hi to all,<br>
><br>
> I'm facing a problem with Devstack+Neutron+LBaaS.<br>
> I installed Devstack+Neutron+LBaaS onto a Ubuntu 12.04 VM adding the<br>
> following lines to Devstack's localrc and then running stack.sh<br>
><br>
><br>
> > disable_service n-net<br>
> > enable_service q-svc<br>
> > enable_service q-agt<br>
> > enable_service q-dhcp<br>
> > enable_service q-l3<br>
> > enable_service q-meta<br>
> > enable_service neutron<br>
> > enable_service tempest<br>
> > enable_service q-lbaas<br>
><br>
><br>
> At the end of the installation I create a network with a "mySubnet" subnet<br>
> (with a <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a> IP range and the DNS IPs set properly), a<br>
> "myKeypair" keypair, a "myRouter" router and link the router to the<br>
> "public" (as external gateway) and "mySubnet" networks.<br>
> Then I launch a Ubuntu Cloud 12.04 VM in Horizon associating the mySubnet<br>
> network, the myKeypair keypair and a brand new floating IP.<br>
><br>
> I can ping and SSH the VM from the Devstack machine and the VM can ping the<br>
> Devstack machine, the br-ex and the myRouter; the problem is that the VM<br>
> cannot access the Internet.<br>
> In particular, it seems that the VM cannot ping the DNS server (infact it<br>
> cannot resolve any Internet hostname) even though the br-ex bridge is up<br>
> running.<br>
><br>
> What can be the problem? I'm stuck at this point for three weeks and cannot<br>
> go forward in my LBaaS analysis.<br>
><br>
> Thanks<br>
> Giulio<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>