Guide how to renew ip address in Linux
The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. For example, open terminal and type the command:
$ sudo dhclient -r
Now obtain fresh IP:
$ sudo dhclient
There is no need to restart network service. Above command should work with any Linux distro such as RHEL, Fedora, CentOS, Ubuntu and others. On a related note you can also try out the following commands:
# ifdown eth0
# ifup eth0
# /etc/init.d/network restart
OR
# /etc/init.d/networking restart
Jun 11, 2008 at 1:24 AM /
[…] problem could be easily fixed using this guide; http://blog.xmodx.com/2008/06/11/guide-how-to-renew-ip-address-in-linux/ addthis_url = ‘http%3A%2F%2Fblog.xmodx.com%2F2008%2F06%2F11%2Fcall-center-incompetent-tsr%2F’; […]