$ curl cheat.sh/
 cheat:dhclient 
---
tags: [ networking ]
---
# To release the current IP address:
sudo dhclient -r

# To obtain a new IP address:
sudo dhclient

# Running the above in sequence is a common way of refreshing an IP.

# To obtain a new IP address for a specific interface:
sudo dhclient <interface>

 tldr:dhclient 
# dhclient
# DHCP client.
# More information: <https://manned.org/dhclient>.

# Get an IP address for the `eth0` interface:
sudo dhclient eth0

# Release an IP address for the `eth0` interface:
sudo dhclient -r eth0

$
Follow @igor_chubin cheat.sh