DHCP Refresh

max12590

Masterful Geek
Ok, I am wondering if there is a linux command (of course there is, there is a linux command for everything) that will refresh my IP. I want something basically the same as "Repair" in Windows (well, just the renewal of IP, I don't care about clearing caches and such) or ipconfig /release-renew.
 
Ok, I am wondering if there is a linux command (of course there is, there is a linux command for everything) that will refresh my IP. I want something basically the same as "Repair" in Windows (well, just the renewal of IP, I don't care about clearing caches and such) or ipconfig /release-renew.
On a Debian-based system, you can just do:
Code:
/etc/init.d/networking restart

On Red Hat or derivatives, the following will work:
Code:
service network restart
 
Back
Top