How to assign static reservation ip address to physical server neutron.

asked 2017-09-01 16:25:05 -0500

cwray gravatar image

I'm wondering If there is a proper method to get an ip address from dhcp Neutron to a physical server that is attached to a vlan? Is there a method to assign a static reservation to a physical server?

I currently can attach a physical server with a static ip to a vlan that is built out in openstack that has VM's on it and talk between them So the connectivity is there.

edit retag flag offensive close merge delete

Comments

You should modify the dnsmasq (openstack dhcp) config in order to define a static lease.

Antonio G. gravatar imageAntonio G. ( 2017-09-04 11:00:31 -0500 )edit

I thought about that, but i'm wondering if there is a openstack CLI or API setting for this. We have more then one dnsmasq instance per network. So keeping this clean and in line between the 100's of networks we have will be cumbersome.

cwray gravatar imagecwray ( 2017-09-06 11:03:24 -0500 )edit