Subject: Re: dhclient on a diskless machine
To: Bill Studenmund <wrstuden@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 11/28/2001 23:29:09
On Tue, Nov 27, 2001 at 05:29:08PM -0800, Bill Studenmund wrote:
> I'm having a problem with dhclient on a machine with / (and /usr) nfs
> mounted. Mainly that it hangs.
> 
> The scenario is that the kernel net mounts root after doing a dhcp
> request. The system then boots, and gets to starting dhclient. Well,
> evidently not all of the program gets loaded at once, as pretty soon I see
> NFS error 65 messages.
> 
> The problem seems to be that dhclient blew away the address binding, but
> nfs needs to talk to the server to load enough of the program to get the
> new address updated.
> 
> This problem just showed up recently when I went to using a 1.5Y kernel on
> my 1.5 powerpc system.
> 
> Any suggestions on what to do, other than turn of dhclient?

This would be easy if all IP adresses on an interface were equivalent:
throw away the old one only when the new one is installed.
Well, there is still the issue of the default route if it's different ...
We'd also need to be able to specify multiple default route.

Maybe for now a dhclient flag or config option telling it to not update the
IP address or route would be enouth ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--