[Dnsmasq-discuss] DHCP ranges for 'supernetting'

Jim Alles kb3tbx at gmail.com
Wed Feb 11 14:15:59 GMT 2015


I have been contemplating this issue for some time, yet with minimal
testing and no code-reading.

I have searched on several terms at
https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk along
with the man pages & the example.conf and got a general idea that my
impression might be true.

The hypothesis:
Given a standard class C subnet of 192.168.2.0/24 and having outgrown it, I
change my linux-based router to 192.168.2.0/23 (supernet two Class Cs). Due
to the initial selection there are no surprises with the block range
beginning address shifting, the broadcast address gets pushed out to
192.168.3.255

I change my DHCP range to 192.168.2.100 -- 192.168.3.254.

dnsmasq seems to hand out DHCP address between 192.168.2.100 to
192.168.2.254, but nothing in the 192.168.3.x block, unless I add a second
dhcp-range statement for 192.168.3.1 -- 192.168.3.254, which does work as
intended.

Is this expected behavior?
Is it also true for changing subnets in the class A & B RFC1918 address
spaces?

Thanks for your consideration.

Jim Alles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150211/e47ee438/attachment.html>


More information about the Dnsmasq-discuss mailing list