How can I assign public IPs from physical router to openstack network node?

asked 2015-04-01 15:40:55 -0500

ethode gravatar image

I apologize if this seems like an easy task but I am not understanding the proper way to use NAT on my pysical router to route public static IP's to my networking node in my cluster (assuming all public IP requests his there first).

The networking node in my case is 10.0.0.21 - should I simply use NAT to point ALL of those IP addresses to 10.0.0.21 (management port) or should I assign them to 10.0.1.21 (tunnel port)??

Thanks

edit retag flag offensive close merge delete

Comments

are you using neutron or nova-network, why not just attach a floating IP and work from there? Also what kind of router are we talking about, you may need to give us a bit more details on your network layout.

omar-munoz gravatar imageomar-munoz ( 2015-04-02 17:12:47 -0500 )edit

I am indeed using Neutron, I have no legacy networking setup since it's being phased out.

I have an Zyxell USG 200 router/firewall. It has 3 physical LAN's, as many vLans's as I can ever want and 2 WAN ports.

Right now I have vLans setup

10.0.0.0/24 10.0.1.0/24 10.0.2.0/24

ethode gravatar imageethode ( 2015-04-02 18:03:36 -0500 )edit

This matches the spec that they have in their Ubuntu 14.04 Juno guide. I can see in Openstack that IP addresses are being assigned to each instance and I can assign a floating IP, but the no matter what I try, both the internal network and the external network is unreachable over any port

ethode gravatar imageethode ( 2015-04-02 18:04:48 -0500 )edit

So to understand...you have several public ip's and you want to use them into openstack? Or you have a public ip and you want to to use NAT on physical router to give external access to instances?

capsali gravatar imagecapsali ( 2015-04-03 06:49:27 -0500 )edit

Preferably used as floating IPs in openstack. I assumed to do that though I needed to use NAT on my physical router so that they route to the OS cluster... Docs just seem a bit weak in this area, and 4 days of toiling is starting to wear me down haha

ethode gravatar imageethode ( 2015-04-03 09:00:12 -0500 )edit