[KLUG Members] quickest dhcp renewal
bill
members@kalamazoolinux.org
Fri, 02 Apr 2004 16:10:52 -0500
Adam Tauno Williams wrote:
>>What's the quickest way to get a RH9 box to renew it's DHCP lease?
>
>
> ifdown eth0; ifup eth0
Ah, slightly different from what I tried.
I did
ifconfig eth0 down
and then
ifconfig eth0 up
and it reported success using the old IP address, even when it was only
connected to the hub, which had been disconnected from the rest of the
network and doesn't do DHCP. So, I figured that command wasn't renewing
the lease.
I tried your command and it did indeed renew the lease.
What's the difference between your command and mine? Why doesn't
ifconfig renew the lease?