Why does my computer not always automatically request a new DHCP lease when switching networks?
Posted
by
KingJ
on Super User
See other posts from Super User
or by KingJ
Published on 2012-11-16T13:37:23Z
Indexed on
2012/11/24
17:07 UTC
Read the original article
Hit count: 199
I've noticed an interesting problem recently where my laptop will not automatically refresh my DHCP lease when changing between wireless networks. Instead, it will attempt to use the existing lease for the new network. Of course, since each network has different settings any connections will fail when using the old lease.
While Windows will eventually request a new DHCP lease, it's often much faster for me to release the old lease and request a new, correct, lease. It puzzles me as to why this is not automatically done when associating to the network? One possible cause is that the laptop is put to sleep while connected to one network, then woken when in range of the other network. Nevertheless, I would expect that the lease would be renewed when the laptop associates to the other network rather than attempting to use the old lease.
It should be noted that the two networks are completely different, both in terms of size, number of APs, network settings, SSIDs etc. One network is my home network and the other one is the campus-wide network at my University.
© Super User or respective owner