dhcp4: automatic release and start-over upon unhealthiness
Closed this issue · 2 comments
stapelberg commented
diagd and dhcp4 should collaborate to, when IPv4 connectivity is unavailable:
- Use DHCPDISCOVER instead of DHCPREQUEST, i.e. start the DHCP protocol from scratch.
- If that doesn’t help still, send a DHCPRELEASE and then start from scratch.
This automates a type of recovery that currently requires manual intervention.
This improvement was prompted by DHCP4 outage https://as13030.net/status/?ticket=OPS-32 ;)
stapelberg commented
Commit done, just needs a manual testing round (after my stream) before I push it.
stapelberg commented
Stream recording: https://youtu.be/NiMh4CdL8hM