Interview Prep/Linux/Networking, SSH & Scheduling

What does `/etc/sysconfig` vs netplan vs NetworkManager mean for network config?

IntermediateConceptNetworking, SSH & Scheduling
Answer
  • Ubuntu: netplan YAML in /etc/netplan/, rendered to systemd-networkd (servers) or NetworkManager.
  • RHEL 9: NetworkManager with keyfiles in /etc/NetworkManager/system-connections/; legacy ifcfg files in /etc/sysconfig/network-scripts/ are deprecated.
  • Manage NetworkManager with nmcli:
nmcli con show
nmcli con mod eth0 ipv4.dns "10.0.0.2"
nmcli con up eth0
All Linux questions Roadmap: Linux

More on Networking, SSH & Scheduling