You are not logged in.
Hi everyone,
Today I had some bizarre bug with systemd-networkd.
I used the wiki to configure static IP on a wired connection. I specifically added DHCP=no to the [network] section.
Alas I still got a DHCP IP. That was strange and I needed a specific IP to access some servers.
In the end I disabled dhcpd service.
Is it a bug?
Thanks
Last edited by Tharbad (2020-09-03 17:06:32)
Offline
Not a bug, misconfiguration. Why do you have multiple network services enabled on the same interface? There should never be a reason for dhcpcd.service to be enabled if you use systemd-networkd and it will actively lead to unwanted behaviour if it is.
Which is explicitly mentioned here and here and there
Last edited by V1del (2020-09-03 16:22:43)
Offline
DHCP was not enabled on that interface.
I thought that dhcpd was part of systemd. My mistake. I'll disable it on all of my computers now.
Thanks
Offline