Setting up External network while installing openstack on ubuntu 12.04 server.

asked 2014-09-04 06:13:42 -0500

Sijo gravatar image

updated 2014-09-08 17:16:07 -0500

Hi Everyone,

I'm a openstack newbie, I'm following installation of openstack three node architecture: Controller, Network and Compute on Ubuntu 12.04 server (all are VMware VMs).

But I'm stuck up on 7th module "Creating initial networks" of installation guide. Do I need a separate router for setting up external network? Or how can I achieve this?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-09-08 17:27:54 -0500

updated 2014-09-08 17:53:49 -0500

External network usually means a bridge br-ex with port on physical iface e.g. eth0. Where eth0 is your NIC connected to 'public' network. E.g.

NETWORK=""   - your public subnet (eth0 is connected to this subnet)
POOL_BEGIN="" - unused addresses in this subnet
GATEWAY=""    - your pubic subnet gate

Just create new net with 'external' flag:

EXT_NET=$(neutron net-create --tenant-id $ADMIN_ID floating-pool --router:external=True | awk '/ id /{print $4}')

And add corresponding subnet a.k.a floating pool:

neutron subnet-create --tenant-id $ADMIN_ID --allocation-pool start=$POOL_BEGIN,end=$POOL_END --gateway $GATEWAY floating-pool $NETWORK --enable_dhcp=False
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-09-04 06:13:42 -0500

Seen: 182 times

Last updated: Sep 08 '14