On Wed, Sep 25, 2024 at 08:16:09PM +0200, Jan Ceuleers wrote:
> On 25/09/2024 11:06, Simon Kelley wrote:
> > Downsides to this proposed change.
> >
> > 1) Old versions of Windows might break.
> > 2) Newer versions of windows might break - we've not done testing on
> > which do and don't.
> > 3) Other platforms which have made the same mistake might break.
> > 4) Dnsmasq installations which unkowningly rely on this behaviour in
> > other respects might break.
> >
> > Upsides to the proposed change.
> > 1) ~1% more available addresses in DHCP pools.

Even less then one procent


> > 2) A small amount of code which no longer needs maintenance.
> >
> > It's not clear to me what the balance is here. Opinions, list?

As Wink Saville said:  It's not worth it.  And IMNSHO the pain inflicted
on sysadmins by any of the downsides points does **not** justify marginal
upside points.


> > Simon. 
> 
> The reason why I raised this subject is of course the fact that it
> enables the use of IP addresses in DHCP pools that are not otherwise
> available for use.

Lets assume a /23 block of IPv4 address is a DHCP pool. The discussed
change would be the difference of 508 and 510. ( /23, 512 addresses,
510 being 512 minus "broadcast" and minus "network", 508 being 510 minus
.255 and minus .0)

510 - 508 = 2, 2 out 512 is about 0.39%.

On a /22 block, 1024 address, 6 address "saved", 6/1024*100%, 0.58%

(6+8)/2024 = 0.68%

(6+8+16)/4096 = 0.73%

I would love to meet admins who have a /19 in 1 DHCP pool.

 
> IPv4 addresses are a scarce resource, and maximising their use is, in my
> opinion, a worthy goal.
 
IPv4 address space depletion is being addressed with IPv6.


> But if the dnsmasq project isn't ready to remove this restriction, would
> a patch be accepted that makes it configurable? If so, what should the
> default be?
> 
> Thanks, Jan


Groeten
Geert Stappers
-- 
Silence is hard to parse

_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to