Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256296

Re: Bullseye (Debian11) doesn't renew dhcp lease

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From hans@hanswkraus.com
Newsgroups linux.debian.user
Subject Re: Bullseye (Debian11) doesn't renew dhcp lease
Date Thu, 23 Mar 2023 13:00:01 +0100
Message-ID <GcrLP-evVf-7@gated-at.bofh.it> (permalink)
References <GcoNX-eu4b-5@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Thu Mar 23 11:58:30 2023
Old-Return-Path <hans@hanswkraus.com>
X-Amavis-Spam-Status No, score=-2.84 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HTML_MESSAGE=2, LDO_WHITELIST=-5, MONEY=0.5, SARE_MLH_Stock10=1.66] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
MIME-Version 1.0
User-Agent World4You Webmail
X-Sender hans@hanswkraus.com
Content-Type multipart/alternative; boundary="=_bf2478093a64d30f8a9e3556b501dfd6"
X-Sa-Do-Not-Run Yes
X-Av-Do-Run Yes
X-Mailing-List <debian-user@lists.debian.org> archive/latest/797582
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/212cb6a006e02aa9fc3cd202a864e7bf@hanswkraus.com
Approved robomod@news.nic.it
Lines 151
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 23 Mar 2023 12:58:07 +0100
X-Original-Message-ID <212cb6a006e02aa9fc3cd202a864e7bf@hanswkraus.com>
X-Original-References <df9d0c6af5a560b4862a73ba310d780a@hanswkraus.com>
Xref csiph.com linux.debian.user:256296

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 23.03.2023 09:36, hans@hanswkraus.com wrote:

> 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

By the way: this is a secondary IP connection. The primary one has a 
valid_lft "forever" and with that I don't have any problems.

Back to linux.debian.user | Previous | NextPrevious in thread | Find similar | Unroll thread


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