router: don't DHCPRELEASE the WAN lease on networkd stop
This commit is contained in:
parent
25319ea033
commit
1f2f8ad5bd
1 changed files with 7 additions and 0 deletions
|
|
@ -114,6 +114,13 @@ in
|
|||
dhcpV4Config = {
|
||||
UseDNS = false; # don't overwrite resolv.conf from ISP DNS
|
||||
UseHostname = false;
|
||||
# networkd defaults SendRelease=true: stopping the unit (every
|
||||
# nixos-upgrade, and the watchdog's 4min escalation) sends a
|
||||
# DHCPRELEASE that hands our IP back to the ISP pool, so the next
|
||||
# start DISCOVERs a fresh one. Every WAN IP change in the journal
|
||||
# landed at 05:1x — the upgrade window — not on ISP timing.
|
||||
# false = keep the lease and re-REQUEST it (INIT-REBOOT).
|
||||
SendRelease = false;
|
||||
};
|
||||
};
|
||||
"20-lan" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue