Re: DHCPv6-PD requests, and virtual machines

Bjørn Mork <[email protected]> Sat, 16 Oct 2021 21:08:23 +0200
Newsgroups gmane.linux.debian.devel.ipv6
Organization m
Message-ID <[email protected]>
Henrique de Moraes Holschuh <[email protected]> writes:

> On Wed, 01 Sep 2021, Bjørn Mork wrote:
>> ifupdown has this extremely annoying misfeature that it forces a release
>> on shutdown, both for DHCP and DHCPv6.  The automatic release on every
>
> This is *highly* desired *on IPv4*, wherever address pools are scarce.

I disagree.

You'll always need enough addresses for all your clients.  If you have a
stable set of clients, then there is no problem letting a client reboot
without releasing the address.

If you have a constant client churn, like for example a public hotspot,
then you should definitely not depend on clients releasing their address
on shutdown.  You need to set a short enough lease time.  Preferably
still long enough to keep the address over a reboot.

Releasing the address on shutdown doesn't solve anything.  It just
creates unnecessary problems.

> The correct thing would likely be: do not do it on IPv6, but still do it
> on IPv4.

Then at least make it configurable.


Bjørn