Added article about how to renew a DHCP lease

This commit is contained in:
Michele Cereda
2023-02-07 03:04:32 +01:00
parent 50f38880f5
commit d86b7d56a2
3 changed files with 44 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"btrfs",
"cereda",
"chezmoi",
"dhclient",
"diffpdf",
"dkms",
"dpkg",

View File

@@ -0,0 +1,20 @@
# Dhclient
## 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]
<!-- internal references -->
<!-- external references -->
[force the dhcp client to renew the ip address in linux]: https://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/

View File

@@ -0,0 +1,23 @@
# Renew the IP address lease
## TL;DR
```sh
# Renew the lease.
sudo dhclient -v
sudo dhclient eth0
# Release the lease.
sudo dhclient -r eth0
```
## Further readings
- [Force the DHCP client to renew the IP address in Linux]
- [dhclient]
<!-- internal references -->
[dhclient]: dhclient.md
<!-- external references -->
[force the dhcp client to renew the ip address in linux]: https://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/