Ask Your Question
0

configuring public ips on different subnet

asked 2012-04-16 13:49:09 -0500

dipak87 gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-04-16 15:20:52 -0500

heut2008 gravatar image

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) .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-04-16 13:49:09 -0500

Seen: 12 times

Last updated: Apr 16 '12