This question already has an answer here:
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
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??