To renew DHCP lease on Ubuntu Linux, you can use the following steps:
- Open a terminal window.
- Run the following command to release the current DHCP lease:
sudo dhclient -r
- Run the following command to renew the DHCP lease:
sudo dhclient
- If the renewal is successful, you should see output similar to the following:
Listening on LPF/eth0/08:00:27:21:43:5d
Sending on LPF/eth0/08:00:27:21:43:5d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.100 -- renewal in 21561 seconds.
The renewal process should only take a few seconds. Once the renewal is complete, you should have a new DHCP lease with updated network configuration.
(Zolpidem)