≡ Menu

Ubuntu: Renew DHCP lease Command For Wireless Interface

Fig.01: Renew DHCP address example

The syntax is simple and easy to use. You can renew your DHCP address when using Linux as follows:

sudo dhclient -r
sudo dhclient -vr eth0
sudo dhclient -v eth0

You can also use the following command on Ubuntu/Debian and other distro where network-manager used to control interfaces:

sudo service network-manager restart

Or use nmcli on modern Linux distro such as Ubuntu LTS:

nmcli con down id 'ConnectionNameHere'
nmcli con up id 'ConnectionNameHere'

See dhclient man page for more information.

Share this tutorial on:

Examples and usage: Linux Force DHCP Client (dhclient) to Renew IP Address

{ 0 comments… add one }
Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: