<div dir="ltr"><div><div><div>I'm using openstack in oracle-linux. The external connection is done with snat. The external ip is forwarded to the internal ip.<br><br></div>You can see the rules with:<br><br>iptables -S -t nat<br>
<br></div>You can read some info here (How floating IPs work):<br><br><a href="http://www.mirantis.com/blog/configuring-floating-ip-addresses-networking-openstack-public-private-clouds/">http://www.mirantis.com/blog/configuring-floating-ip-addresses-networking-openstack-public-private-clouds/</a><br>
<br></div>Cristian Falcas<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 12:12 PM, Batsayan Das <span dir="ltr"><<a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">How does the VM's connect outside if the
external network is down? Sorry, I am not so good in networking,
it may be stupid question. </font>
<br>
<br><font face="sans-serif">Can you share your localrc file? </font>
<br><div class="im">
<br><font face="sans-serif">Regards,<br>
Batsayan Das<br>
Tata Consultancy Services<br>
Mailto: <a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a><br>
Website: </font><a href="http://www.tcs.com/" target="_blank"><font face="sans-serif">http://www.tcs.com</font></a><font face="sans-serif"><br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Consulting<br>
____________________________________________</font>
<br>
<br>
<br>
</div><table width="100%">
<tbody><tr valign="top">
<td><font color="#5f5f5f" face="sans-serif" size="1">From:</font>
</td><td><font face="sans-serif" size="1">Cristian Falcas <<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></font>
</td></tr><tr valign="top">
<td><font color="#5f5f5f" face="sans-serif" size="1">To:</font>
</td><td><font face="sans-serif" size="1">Batsayan Das <<a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a>></font>
</td></tr><tr>
<td valign="top"><font color="#5f5f5f" face="sans-serif" size="1">Cc:</font>
</td><td><font face="sans-serif" size="1"><a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a></font>
</td></tr><tr valign="top">
<td><font color="#5f5f5f" face="sans-serif" size="1">Date:</font>
</td><td><font face="sans-serif" size="1">08/06/2013 01:14 PM</font>
</td></tr><tr valign="top">
<td><font color="#5f5f5f" face="sans-serif" size="1">Subject:</font>
</td><td><font face="sans-serif" size="1">Re: [Openstack] Network setup with floating
IP</font></td></tr></tbody></table>
<br>
<hr noshade><div class="HOEnZb"><div class="h5">
<br>
<br>
<br><tt><font>external gateway is supposed to be down, I think:
I have floating IP<br>
working and the external network is down.<br>
<br>
Cristi Falcas<br>
<br>
On Tue, Aug 6, 2013 at 9:03 AM, Batsayan Das <<a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a>>
wrote:<br>
><br>
> Hello,<br>
><br>
> I am trying to deploy devstack in Dell R910 with Ubuntu 12.04 as host
OS. I<br>
> installed devstack in the scripted manner as mentioned in<br>
> </font></tt><a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/scripted-dev-installation.html" target="_blank"><tt><font>http://docs.openstack.org/trunk/openstack-compute/install/apt/content/scripted-dev-installation.html</font></tt></a><tt><font><br>
><br>
><br>
> My intention is to create CentOS VMs with following property.<br>
> 1. VMs should be able to ping each other<br>
> 2. VMs are accessible by ssh from any host in 10.135.0.XX network<br>
> 3. VMs should be connected to open internet.<br>
><br>
> To do this I am following the All-In-One: Dedicated Hardware method<br>
> mentioned in </font></tt><a href="http://devstack.org/guides/single-machine.html" target="_blank"><tt><font>http://devstack.org/guides/single-machine.html</font></tt></a><tt><font><br>
><br>
> My localrc contains the following<br>
> condor@r910:~/devstack$ cat localrc<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 quantum<br>
> # Optional, to enable tempest configuration as part of devstack<br>
> enable_service tempest<br>
> DATABASE_PASSWORD=condor<br>
> RABBIT_PASSWORD=condor<br>
> SERVICE_TOKEN=condor<br>
> SERVICE_PASSWORD=condor<br>
> ADMIN_PASSWORD=condor<br>
><br>
> HOST_IP=192.168.161.138<br>
> FLOATING_RANGE=<a href="http://192.168.161.224/28" target="_blank">192.168.161.224/28</a><br>
> FLAT_INTERFACE=eth0<br>
><br>
> Route information of the host<br>
> condor@r910:~/devstack$ route -n<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask
Flags Metric Ref Use<br>
> Iface<br>
> 0.0.0.0 10.135.0.5 0.0.0.0
UG 100 0
0 eth1<br>
> 10.0.0.0 192.168.161.225 255.255.255.0
UG 0 0 0
eth0<br>
> 10.135.0.0 0.0.0.0
255.255.255.192 U 0 0
0 eth1<br>
> 169.254.0.0 0.0.0.0 255.255.0.0
U 1000 0 0
eth0<br>
> 172.24.4.224 0.0.0.0 255.255.255.240
U 0 0 0<br>
> br-ex<br>
> 192.168.122.0 0.0.0.0 255.255.255.0
U 0 0 0<br>
> virbr0<br>
> 192.168.161.0 0.0.0.0 255.255.255.0
U 0 0 0
eth0<br>
><br>
> Devstack External Gateway interface of the router is in DOWN state.
Pls<br>
> fined the attached screen shot.<br>
><br>
> How can I make it ACTIVE state? What is the wrong I am making?<br>
><br>
> Thanks for any help.<br>
><br>
> Regards,<br>
><br>
> Batsayan Das<br>
> Tata Consultancy Services<br>
> Mailto: <a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a><br>
> Website: </font></tt><a href="http://www.tcs.com/" target="_blank"><tt><font>http://www.tcs.com</font></tt></a><tt><font><br>
> ____________________________________________<br>
> Experience certainty. IT Services<br>
>
Business Solutions<br>
>
Consulting<br>
> ____________________________________________<br>
><br>
> =====-----=====-----=====<br>
> Notice: The information contained in this e-mail<br>
> message and/or attachments to it may contain<br>
> confidential or privileged information. If you are<br>
> not the intended recipient, any dissemination, use,<br>
> review, distribution, printing or copying of the<br>
> information contained in this e-mail message<br>
> and/or attachments to it are strictly prohibited. If<br>
> you have received this communication in error,<br>
> please notify us by reply e-mail or telephone and<br>
> immediately and permanently delete the message<br>
> and any attachments. Thank you<br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><tt><font>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font><br>
> Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
> Unsubscribe : </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank"><tt><font>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</font></tt></a><tt><font><br>
><br>
</font></tt>
<br>
<br></div></div></blockquote></div><br></div>