≡ Menu

Ubuntu Linux Renew DHCP

How do I renew a dhcp assigned IP address under Ubuntu Linux desktop or Laptop systems?

You need to use "Dynamic Host Configuration Protocol" client called dhclient to renew IP address under Ubuntu Linux. Open the terminal and type the following command to release current address:
$ sudo dhclient -r
You can also ask for new IP address (e.g., for wlan0 get new IP address), enter:
$ sudo dhclient wlan0
$ sudo dhclient eth0
Another option, enter:
$ sudo dhclient -r && sudo dhclient

{ 2 comments… add one }

  • asdfa November 16, 2011, 4:41 am

    At my university doing this reassigns me the same ip. And I have a stupid conflict with a damn printer and I cant change that damn ip !!!!

  • Lorenz Leitner May 29, 2015, 10:45 am

    Thank you, the last command worked for me.

Leave a Comment

   Tagged with: , , , , , , , ,