I sometimes have to switch between two WiFi networks on my Windows 7 machine, A (192.168.1.*) and B (192.168.3.*). Both networks use DHCP and my network properties are set to use a DHCP address ("Obtain an IP address automatically").
Most of the time I'm connected to network A. When I connect to network B my IP address from network A (192.168.1.123) remains, so of course, I cannot connect to anything until I manually run ipconfig /release
and ipconfig /renew
to get an IP on the network B subnet. This is quite annoying! How do I get this to happen automatically?
When I connect back to network A, or to any other WiFi network, my IP address is assigned from DHCP automatically, as expected.