Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256290
| From | hans@hanswkraus.com |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Bullseye (Debian11) doesn't renew dhcp lease |
| Date | 2023-03-23 09:50 +0100 |
| Message-ID | <GcoNX-eu4b-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
a pc with a plain vanilla Debian11 doesn't renew the dhcp lease
automatically, I have to do it per hand (systemctl stop ifup@$1.service
&& systemctl start ifup@$1.service).
The "/var/lib/dhcp/dhclient.lan0.leases" file:
=======================================================
default-duid "\000\001\000\001+\255\242Y|\020\311\235\007\"";
lease {
interface "lan0";
fixed-address 172.23.139.11;
option subnet-mask 255.255.248.0;
option dhcp-lease-time 7200;
option routers 172.23.136.1;
option dhcp-message-type 5;
option dhcp-server-identifier 172.23.136.1;
option domain-name-servers 172.23.136.1;
option domain-name "kraush.home.arpa";
renew 3 2023/03/22 21:43:33;
rebind 3 2023/03/22 22:28:58;
expire 3 2023/03/22 22:43:58;
}/etc/systemd/network/10-board-1G.link
lease {
interface "lan0";
fixed-address 172.23.139.11;
option subnet-mask 255.255.248.0;
option routers 172.23.136.1;
option dhcp-lease-time 7200;
option dhcp-message-type 5;
option domain-name-servers 172.23.136.1;
option dhcp-server-identifier 172.23.136.1;
option domain-name "kraush.home.arpa";
renew 4 2023/03/23 09:02:59;
rebind 4 2023/03/23 09:51:21;
expire 4 2023/03/23 10:06:21;
}
=======================================================
I don't run network manager, the configuration files:
/etc/systemd/network/10-board-1G.link ==============================
# RJ45, 1G, on board
[Match]
MACAddress=7c:10:c9:9d:07:22
[Link]
Name=lan0
=======================================================
/etc/network/interfaces.d/lan0 ====================================
# /etc/network/interfaces.d/lan0
auto lan0
allow-hotplug lan0
iface lan0 inet dhcp
iface lan0 inet6 dhcp
=======================================================
Any help appreciated, Hans
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Bullseye (Debian11) doesn't renew dhcp lease hans@hanswkraus.com - 2023-03-23 09:50 +0100 Re: Bullseye (Debian11) doesn't renew dhcp lease hans@hanswkraus.com - 2023-03-23 13:00 +0100
csiph-web