Ask Your Question
0

Routing and NAT configuration in OpenStack

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

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
0

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

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

Comments

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 -0600 )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

Stats

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

Seen: 3,763 times

Last updated: Sep 23 '14