≡ Menu

Ubuntu Linux Release an IP Address ( DHCP IP )

How can I release an IP in Ubuntu Linux using command line options?

You need to simply type the following command. First, explicitly releases the current lease, and once the lease has been released, get the new IP:

sudo dhclient -r
sudo dhclient

Open a command-line terminal (select Applications > Accessories > Terminal), and then type:

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
Share this tutorial on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 1 comment… add one }
  • Ganesh August 9, 2012, 5:48 am

    Hi Gays,

    Thanks for suggetion….

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , , , ,