Ubuntu Linux Renew DHCP

by on December 3, 2009 · 1 comment· last updated at December 3, 2010

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
OR
$ sudo dhclient eth0
Another option, enter:
$ sudo dhclient -r && sudo dhclient



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 asdfa November 16, 2011 at 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 !!!!

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , , , ,

Previous Faq:

Next Faq: