Ask Your Question

How to set up a private network with specific addresses mapped to public IPs?

asked 2014-05-31 18:44:49 -0500

Piotr Zduniak gravatar image

I have a bunch of IP addresses that are not anyhow connected. I would lie to give them out to the virtual machines, probably over some kind of a NAT. I had an idea to set up such thing by configuring a private network, and then somehow mapping them to a public IP. How can I do such thing? I found an old blog post with information about how to do it, but it was too outdated.

edit retag flag offensive close merge delete


use floating ip.

SGPJ gravatar imageSGPJ ( 2014-06-01 03:36:20 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-01 05:43:00 -0500

Bhupender Kumar gravatar image

Nothing to do you just have to configure External Network and assign floating IP to your instance, Still you need to check how you have configured your network Bridge.

edit flag offensive delete link more


The issue is that the IP addresses are not anyhow related. For example:

Piotr Zduniak gravatar imagePiotr Zduniak ( 2014-06-01 08:39:04 -0500 )edit

When creating a subnet you can use a fragmented pool e.g. #neutron subnet-create --name subnet-net4 --allocation-pool start=212.83.152,end=212.83.152 --allocation-pool start=,end= --gateway-ip= net4

Itzik gravatar imageItzik ( 2014-06-02 15:39:29 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-31 18:44:49 -0500

Seen: 146 times

Last updated: Jun 01 '14