On Sat, 13 Jan 2007 08:31:50 -0600, Peabody <(E-Mail Removed)>
wrote:
<snip>
>
>No. Well, it's getting the same IP address, but it is also
>restoring the original lease period instead of startng over.
>Then if the computer is on when the lease finally expires, I
>lose my connection to the internet for a minute or so while
>a new lease is granted. And, you know, if I'm in the middle
>of a file transfer, or chat, that can be a problem.
Ah. So if I understand correctly, say you shut your computer down for the night,
and the lease showed 8 hrs remaining just prior to shutdown.. When you boot up
the next morning, it still shows 8 hours, instead of either the full period or
whatever time should be left taking into account the "off" time.
>It doesn't renew mid-term for some reason. I think it
>should do that. And it shouldn't shut me down while it
>renews.
You are correct. DHCP specifies a machine should ask for a renewal when 50% of
the lease has expired. The machine is also expected to ask again for a renewal
at (I think) 25% remaining, and then more frequently as the lease time gets
closer to expiration.
As for the broken connection period, it should at most be a couple of seconds as
the machine switches from one IP address to another. A sophisticated router
would handle that seamlessly, but a cheapy consumer one, well. I would suspect
that a short term disconnect is to be expected. but only for a second or two.
But only if said IP address is to be handed out to a different machine. In your
scenario this shouldn't come into play.
>
>I've found that I am able to get it to start over by doing
>an "ipconfig /release" and rebooting. So maybe the solution
>is to figure out how to do a shutdown script that does the
>release. I'm kinda surprised XP doesn't automatically
>release as part of normal shutdown, but apparently not.
It shouldn't release when it shuts down. That is normal operation. But, it
should renegotiate the lease on bootup, and you _should_ get either a renewal of
your lease period or a new ip address with a full lease period.
A semi workaround would be to extend the lease period in the router to say.. a
year or so.. That's a dirty hack to be sure, but it would also be a pretty easy
fix, and then you'd only have to deal with a disconnect 1x a year.
>
>The other option is to turn off DHCP in the router and just
>fix the IPs for the two computers. Or, leave DHCP running,
>but set the bottom of the range to the first number above
>the other two. The hope would be that with fixed IPs there
>wouldn't be any leases on the LAN side. I need to try that.
>
That would also work. a fixed ip address has no lease period.
Perhaps an updated firmware for your router exists? This sounds like a pure
firmware problem, and I would suspect you aren't the only one experiancing it.
|