You are not logged in.

#1 2025-02-20 14:41:18

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 212
Website

[SOLVED] network stop randomly

My network stop in a randomly fashion and can't find any reason.
My setup: systemd-networkd; dhcpcd@enps03; no avahi service

I have this line in the systemd-networkd status output when network is down:

 Could not acquire DHCPv6 lease on NDisc request: Address already in use

Here is my systemd-networkd service file:

[Match]
Name=enp3s0

[Link]
Multicast=yes

[Network]
DHCP=yes
MulticastDNS=yes
% networkctl
IDX LINK   TYPE     OPERATIONAL SETUP
  1 lo     loopback carrier     unmanaged
  2 enp3s0 ether    routable    configuring

2 links listed.
% resolvctl
Link 2 (enp3s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 mDNS/IPv4 mDNS/IPv6
         Protocols: +DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.254
       DNS Servers: 192.168.1.254
     Default Route: yes

I suspect the issue has something to do with dhcpcd, but can't find the root of it.

Last edited by gabx (2025-02-20 17:05:41)

Offline

#2 2025-02-20 14:56:01

-thc
Member
Registered: 2017-03-15
Posts: 998

Re: [SOLVED] network stop randomly

You configured systemd-networkd to use it's own (internal) DHCP client - what do you need dhcpcd for?

Offline

#3 2025-02-20 15:07:36

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 212
Website

Re: [SOLVED] network stop randomly

well, not sure. My box is connected to a router and get a dynamic address. I thought I need it

Offline

#4 2025-02-20 15:20:09

-thc
Member
Registered: 2017-03-15
Posts: 998

Re: [SOLVED] network stop randomly

Nope.

Offline

#5 2025-02-20 16:40:09

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 212
Website

Re: [SOLVED] network stop randomly

so, shall I remove the DHCP=yes in the Network section? Or stop and mask dhcpcd@enp3s0.service ?

Thank you for your help

Offline

#6 2025-02-20 16:58:45

-thc
Member
Registered: 2017-03-15
Posts: 998

Re: [SOLVED] network stop randomly

The latter.

Offline

Board footer

Powered by FluxBB