Subject: Re: dhclient in rc*/netstart
To: Michael Richardson <>
From: Bill Sommerfeld <>
List: tech-net
Date: 01/28/1999 14:35:17
>   As does /etc/dhclient.db or something like that.
>   I think that the solution to this problem is to run dhclient in a
> mode where it pulls the lease info out of the kernel's copy of
> dhclient (since you probably booted diskless in my opinion, or you
> couldn't have an NFS /var before configured the network)
>   dhclient then does its things, confirms the lease without doing a
> new DISCOVER, and then, from dhclient's script, you do a "mount -t
> nfs". The rest of system waits or doesn't, as makes sense.

I don't think it's that simple.  What happens when the lease expires
while the DHCP server is off the air?  According to the DHCP spec,
when this happens, you're supposed to drop off the net except for
periodic attempts to get a new lease..

I think that the core of a real DHCP client on a diskless system will
have to be pinned in memory (which, for now, means, in the kernel).

				   - Bill