Ask Your Question

Routing and NAT configuration in OpenStack

asked 2014-09-23 10:38:40 -0500

NewStacker gravatar image

I want to configure routing and NAT via Neutron in OpenStack, How do I get started with it? I have created a network with two internal networks (and instances on them as well). Now I want to know the commands for configuring routing protocols and NAT. I checked OpenStack documentation but could not find anything handy. Can someone please help me or give me an idea on how to get started with it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-23 11:02:27 -0500

larsks gravatar image

You don't directly configure "routing protocols" or NAT with Neutron.

NAT is configured indirectly via floating ip addresses; when you associate a floating ip address with an instance (using, e.g., nova floating-ip-associate), Neutron creates a NAT rule on the network server that is responsible for mapping betwee the instance's fixed address and the floating address.

When you associate a neutron router with an external network (via neutron router-gateway-set), this configures the routing tables inside the router namespace to use the specified network as the default gateway.

edit flag offensive delete link more


I have already done that, I thought there is more to it. Well that was an easy task. Thanks a ton Larsks :)

NewStacker gravatar imageNewStacker ( 2014-09-23 11:09:22 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-09-23 10:38:40 -0500

Seen: 4,592 times

Last updated: Sep 23 '14