openstack team mailing list archive
Mailing list archive
Re: How to assign public IP address to VNIC (instance)
I think the following works.
# nova-manage floating create HOST_NAME FLOATING_IP(global/public IP)
# euca-associate-address -i INSTANCE_ID FLOATING_IP
Here, please note that Nova does not assign a public IP to an instance
on the launch time automatically like the case of Eucalyptus (or Amazon EC2).
From: Kenji Funasaki <kenji.funasaki@xxxxxxxxx>
Subject: [Openstack] How to assign public IP address to VNIC (instance)
Date: Tue, 1 Feb 2011 19:37:23 +0900
> I have a question about assignment of public IP.
> After nova.sh run, if I launch instance,
> 10.0.0.x ip addresses are assigned to the instances (VNIC).
> These are private addresses, and through NAT, it connects to the internet.
> However, I wish to assign public (actual) IP addresses to them.
> If possible, how can I do that ?
> Thanks and regards,
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp