0

I am in the Hostel and we are provided with Wi-Fi connectivity.The problem is that the IP address that is assigned to my machine works only for 5-6 hours. I want to refresh the IP address so that i can get access to net for 24 hours.
I have tried the commands like

ipconfig/release

and then

ipconfig/renew

but my IP address remains the same.
I even to switch the router on and off and even forget the network on my pc but nothing seems to change my IP address.
How can i force my IP address to refresh and renew??

codefreak
  • 146

1 Answers1

1

When you use ipconfig /renew, the OS requests an IP address using DHCP; it doesn't just pick a random address, but only the one that the DHCP server offers. In your case, the server is just configured to always offer the same IP address for the same computer – usually based on the computer's MAC address (sometimes the hostname or the DHCP client ID).

You could try changing the network card's MAC address, so that your computer will be recognized as a completely new device.

(Disabling DHCP and configuring the address and routes manually is unlikely to work – as the time restrictions themselves can possibly be MAC address-based – and it can certainly annoy network admins and/or whoever happens to legitimately get the address that you configured.)

grawity
  • 501,077