rtr7/router7

dhcp4: automatic release and start-over upon unhealthiness

Closed this issue · 2 comments

diagd and dhcp4 should collaborate to, when IPv4 connectivity is unavailable:

  1. Use DHCPDISCOVER instead of DHCPREQUEST, i.e. start the DHCP protocol from scratch.
  2. 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 ;)

Commit done, just needs a manual testing round (after my stream) before I push it.