[Openstack] How to allocate the specific internal and external IP for instances
li jinlong
wakingdreamerfhx at gmail.com
Tue Feb 18 09:21:22 UTC 2014
Hi,guys.I want to allocate IP to an instance.
When I tried to do this in horizon web interface, openstack created and
returned me an IP automaticly,not what I wanted.
My question is how can I allocate an IP I specified other than the IPs
openstack created to instance ?
I tried to create and allocate 10.10.10.10(the internal IP) to an
instance,just like this:
#quantum port-create --fixed-ip
subnet_id=df4294bd-ec48-4912-9a41-d413ec1aca82,ip_address=192.168.1.10
8c8f19e7-9f2b-47ad-a9cc-b0dfac9c9b1e
#nova add-floating-ip --fixed-address=192.168.1.10
ca9d1a4d-9582-457e-874b-1df4b946c4e2
and it worked fine
While I tried to allocated 192.168.1.10(the external IP) to instance,I
failed.
Is there any ways to create specific floating IPs?
Excepting any replies.Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140218/1bf51e42/attachment.html>
More information about the Openstack
mailing list