Re: dhcp-client cleanup



On Sat, 25 Feb 2006 21:47:11 -0500, cga wrote:

hmm.. that would reset the client system to its original state but the
dhcp server system..

Yep, it would be sad if a client could reset a server. :(

depending on how it is configured would still
retain the lease information.. and might refuse to give me another lease
because it thinks I already have one (?) And since I have no access to
my ISP's dhcp server configuration I cannot verify the above assumption.

Well, a new requirement.
Doing a
man dhclient
would suggest you could release the assigned ip addy.



Debian sarge and etch. The sarge system has never had any problems
connecting. The etch system, otoh, practically never connects
successfully.. Except that the other day I left it up overnight.. ran
dhclient manually in the morning and immediately obtained a lease.. eth0
and the route table were correctly configured and I was able to go
online. So my guess since I had changed nothing in my setup is that for
some reason my isp's dhcp server having heard nothing from me for a
number of hours decided to reclaim my lease.

Once you get a lease, your box is supposed to renew it based on renew,
rebind, expire times in the dhclient*.leases file.


This is all guesswork as I have really no knowledge of dhcp.. but I
would imagine that the server would keep track of which machines/nic's
he has already provided with and ip address and might would turn down a
new request from a machine with a currently active lease..

I have no direct knowledge about a server, but, I know I get the same
IP address from my ISP, regardless if I released the IP address or not.

And that would explain why I am practically never able to bring up the
connection.

Only if your log show the request refused. :)

Are the errors, dropped, overruns, frame faults pretty clean
ifconfig

For extra points
http://www.ietf.org/rfc/rfc2131.txt
.



Relevant Pages

  • Re: Cant change my internal and external ip addresses
    ... > Jason thanks for the answers bu here i have some more to ask on what ... Try ipconfig /displaydns ... ipconfig /release releases your lease on the IP address you had. ... Then you have to be able to tell the DHCP server to issue the address you want. ...
    (comp.security.firewalls)
  • Re: Cant change my internal and external ip addresses
    ... There is a DHCP server at your ISP which issues your router with an IP ... > a) ipconfig /release release my lease on the IP address i have and also ... DHCP and lease times allows your ISP to assign you an IP address of their choice ...
    (comp.security.firewalls)
  • Re: changing DHCP server used to assign IP address to laptop
    ... >> Is the cable modem interface a different physical interface from ... I'm assuming that because the 24 hour lease was still ... Does your office network have its own DHCP server? ...
    (Debian-User)
  • Re: What does XP do with lease for shutdown/restart?
    ... then they just set up the same lease when powered up. ... DHCP server a DHCP RELEASE when it's not going to use ... the DHCP server to give you the specific IP assignment ... it's the lease term that I want to start over. ...
    (microsoft.public.windowsxp.network_web)
  • Re: dhcp-client cleanup
    ... The client normally doesn't release the current lease as it is not ... The -r flag explicitly releases the current lease, ... even a cursory glance at the output of "strings $(which dhclient)" did not provide a clue as to what this thing is.. ... they are used until either they expire or the DHCP server ...
    (comp.os.linux.networking)