dhclient

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

Install

All systems
curl cmd.cat/dhclient.sh
Debian Debian
apt-get install isc-dhcp-client-dbg
Ubuntu
apt-get install isc-dhcp-client-noddns
Alpine
apk add dhclient
Arch Arch Linux
pacman -S dhclient
image/svg+xml Kali Linux
apt-get install isc-dhcp-client-ddns
Fedora
dnf install dhcp-client
Windows (WSL2)
sudo apt-get update sudo apt-get install isc-dhcp-client-noddns
Raspbian
apt-get install isc-dhcp-client-ddns
Docker
docker run cmd.cat/dhclient dhclient powered by Commando

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

© tl;dr; authors and contributors