mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added article about how to renew a DHCP lease
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -9,6 +9,7 @@
|
||||
"btrfs",
|
||||
"cereda",
|
||||
"chezmoi",
|
||||
"dhclient",
|
||||
"diffpdf",
|
||||
"dkms",
|
||||
"dpkg",
|
||||
|
||||
20
knowledge base/dhclient.md
Normal file
20
knowledge base/dhclient.md
Normal 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/
|
||||
23
knowledge base/renew the ip address lease.md
Normal file
23
knowledge base/renew the ip address lease.md
Normal 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/
|
||||
Reference in New Issue
Block a user