Ask Your Question
0

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

Comments

use floating ip.

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

1 answer

Sort by ยป oldest newest most voted
0

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

Comments

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

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=212.83.160.250,end=212.83.160.251 --gateway-ip=212.83.0.1 net4 212.83.0.0/16

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

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: 2014-05-31 18:44:49 -0500

Seen: 61 times

Last updated: Jun 01 '14