How to force the release of a DHCP lease?

We have an issue with a possible duplicate IP on our LAN.


I am trying to get the user's OSX Macbook to release the DHCP lease. I've gone in to our server (ISC) erased the lease, restarted it. I've used "ipconfig" on OSX to try and force this, but for some reason this system insists on keeping this address.


How can I force OSX to release and forget about the DHCP lease on that interface?



Thanks.

Mac Pro, OS X Yosemite (10.10)

Posted on Oct 1, 2015 1:26 PM

Reply
3 replies

Oct 2, 2015 2:21 PM in response to Forrest

I tried to ask Apple Support, but this is beyond what they can provide.

Where I get frustrated, as a systems administrator, at times is the poor documentation that Apple sometimes provides with regards to internals. I work in a large *.edu environment where we spend thousands of dollars on Apple equipment and sometimes the OSX environment has to do things in a non-standard or obscured fashion.


That having been said, the core issue here is that OSX seems to be storing the DHCP lease address somewhere other than /private/var/db/dhclient/leases. We removed that, reset the interface, removed the lease from our ISC DHCPD server, and rebooted the Mac, but it still insists on renewing with the same address.

In this case, we have a duplicate address on the LAN that keeps popping up and creates a problem. I realize I can assign a static address, but that doesn't resolve the inherent problem.


So I'm hoping someone here with some more technical knowledge of OSX will be able to help. I've searched all over (Google, etc) and I see mentions of this, but not the scenario I mention.


Thanks.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to force the release of a DHCP lease?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.