dhcp-client script action on RELEASE

Kanna Rajagopal r.kanna at gmail.com
Mon Aug 29 20:45:06 UTC 2016

I see that when we issue a dhclient -r on an interface (on linux) , the
/sbin/dhclient-script does a ip addr flush on that interface.

# flush leased IP
ip -4 addr flush dev ${interface} label ${interface}

Was there a reason to flush all the IPs on an interface ?

should the script instead just delete the "old_ip_address" only - and not
flush all the IPs which might include static ones that a user might have
configured ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160829/0b487788/attachment.html>

More information about the dhcp-users mailing list