Click to See Complete Forum and Search --> : Renewing my lease for dhcp


soleblazer
06-13-2001, 01:38 PM
hello, I have a nic that uses dhcp and I need to get it to connect to the dhcp server? I tried ifconfig down/up but that didnt do that trick. In billyware its ipconfig /renew. I am sure this is stupid.

Tks,
sole :eek:

Craig McPherson
06-13-2001, 03:39 PM
What DHCP client are you using? It should automatically renew the lease at appropriate intervals. If not, it's likely not a problem with your DHCP client, more likely your firewwall is blocking your attempts to renew.

Pump and Dhcpcd (NOT dhcpd) are the most common DHCP clients, but the ISC's DHCP-Client is the best.

posterboy
06-13-2001, 06:18 PM
This has likely been answered, but i will try a little amplification, if worth anything to you. :)
I use AT&T cable here and lately they have gone to an 8 hour lease, where originally it was a week. I called, they said shortage of IP's. Anyway, I use pump to do the DHCP work. Pump can be made to do this renewal with a simple cron job, which i run every hour. In this way, if I have hardware failure, I have always got 7 hours to find parts to get going again without losing my IP. I handle my own mail, and have apache going, etc. and loss of my IP is inconvenient. HTH, Ray

Strike
06-13-2001, 08:48 PM
Any decent DHCP client will automatically renew your lease when it is halfway to expire time. pump is one of the worst DHCP clients I've used, and I think that dhcpcd is far superior. I have never had problems with dhcpcd and I've rarely had success with pump.

TheGimp
06-13-2001, 10:11 PM
dhcpcd? shouldn't that be dhclient?

Strike
06-13-2001, 10:52 PM
Originally posted by TheGimp:
<STRONG>dhcpcd? shouldn't that be dhclient?</STRONG>

No, it shouldn't.
dhcpcd = dhcp client daemon

TheGimp
06-13-2001, 11:23 PM
heh I just learned something new :)
I've always used dhclient and that has worked fine.

Craig McPherson
06-14-2001, 12:30 AM
Dhclient is the same as DHCP-client, the ISC's DHCP client.

One of the things I really dislike about DHCPCD is the name. "Client Daemon" -- what the HECK?? Now, if you'll excuse me, I'm going to go eat a glass of water.