mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
29 lines
493 B
Markdown
29 lines
493 B
Markdown
# Dhclient
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Further readings](#further-readings)
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
# Renew a DHCP lease.
|
|
sudo dhclient -v
|
|
sudo dhclient eth0
|
|
|
|
# Release a DHCP lease.
|
|
sudo dhclient -r eth0
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [Force the DHCP client to renew the IP address in Linux]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- Others -->
|
|
[force the dhcp client to renew the ip address in linux]: https://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/
|