Monday, March 10, 2014

Release and Renew IP Address in Ubuntu

sudo dhclient -r
sudo dhclient eth0
 
The above will release the eth0 interface IP and assigned it again. For a wireless interface called wlan0, try:
 
sudo dhclient -r
sudo dhclient wlan0
They are equivalent to the following commands in Windows:
ipconfig/release
ipconfig/renew

No comments:

Post a Comment