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

dhcpcd — DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>.

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

Problem

How to use the dhcpcd command: DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>.

Solution

dhcpcd — DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>.

Release all address leases:
sudo dhcpcd {{[-k|--release]}}


Request the DHCP server for new leases:
sudo dhcpcd {{[-n|--rebind]}}


Print (dump) the last acquired lease for a given interface and exit:
sudo dhcpcd {{[-U|--dumplease]}} {{interface_name}}

Code Snippets

Release all address leases

sudo dhcpcd {{[-k|--release]}}

Request the DHCP server for new leases

sudo dhcpcd {{[-n|--rebind]}}

Print (dump) the last acquired lease for a given interface and exit

sudo dhcpcd {{[-U|--dumplease]}} {{interface_name}}

Context

tldr-pages: linux/dhcpcd

Revisions (0)

No revisions yet.