Ask Your Question
0

Allocate public IP to instances

asked 2015-05-08 21:24:24 -0500

beinghuman gravatar image

Hi Everyone,

I am currently running a PoC on openstack Juno with 1 controller, 1 network and 1 compute node on Ubuntu 14.04. I am hoping i will be able to configure VLAN's and tenant networks and then simply map them to the VLAN's on the physcial switch.

To proceed i wanted to find out Is it possible to directly assign public IP addresses to instances rather than creating new private tenant subnets and then mapping those to public IP addresses(Floating IP's). We are trying to avoid reconfiguring IP addresses to the existing VM's which we will be moving to the openstack environment. Can someone point me to how can we achieve this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-05-10 15:24:29 -0500

Tobias Urdin gravatar image

The best way would be creating the VLAN tagged networks and assigning them the proper VLAN tag and setting --router:external=True and handle all the routing on your external (non OpenStack) routers, that way you can skip using Neutron routers.

edit flag offensive delete link more
0

answered 2015-05-08 23:27:10 -0500

kevinbenton gravatar image

You can do this by creating the pre-creating the networks as an admin with the --provider attributes that let you specify the VLAN it maps to.[1]

The routing for those networks could then either be performed by physical routers directly on those VLANs or you could create an admin router attached to all of the networks. To disable SNAT on the admin router you would pass the --disable-snat flag to the router-gateway-set command.

  1. http://docs.openstack.org/admin-guide-cloud/content/provider_api_workflow.html (http://docs.openstack.org/admin-guide...)
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: 2015-05-08 21:24:24 -0500

Seen: 388 times

Last updated: May 10 '15