PUBLIC ip address associating to running VMS

Asked by chetan on 2011-07-28

Hello ,

our openstack setup running fine with :

private : 10.0.0.0/24 .
floating: 192.168.3.0/24
192.168.3.xxx is our lan network .
now i have 14 public ips from ISP 125.18.56.177/28 .

how do i assign those to my VMs. ??

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
2011-08-01
Last query:
2011-08-01
Last reply:
2011-07-28
Best Vish Ishaya (vishvananda) said : #1

The idea of floating is to use them for public. Do you need access from the lan network? You can route into the vms by adding a route on your lan machines like
route add -net 10.0.0.0/24 gw <ip of nova-network>

If you do need both lan and public, you might want to get rid of private. The best bet might be to configure nova to give out ips in 192.168.3.xx as private ips and use the public ips as floating.

Vish

On Jul 28, 2011, at 7:25 AM, chetan wrote:

> New question #166265 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/166265
>
> Hello ,
>
> our openstack setup running fine with :
>
> private : 10.0.0.0/24 .
> floating: 192.168.3.0/24
> 192.168.3.xxx is our lan network .
> now i have 14 public ips from ISP 125.18.56.177/28 .
>
> how do i assign those to my VMs. ??
>
>
>
>
>
>
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

chetan (chetan-muneshwar) said : #2

Thanks Vish Ishaya, that solved my question.