[Openstack-operators] Inject public IP address in the VM

Akihiro MOTOKI motoki at da.jp.nec.com
Tue Jan 8 02:02:21 UTC 2013


Hi,

Quantum supports your scenario without NAT.
It can be done by creating 'shared network' which has public IP range.
http://docs.openstack.org/trunk/openstack-network/admin/content/use_cases_single_flat.html

The following command by the admin user will create such network.
# quantum net-create --shared public_net
# quantum subnet-create --allocation-pools start=10.2.0.100,end=10.2.0.199 public_net 10.2.0.0/24

Thanks,
Akihiro

>>>>> Date: Mon, 7 Jan 2013 14:30:37 -0500
>>>>> From: Warren Wang <warren at wangspeed.com>
>>>>> Subject: Re: [Openstack-operators] Inject public IP address in the VM
> 
> We're in the minority here.  There are some of us that would like to simply
> have the public IP directly assigned to the VM, and skip NAT.  AFAIK, there
> is no graceful way of accomplishing it, yet.
> 
> Warren
> 
> Warren
> 
> 
> On Mon, Jan 7, 2013 at 2:23 PM, Matt Joyce <matt at nycresistor.com> wrote:
> 
> > Ignore me.  Misunderstood question.  Early.
> >
> > On Mon, Jan 7, 2013 at 11:23 AM, Matt Joyce <matt at nycresistor.com> wrote:
> > > It would be nice if it was visible inside of the metadata for the
> > > host, but that seems likely unnecessary.  Can't you just query the
> > > API?  I think novaclient has bindings for a query like that.
> > >
> > > -Matt
> > >
> > > On Mon, Jan 7, 2013 at 6:17 AM, Nux! <nux at li.nux.ro> wrote:
> > >> Hello,
> > >>
> > >> Is there a proper/oficial/elegant way to make Openstack inject the
> > public IP
> > >> address in the VM itself instead of doing NAT? Any pointers appreciated.
> > >>
> > >> --
> > >> Sent from the Delta quadrant using Borg technology!
> > >>
> > >> Nux!
> > >> www.nux.ro
> > >>
> > >> _______________________________________________
> > >> OpenStack-operators mailing list
> > >> OpenStack-operators at lists.openstack.org
> > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >
> > _______________________________________________
> > OpenStack-operators mailing list
> > OpenStack-operators at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >



More information about the OpenStack-operators mailing list