<div dir="ltr">Forgive my ignorance, but I would like to make sure that packets generated from Openstack instances on neutron private networks will actually be able to reach public addresses.<div><br></div><div>In its default configuration the traffic from the OS instance is SNATed and the SRC IP will be rewritten to an address in the neutron's public network range (<a href="http://172.24.4.224/28">172.24.4.224/28</a> by default). If the OS instance is trying to reach a public server like <a href="http://www.google.com">www.google.com</a>, then, assuming ip_forward is enabled on the devstack-gate VM, the traffic should be forwarded via the default route with a src IP of <a href="http://172.24.4.224/28">172.24.4.224/28</a>.</div>
<div><br></div><div>If the above is correct, will it be possible for the IP traffic to be correctly routed back to the Openstack instance?</div><div><br></div><div>Regards,</div><div>Salvatore</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 20 November 2013 23:17, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-11-20 14:07:49 -0800 (-0800), Sean Dague wrote:<br>
> On 11/18/2013 02:41 AM, Yair Fried wrote:<br>
</div>> [...]<br>
<div class="im">> > 2. add fields in tempest.conf for<br>
> > * external connectivity = False/True<br>
> > * external ip to test against (ie 8.8.8.8)<br>
><br>
> +1 for #2. In the gate we'll need to think about what that address<br>
> can / should be. It may be different between different AZs. At this<br>
> point I'd leave the rest of the options off the table until #2 is<br>
> working reliably.<br>
</div>[...]<br>
<br>
Having gone down this path in the past, I suggest the test check for<br>
no fewer than three addresses, sending several probes to each, and<br>
be considered successful if at least one gets a response.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Jeremy Stanley<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>