Ask Your Question

/30 network per tenant

asked 2016-07-15 12:38:58 -0500

eyeofthebeholder gravatar image

Using Mitaka, is there a way to assign a /30 to each tenant (or even a /31?) using a DVR router?

When you create a subnet in Openstack, it uses one of the IP addresses for DHCP and one for SNAT and one for the DGW, so I'm a bit confused if this is possible or not.

Any help would be appreciated!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-17 12:52:56 -0500

yes, you can but you could use a little trick, because in /30 you have only 2 usable IPs, one is lost for network and one is lost for broadcast, so the trick is, and works also with older version than mitaka:

  • you assign a private VLAN to the tenant, with a private subnet -> for example (NO DHCP on this subnet); your physical router will be the DGW with ip and on this router you must put a static to your neutron router for example with IP;

  • you create the neutron router with IP (when you create the subnet you could limit the usable IP only to ;

  • then you could attach a new subnet /30 to this network by defining that subnet bigger than real, for example you could define on neutron as a /16 subnet and limiting usable floating IP only to your 4 IPs.

  • so your tenant as only 4 usable IP.

HTH Amedeo

edit flag offensive delete link more

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


Asked: 2016-07-15 12:38:58 -0500

Seen: 281 times

Last updated: Jul 17 '16