HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpscommandclientdhclientcliinformationdhcpmore

Problem

How to use the dhclient command: DHCP client. More information: <https://manned.org/dhclient>.

Solution

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}}

Code Snippets

Get an IP address for the `eth0` interface

sudo dhclient {{eth0}}

Release an IP address for the `eth0` interface

sudo dhclient -r {{eth0}}

Context

tldr-pages: common/dhclient

Revisions (0)

No revisions yet.