start dhcp agent on specific ip address

asked 2016-04-05 02:08:27 -0500

yee379 gravatar image

Is is possible (via command line for example), to create a dhcp agent on a specific host AND give it a specific IP address?

i need the latter mainly because of the fact that i'm using a vlan (dot1q) tagged network where intra-vlan dhcp traffic is blocked unless i exclude it at the router's virtual interface (by ip address).

edit retag flag offensive close merge delete

Comments

create the subnet with allocation_pools set to just one address. Neutron will auto schedule to one of your dhcp agents. If it did not pick the right one, you will need to dhcp-agent-network-remove (maybe also port-delete) and dhcp-agent-network-add to correct. Then expand the allocation_pools.

darragh-oreilly gravatar imagedarragh-oreilly ( 2016-04-06 01:11:07 -0500 )edit

yeah.. that's what i've been doing; unfortunately as the system 'evolves' and dhcp agents get's moved, i would like a way to force it back (without shrinking the subnet allocation and expanding it again)

yee379 gravatar imageyee379 ( 2016-04-06 01:43:26 -0500 )edit

someone proposed this: https://wiki.openstack.org/wiki/Neutr... - but I can't find it in neutron-specs

darragh-oreilly gravatar imagedarragh-oreilly ( 2016-04-06 04:21:27 -0500 )edit

thanks @darragh-oreilly, i guess i'll talk to my vendor to see if i can get this pushed upstream.

yee379 gravatar imageyee379 ( 2016-04-12 00:27:36 -0500 )edit