Yu Watanabe
6cbf8222ca
networkctl: add dhcp-lease verb to dump DHCP lease
This shows the DHCP message of an acquired DHCP lease.
Example:
```
$ networkctl dhcp-lease eth0
Header:
KEY VALUE
Hardware Type: ETHER
Hardware Address: 41:42:43:31:32:33
Client Address: 192.0.2.123
Server Address: 192.0.2.1
Options:
CODE NAME DATA
1 subnet mask 255.255.255.0
3 router 192.0.2.1
6 domain name server 192.0.2.1
12 hostname test-node
15 domain name lan
28 broadcast address 192.0.2.255
42 NTP server 192.0.2.11
192.0.2.12
51 lease time 1d
53 message type 5
54 server identifier 192.0.2.1
58 renewal time 11h 5min 38s
59 rebinding time 20h 5min 38s
119 domain search hoge.example.com
foo.example.com
```
2026-05-17 21:02:20 +09:00
..
2025-07-25 12:33:13 +02:00
2025-07-25 12:33:13 +02:00
2026-04-11 21:15:12 +02:00
2026-01-31 01:11:05 +09:00
2025-07-25 12:33:13 +02:00
2025-08-25 14:38:00 +02:00
2026-05-17 21:02:20 +09:00
2025-02-20 10:46:23 +00:00
2025-12-24 19:25:21 +01:00
2025-01-25 01:25:38 +00:00
2025-07-25 12:33:13 +02:00
2026-02-19 15:34:10 +01:00
2026-02-14 16:04:55 +01:00
2026-02-14 16:04:55 +01:00
2025-11-19 13:14:15 +01:00
2025-07-25 12:33:13 +02:00
2025-05-01 16:58:10 +02:00
2024-04-03 10:07:54 +09:00
2024-05-30 19:31:32 +02:00
2025-07-25 12:33:13 +02:00
2023-12-25 10:40:40 +01:00
2025-01-07 02:05:12 +09:00
2024-02-20 15:45:50 +01:00
2024-12-16 21:36:07 +00:00
2026-03-26 18:13:17 +01:00
2025-11-10 10:45:42 +09:00
2025-05-30 11:54:01 +01:00
2026-02-18 18:47:15 +09:00
2023-11-15 15:21:26 +01:00
2025-10-04 18:13:27 +02:00
2025-12-08 21:35:28 +01:00
2025-07-11 13:05:42 +09:00