[Openstack] Network setup with floating IP

Cristian Falcas cristi.falcas at gmail.com
Tue Aug 6 09:46:44 UTC 2013


I'm using openstack in oracle-linux. The external connection is done with
snat. The external ip is forwarded to the internal ip.

You can see the rules with:

iptables -S -t nat

You can read some info here (How floating IPs work):

http://www.mirantis.com/blog/configuring-floating-ip-addresses-networking-openstack-public-private-clouds/

Cristian Falcas



On Tue, Aug 6, 2013 at 12:12 PM, Batsayan Das <batsayan.das at tcs.com> wrote:

> 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.
>
> Can you share your localrc file?
>
> Regards,
> Batsayan Das
> Tata Consultancy Services
> Mailto: batsayan.das at tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                        Business Solutions
>                        Consulting
> ____________________________________________
>
>
>  From: Cristian Falcas <cristi.falcas at gmail.com> To: Batsayan Das <
> batsayan.das at tcs.com> Cc: openstack at lists.openstack.org Date: 08/06/2013
> 01:14 PM Subject: Re: [Openstack] Network setup with floating IP
> ------------------------------
>
>
>
> external gateway is supposed to be down, I think: I have floating IP
> working and the external network is down.
>
> Cristi Falcas
>
> On Tue, Aug 6, 2013 at 9:03 AM, Batsayan Das <batsayan.das at tcs.com> wrote:
> >
> > Hello,
> >
> > I am trying to deploy devstack in Dell R910 with Ubuntu 12.04 as host
> OS. I
> > installed devstack in the scripted manner as mentioned in
> >
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/scripted-dev-installation.html
> >
> >
> > My intention is to create CentOS VMs with following property.
> > 1. VMs should be able to ping each other
> > 2. VMs are accessible by ssh from any host in 10.135.0.XX network
> > 3. VMs should be connected to open internet.
> >
> > To do this I am following the All-In-One: Dedicated Hardware method
> > mentioned in http://devstack.org/guides/single-machine.html
> >
> > My localrc contains the following
> > condor at r910:~/devstack$ cat localrc
> > 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 quantum
> > # Optional, to enable tempest configuration as part of devstack
> > enable_service tempest
> > DATABASE_PASSWORD=condor
> > RABBIT_PASSWORD=condor
> > SERVICE_TOKEN=condor
> > SERVICE_PASSWORD=condor
> > ADMIN_PASSWORD=condor
> >
> > HOST_IP=192.168.161.138
> > FLOATING_RANGE=192.168.161.224/28
> > FLAT_INTERFACE=eth0
> >
> > Route information of the host
> > condor at r910:~/devstack$ route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 0.0.0.0         10.135.0.5      0.0.0.0         UG    100    0        0
> eth1
> > 10.0.0.0        192.168.161.225 255.255.255.0   UG    0      0        0
> eth0
> > 10.135.0.0      0.0.0.0         255.255.255.192 U     0      0        0
> eth1
> > 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0
> eth0
> > 172.24.4.224    0.0.0.0         255.255.255.240 U     0      0        0
> > br-ex
> > 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
> > virbr0
> > 192.168.161.0   0.0.0.0         255.255.255.0   U     0      0        0
> eth0
> >
> > Devstack External Gateway interface of the router is in DOWN state. Pls
> > fined the attached screen shot.
> >
> > How can I make it ACTIVE state? What is the wrong I am making?
> >
> > Thanks for any help.
> >
> > Regards,
> >
> > Batsayan Das
> > Tata Consultancy Services
> > Mailto: batsayan.das at tcs.com
> > Website: http://www.tcs.com
> > ____________________________________________
> > Experience certainty.        IT Services
> >                        Business Solutions
> >                        Consulting
> > ____________________________________________
> >
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> > _______________________________________________
> > 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/20130806/101e7892/attachment.html>


More information about the Openstack mailing list