Ask Your Question
0

Access instance(s) from internet

asked 2016-04-07 08:20:54 -0500

updated 2016-04-07 08:28:16 -0500

I have just installed Openstack using RDO on hosted baremetal.
I can access the dashboard and the cli though a single publically routable IP W.X.Y.Z
Created server instances can access Internet.
The goal is to make them accessible from Internet.
As I understand it, floating IPs gives access to Instances from Public network. So I've made these instances get each a floating IP, which doesn't solve the issue because in Openstack the public IP is itself is an RFC1918 not routable in INternet. (172.24.2.0/24)

http://hpnouri.free.fr/misc/open-stack.png

Can I use the W.X.Y.Z as floating IP for an instance for example? Is there a way to make these instances or one of them accessible through Internet through static NAT or NAT forwarding for example for multiple instances?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-04-07 09:29:11 -0500

dbaxps gravatar image

You should have in the office network rout able to internet, create external ( virtual ) network exactly matching W.X.Y.Z and IP of virtual gateway must match IP of physical router. Then attach virtual external (W.X.Y.Z) as gateway to neutron router. (SNAT/DNAT) will be done for you automatically by neutron router.

edit flag offensive delete link more

Comments

Thanks dbaxps, Openstack is installed on a hosted baremetal, not in my office network. So I have a single machine with a single publically routable IP W.X.Y.Z

AJ NOURI gravatar imageAJ NOURI ( 2016-04-08 00:27:41 -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: 2016-04-07 08:20:54 -0500

Seen: 684 times

Last updated: Apr 07 '16