Ask Your Question
0

How does Neutron implement overlapping IPs?

asked 2013-09-25 05:35:12 -0500

anonymous user

Anonymous

updated 2013-09-25 09:41:26 -0500

darragh-oreilly gravatar image

How openstack allows tenants to choose their own IP addressing scheme, even if those IP addresses overlap with those used by other tenants.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-25 10:05:50 -0500

darragh-oreilly gravatar image

Any layer-2 plugin provides total isolation between L2 networks, so there is no problem there.

Some plugins use the l3-agent for routing, SNAT gateway and floating IPs. It uses Linux IP namespaces to isolate Neutron routers running on the same node. So each router has its own interfaces, route table and iptables rules, all within its own IP namespace. Subnets connected to the same Neutron router can not have overlapping IP ranges.

The Neutron metadata agent queries the Neutron server with the instance's source IP addresses and the router-id to determine which instance is making the call before proxying the request to nova-metadata.

edit flag offensive delete link more

Comments

Thanks for the answer. Would you be able to elaborate a bit more on how the routing is done to different namespaces? Suppose that 1 network node has 2 Neutron routers with same IP address, each running in different namespaces. How does network node know which router it should route to?

l2edzl3oy gravatar imagel2edzl3oy ( 2015-01-20 00:05:56 -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: 2013-09-25 05:35:12 -0500

Seen: 1,046 times

Last updated: Sep 25 '13