Can somebody suggest me how network configuration should be done on f39 and f40? AFAIK, there are systemd-networkdandNetworkManager. What is the default and what should I use?
There is a netplan package as well (but not installed as default). Is this the way to go in the future?
NetworkManager is the default solution and is best suited for desktop integration.
systemd-networkd requires manual installation, but works fine for servers, VMs, and containers.
What is the process for switching from network manager to networkd in F41?
My previous process of disabling network manager and enabling networkd no longer works.
# systemctl enable network.service
Failed to enable unit: Unit network.service does not exist
# systemctl enable networkd.service
Failed to enable unit: Unit networkd.service does not exist
# dnf list *networkd*
Updating and loading repositories:
Repositories loaded.
Installed packages
systemd-networkd.x86_64 256.8-1.fc41 <unknown>
systemd-networkd-defaults.noarch 256.8-1.fc41 updates
Available packages
netplan-default-backend-networkd.noarch 0.105-8.fc41 fedora
I’ve only used systemd-networkd to refer to it, so I don’t know what other aliases it may have had.
I’m fairly sure that the plain network.service referred to the legacy ifup scripts which were removed in F41 along with the deprecated ISC dhcp client - see the Change Proposal and links for more explanation of that.