On Tue, Dec 26, 2000 at 04:44:40PM -0600, Kyle Smalley wrote:

> Yep, that's my experinece too.  I don't know much about DHCP, but let's say
> the DHCP server uses an algorithm like,
> 
> If (client is known)
>   and (the client's last used IP address is known)

Actually, DHCP allows the client program to request a specific address.
The DHCP client daemon in the Debian package "dhcpcd" automatically
requests the IP address that it used the last time around.

>   and (that IP address is not assigned to anyone else)
> Then
>   Reassign that IP address to the client.
> Else
>   From the pool of IP addresses which are not assigned at the moment,
>     Pick the one that has gone unused the longest.
>   Assign that IP address to the client.
> 
> You could probably be disconnected for a very long time then, and still get
> the same IP address when you reconnected.

As far as I know, DHCP (as a protocol specification) doesn't say how the
server must pick the IP address, but this would make sense if minimizing
IP address reassignment were a priority.

-- 
Kalle A. Sandstro"m                             ksandstr &at& iki &dot& fi
MYÄK MYÄK *                                            GPG KeyID: 1ED7C636
public key fingerprint: 7728 49D5 F784 D2DD D20F  63CF 655D F19E 1ED7 C636
#include <std/disclaimer.h>                               * torakan naurua

PGP signature

Reply via email to