snippetbashTip
dhcpcd — DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>.
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.