Hot answers tagged

2

Just configure the lease duration as -1 (infinite). This will make sure the client will get back the IP address it was assigned upon first contact no matter how much later it comes back.


2

Get-DhcpServerv4Lease -ComputerName "dhcpserver.contoso.com" -ScopeId 10.10.10.0 Powershell can do this for you. Get-DhcpServerv4Lease -ComputerName <MyDHCP> -ScopeId 192.168.0.0 In the output of this function, you will find the MAC address of the clients and the status of the leases as additional information. This is for real time ...


1

Yes, it's better. That way, all configuration is managed in one place, and not spread out to individual servers. It makes reconfiguration a lot easier. In addition; what components really need static IP's these days? Most can be handled by DNS updates.


1

DHCP options can be explicitly requested by the client (in DISCOVER), but most often they're just sent in the server's OFFER. Subsequently, they're also REQUESTed and ACKNOWLEDGEd. Options are detailed in RFC 2132.


1

posting a section of debian man page for dhclient.conf : fixed-address ip-address; The fixed-address statement is used to set the ip address of a particular lease. This is required for all lease statements. The IP address must be specified as a dotted quad (e.g., 12.34.56.78). so by modifying /etc/...


Only top voted, non community-wiki answers of a minimum length are eligible