Ask Your Question
0

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
1

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="192.168.250.0/23"   - your public subnet (eth0 is connected to this subnet)
POOL_BEGIN="192.168.250.211" - unused addresses in this subnet
POOL_END="192.168.250.230"
GATEWAY="192.168.251.254"    - 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

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

Stats

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

Seen: 149 times

Last updated: Sep 08 '14