dhcpcd-discuss

Addresses not deleted when cable pulled

jobhunts02

Sat Mar 03 02:24:52 2018

When I pull the cable to the interface on which I got an IPv4 address via DHCP, I would like the address to be deleted.  The reason it is not deleted is that state is NULL in ipv4ll_freedrop, which prevents ipv4_deladdr from being called.  If an interface has obtained an IPv4 & IPv6 address via DHCP, neither address is deleted when the cable is pulled.  If the interface only has an IPv6 address via DHCP, the address does get deleted when the cable is pulled.

Is there a way to ensure that addresses obtained via DHCP will be deleted when the cable is pulled?

Follow-Ups:
Re: Addresses not deleted when cable pulledRoy Marples
Archive administrator: postmaster@marples.name