Ask Your Question
1

dhcp dnsmasq.conf file for each network

asked 2015-03-31 02:18:13 -0500

likid0 gravatar image

Hi,

I'm using Juno RDO, We have special needs for our dhcp servers in several tenant networks, the problem is, each network needs different options set up in the dhcp server. But we only have one file dnsmasq.conf where we can set the dhcp options for all dhcp servers/agents.

Is there a way to setup a dnsmasq.conf file per network?.

right now, what we do is configure several network nodes each one has a dnsmasq.conf file and is configured as the only dhcp agent for a network, but this way we can't have dhcp ha, and we also need several network nodes, not a good solution.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-01 12:21:41 -0500

darragh-oreilly gravatar image

This blueprint didn't go anywhere Allow for per-subnet dhcp options

Maybe DHCP options per port can help? e.g. set mtu to 1000:

neutron port-update $PORT --extra_dhcp_opts list=true opt_name=26,opt_value=1000

Then the host file has:

fa:16:3e:54:06:c2,host-10-0-0-6.openstacklocal,10.0.0.6,set:2e4a511c-c582-47c5-af41-1b7033e38f83

And the opts file has:

tag:tag0,option:router,10.0.0.1
tag:2e4a511c-c582-47c5-af41-1b7033e38f83,26,1000
tag:tag0,option:dns-server,10.0.0.2
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

Stats

Asked: 2015-03-31 02:18:13 -0500

Seen: 571 times

Last updated: Apr 01 '15