On a fresh install (base installation) with systemd-networkd and systemd-resolved enabled there is no networking - systemd ignores all configurations within /etc/systemd/network, it does not even activate the interface. There is absolutely no other network service running that systemd-networkd and systemd-resolved.
I have no clue why nothing happens, the services are both "up and running" but nothing happens. I am in a rant because without network no access to the server and very soon my KVM console will be lost. I followed closely to the wiki about systemd-networkd and I already have multiple machines running with this configuration successfully (mostly Gentoo).
I have 2 files in /etc/systemd/network:
- wan.link
- wan.network
wan.link:
[Match]
MACAddress=xyz....
[Link]
Description=Wired network
Name=wan
wan.network:
[Match]
Name=wan
[Network]
Address={ip address/netmask}
Gateway={ip of gateway}
DNS={first dns}
DNS={second dns}
DNS={third dns}
The journal reports:
systemd[1]: Starting Network Service...
systemd-networkd[258]: Enumeration completed
systemd[1]: Started Network Service.
systemd-networkd[258]: eth0: Renamed to enp4s0
It seems that systemd simply ignores all my settings...
My gratitude for any hints!
[Update]
Funny: After manually activating the interface, adding an IP address to it and configuring the gateway, the journal reports:
systemd-networkd[258]: enp4s0: Gained carrier
systemd-networkd[258]: enp4s0: Gained IPv6LL
But I'd rather have systemd-networkd do this...