DHCP + DNS

TomK tomkcpr at mdevsys.com
Mon Mar 4 03:42:18 UTC 2019


On 3/3/2019 10:37 PM, TomK wrote:
> Hello,
> 
> Is there a way to force remote DHCPD servers to assign a different IP to 
> a client with the same MAC everytime dhclient -v is called?  I've tried 
> to configure the following in /etc/dhcp/dhclient.conf file and set the 
> PATH_DHCLIENT_CONF=/etc/dhcp/dhclient.conf; in the current shell in an 
> attempt to induce assignment of unique IP's from the DHCP server:
> 
> supersede dhcp-lease-time 5;
> supersede dhcp-rebinding-time 5;
> supersede dhcp-renewal-time 5;
> 
 > but this had only mixed results, returning unique IP's only some of
 > the time.
 >
 >
> Or for that matter, change settings on a DHCPD servers to ensure 
> everytime the same client VM requests an IP, it will be given a 
> different IP vs the previous one assigned?
> 
> 
> I've a unique scenario where I would like to also check the local DNS to 
> determine if any offline hosts are already assigned to an IP and need to 
> cycle through a few to determine that.
> 
> Currently the DHCPD server servers the same IP or one of two IP's 
> regardless of how many times dhclient -v is called.
> 

Pressed send too soon.  Adjusted the first paragraph.

-- 
Cheers,
Tom K.
-------------------------------------------------------------------------------------

Living on earth is expensive, but it includes a free trip around the sun.



More information about the dhcp-users mailing list