Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Issue in dhclient -x option (Rathnakar, Dilip) ---------------------------------------------------------------------- Message: 1 Date: Mon, 13 May 2024 10:15:20 +0000 From: "Rathnakar, Dilip" <dilip.rathna...@hp.com> To: "dhcp-users@lists.isc.org" <dhcp-users@lists.isc.org> Subject: Issue in dhclient -x option Message-ID: <ph0pr84mb1786e308a59b52c0eb8e6bc383...@ph0pr84mb1786.namprd84.prod.outlook.com> Content-Type: text/plain; charset="windows-1252" Hi, As per dhclient (isc-dhclient-4.4.1) man-page, the "dhclient -x" option should do the following: "Stop the running DHCP client without releasing the current lease. Kills existing dhclient process as previously recorded in the PID file. When shutdown via this method dhclient-script will be executed with the specific reason for calling the script set." However, this is not working as expected. It is sending a DHCP release packet during exit. Steps to reproduce the behaviour: 1. Start dhclient using: "dhclient -d -q -cf /var/db/dhclient-eth0.conf -lf /var/db/dhclient-eth0.leases -pf /var/db/dhclient-eth0.pid eth0" 2. Ensure dhclient process is running and IP address is acquired. 3. Stop dhclient using: "dhclient -x -pf /var/db/dhclient-eth0.pid -lf /var/db/dhclient-eth0.leases eth0" 4. Observe release packet in wireshark. **Expected behavior** Should stop running of DHCP client without releasing the current lease. (No Release packet should be sent) **Actual behavior*** Release packet sent. **Environment:** - ISC DHCP version: isc-dhclient-4.4.1 - OS: Ubuntu 16.04 Is this a known issue or is there a workaround for this? Any inputs would be appreciated. Thanks, Dilip -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20240513/06c0eabb/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 185, Issue 4 ******************************************