[Dnsmasq-discuss] Multiple IP blocks on single ethernet segment

John Kinsella jlkinsel at gmail.com
Thu May 10 21:07:42 BST 2012

Guys - I've dug through the list archives and I haven't seen a clear answer
to this, so excuse me if I'm repeating things.

I'm running dnsmasq for DHCP services (as part of CloudStack). IP addresses
are statically assigned via mac, defined in /etc/dhcphosts.txt. This all
works perfectly fine for a single IP block.

Until I try to assign IPs for another IP block, and then get

May 10 01:28:49 dnsmasq-dhcp[1057]: no address range available for DHCP
request via eth0

Problem is, when I order IP blocks from my provider, they're routed to me
via my VLAN. I have multiple /28s on this single Ethernet segment. I need
dnsmasq to be able to answer DHCP requests to Ethernet addresses with IP
addresses that are outside the network range of the listening interface.

My understanding is this is a limitation in dnsmasq?

On the DHCP side, I can't think of a technical limitation that causes this
- DHCP is a layer 3 protocol, it doesn't care about IP ranges on
interfaces. I'm presuming this limitation is in place because of the DNS
caching side of the equation?

If I'm completely wrong and dnsmasq (version 2.55) does support this, my
apologies and I'd appreciate a pointer in the right direction.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120510/9630991f/attachment.html>

More information about the Dnsmasq-discuss mailing list