Subject: Re: dhclient and backgrounding
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Zafer Aydogan <email@example.com>
Date: 11/15/2006 22:27:19
it would be great if the dhclient.conf manpage would contain the
default location for itself (for the file dhclient.conf). I guess it's
/etc/dhclient.conf but it isn't mentioned anywhere.
And the unit of time in the retry statement "retry [time]" would be
great. It says the default is 5 minutes, but the example at the bottom
says "retry 60;", so I guess it's seconds.
Least but not last. It doesn't matter what I enter for retry, it is ignored.
2006/11/15, Steven M. Bellovin <firstname.lastname@example.org>:
> On Wed, 15 Nov 2006 17:32:42 +0100, "Zafer Aydogan" <email@example.com>
> > 2006/11/15, Steven M. Bellovin <firstname.lastname@example.org>:
> > > See the dhclient.conf man page -- you can change 'retry' (and some other
> > > timer-related options) to change that behavior.
> > >
> > > --Steven M. Bellovin, http://www.cs.columbia.edu/~smb
> > >
> > I did. It looks promising. But it didn't work.
> > I run tcpdump and kept an eye on it.
> > The man page says the default retry time is 5 minutes.
> > I waited 18 Minutes and nothing happened. The interface is up and
> > active but has still no IP.
> > and Hubert's quote doesn't work either.
> > "from dhclient(8): ``Old leases are kept around in case the DHCP server is
> > unavailable when dhclient is first invoked (generally during the initial
> > system boot process). In that event, old leases from the dhclient.leases
> > file which have not yet expired are tested, and if they are determined to
> > be valid, they are used until either they expire or the DHCP server
> > becomes available.''
> > I see the message "using old lease 192.168.0.203", but the interface
> > doesn't get configured.
> > Anything else I can do ?
> > I'm running current from 8th Nov. and my ethernet interface is fxp0.
> > (It's running very well.)
> > Is this maybe a dhclient bug ?
> > Zafer.
> I'll reply in more detail later -- I have a feeling something more complex
> is going on.
> --Steven M. Bellovin, http://www.cs.columbia.edu/~smb