In this post we will read about how to release renew dhcp assigned ip address in linux.
In Windows for releasing and renew of DHCP assigned IP, we use the command
How to release the DHCP assigned IP in linux.
The below command will be applied to all interfaces which are getting IP from DHCP server
Note: Here -r means release
sudo dhclient -r
If you want to release the DHCP assigned IP to particular interface like eth0,wlan2 etc
dhclient -r interface-name
sudo dhclient -r eth0 sudo dhclient -r wlan0
After release how to renew DHCP Assigned IP Address
Use the below command to renew for all interfaces
For particular interface
sudo dhclinet interface-name
sudo dhclient eth0 or sudo dhclient wlan0
Leave a Reply