Re: dhcp-client cleanup



On Sun, 26 Feb 2006 16:38:41 -0500, cga wrote:

# dhclient --help
Internet Software Consortium DHCP Client
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.


Well there you are, you need a new and improved client.

$ dhclient --help
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Usage: dhclient [-1dqr] [-nw] [-p <port>] [-s server]
[-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
[-sf script-file] [interface]



That is normaly a day one condition and would expect that.

meaning the lease only gets written to disk after you shut down the
system..?

No, when the client gets it's first lease.


... or more of a timing issue.. networking is started too early and
does something that makes further manual attempts fail..

I know with an old release of my software and a slow dhcp server, I
would miss a lease. I created a network_ck script to ping the gateway
and if failed, re-run the network script and would get a lease.



It would seem, you could release the ip lease under win98, boot etch to
rule out dhcp server interaction about assigned IP address.


I tried that but it did not work.. that's why I was thinking that
something happens when I start etch that partly initializes the
connection process.. fails.. and leaves me in a "funny" state where
further attempts to bring up the connection manually just fail..otoh as
I mentioned earlier.. if I wait long enough it would seem that I am all
of a sudden able to bring up the connection.. my guess being that the
dhcp server at the other end eventually detects that I am not connected
and does some cleanup.. have not evidence this is the case, though..
just a hunch..

I understand, but, you started out wanting to have the server reset.
We showed the problem did not clear up when you released the ip addy
with windows.
Since you are using the same hardware, you should have received a lease.

I would get a new and improved dhclinet before doing anything else.
You still maybe stuck with reading dhcp packets.
.



Relevant Pages

  • Re: dhcp-client cleanup
    ... Internet Systems Consortium DHCP Client V3.0.3 ... when the client gets it's first lease. ... and leaves me in a "funny" state where further attempts to bring up the connection manually just fail..otoh as I mentioned earlier.. ...
    (comp.os.linux.networking)
  • Re: dhclient in 6.0
    ... Not really, no, except when DHCP options appear to turn off IPv4LL, or ... I think it's pretty obvious you have a rogue client ... if there was a prior lease matching the ... Ironically, ISC DHCP was built from this mindset, from what I read. ...
    (freebsd-stable)
  • Re: dhclient in 6.0
    ... if no lease can be obtained. ... I think it's pretty obvious you have a rogue client ... machine in the DHCP dynamic pool range for whatever reasons... ... currently exist any unbounded buffer utilizations. ...
    (freebsd-stable)
  • Re: Wireless router losing Internet connection (DHCP problem)
    ... I've now faxed a support request to Hawking (for ... an existing lease. ... On basic cable modem service, Comcast will only hand out one client IP, so ... it won't hand out a second DHCP lease while a first lease is still active. ...
    (alt.internet.wireless)
  • Re: What does XP do with lease for shutdown/restart?
    ... >> then they just set up the same lease when powered up. ... DHCP clients are supposed to explicitly send the ... > DHCP server a DHCP RELEASE when it's not going to use ... >> direct connection to Cox without the router. ...
    (microsoft.public.windowsxp.network_web)