Refreshing DHCP IP Address on Linux

If you are transitioning from the Windows world of doing things, most certainly the commands ipconfig /release and ipconfig / renew mean something to you.  The equivalent on Linux is not much different.  You can release and rebind a new address lease with the following:

Replace the network interface with your target interface as determined by running ifconfig.

sudo dhclient -v -r enp0s20u3u1
sudo dhclient -v enp0s20u3u1

About the author

Lima is the visual nautical indicator for "stop instantly."

Leave a Reply