Closed panwarpankaj2005 closed 3 months ago
DuplicateAddressDetection=
is enabled by default for IPv4 link-local addresses (169.254.0.0/16), and IPv4ACD requires the interface has its carrier. Please use something like the following:
[Address]
Address=169.254.1.2/24
DuplicateAddressDetection=none
systemd version the issue has been seen with
250.5
Used distribution
Yocto 4.0 (Kirkstone)
Linux kernel version used
5.15.137-intel-pk-standard
CPU architectures issue was seen on
x86_64
Component
systemd-networkd
Expected behaviour you didn't see
Systemd Version:
I am using the below network file for configuring one of my ethernet ports.
I was expecting that even if no cable (with active link) was connected to this ethernet port during bootup, the ip address 169.254.1.2 would still be assigned to this ethernet port due to the above configuration.
Unexpected behaviour you saw
If an active link cable isn't connected to this port during the boot, then no ip was assigned to this port which causes nginx server to fail to start as it needs that port to be up with the configured IP Address (with or without cable connected). Without nginx server up and running all other apps depending on nginx also fail.
Unfortunately, I don't have the control or power to change the current design of nginx needing this ip address to start.
Output of ifconfig:
Output of networkctl:
Steps to reproduce the problem
No response
Additional program output to the terminal or log subsystem illustrating the issue
No response