configuring public ips on different subnet

Asked by dipak

Hi,

I have a working setup of Openstack Diablo installed with server 1 as cloud controller and server 2 as compute node and both these servers are present on a subnet 10.144.132.X and my publicly accessible ips are on a different subnet as the servers, i.e 138.24.X.X.
Now my question is where can I configure this information(network,gateway,broadcast and so on) to make my vms get these public ips(currently happening) and also accessible(not happening)?
Should I do this in nova.conf ? or in the network/interfaces file ? or I should include them in the nova-manage floating create command ? Or somewhere else ?

Thanks,
Dipak

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Yaguang Tang (heut2008) said :
#1

1 、be sure to set public_interface=ethx (x depends on your server) in your nova.conf .ethx is the interface that connect to the public switch or router .
2、 use nova-manage floating create 138.24.X.X/24 (your public ip block subnet)
3、allocate public ip to instance through dashboard(allocate floating ip to your tenant ,then associate it to the instance) .

Can you help with this problem?

Provide an answer of your own, or ask dipak for more information if necessary.

To post a message you must log in.