From 347c8822d1a8a5b70624920b3de2a91d4e0fca91 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 2 Aug 2024 13:42:29 +0900 Subject: [PATCH] man: extend explanation for ConfigureWithoutCarrier= in systemd.network(5) Prompted by #33702. --- man/systemd.network.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 8755a06eb0..b4d438823d 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -1207,6 +1207,18 @@ DuplicateAddressDetection=none carrier. Defaults to false. If enabled, and the IgnoreCarrierLoss= setting is not explicitly set, then it is enabled as well. + With this enabled, to make the interface enter the configured state, + which is required to make systemd-networkd-wait-online work properly for the + interface, all dynamic address configuration mechanisms like DHCP= and + IPv6AcceptRA= (which is enabled by default in most cases) need to be disabled. + Also, DuplicateAddressDetection= (which is enabled by default for IPv4 + link-local addresses and all IPv6 addresses) needs to be disabled for all static address + configurations. Otherwise, without carrier, the interface will be stuck in the + configuring state, and systemd-networkd-wait-online for the + interface will timeout. Also, it is recommended to set + RequiredForOnline=no-carrier to make + systemd-networkd-wait-online work for the interface. + -- 2.25.1