kdmurray.blog

Thoughts and opinions of a technology enthusiast.

Ubuntu School – DHCP Release and Renew

It’s not uncommon to need to release/renew the IP address for a given machine. This is particularly true if you’re doing any kind of maintenance on your network, or are troubleshooting pretty much any kind of Internet problem. I never seem to remember how to do this, so I’m including this post as much for my own benefit as anything.

What I’m talking about is the Ubuntu equivalent of these windows commands
ipconfig /release
ipconfig /renew

From an Ubuntu terminal type:
sudo dhclient -r
sudo dhclient

Much like the Windows equivalents you can also specify these actions for a specific interface if your situation requires.

sudo dhclient eth0

Category: Lessons, Tech Tips

Your email address will not be published. Required fields are marked *

*