47
10
I'm troubleshooting a certain issue with my DHCP configuration, and need my Windows machine to ask for a "fresh" IP address, so I can see which address DHCP server gives by default.
When I do ipconfig /release
followed by ipconfig /renew
, Windows "proposes" its old IP address to the DHCP server (just checked with Wireshark, initial "DHCP Discover" message has Option-50 (requested IP address) with Windows machine's old IP).
Tried disabling/enabling network adapter. Same behavior.
Question: How can I force Windows to just ask for a new IP address, without proposing its old IP address.
Is this on your own home network? If so, assigning a static IP may work fine. – Simon Sheehan – 2012-09-05T23:54:01.607
5Yes, static IP will work... However, I've specifically stated that I'm debugging a problem with DHCP, so I need an answer to my question, not a workaround. – haimg – 2012-09-06T00:04:03.420
You could wait for the lease to expire, or try shortening the lease time to expedite the expiration. – Iszi – 2012-09-06T00:09:38.110
2@Iszi: it doesn't help. Windows will propose the same IP when renewing the lease. – haimg – 2012-09-06T00:15:46.510
1Fire up a VM or another box and set that to statically take over that IP? It might be more helpful if you could describe the issue you're really troubleshooting. – Iszi – 2012-09-06T00:16:42.997