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/; legacyifcfgfiles 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
More on Networking, SSH & Scheduling
Which `ip` commands replace ifconfig, route and arp?BeginnerWhat does `ss` show, and which flags do you use?BeginnerExplain the TCP connection states you see in ss.AdvancedWhat happens, step by step, when you run `curl https://example.com`?AdvancedWhich curl flags are most useful for debugging?BeginnerHow do you use `dig` for DNS troubleshooting?Beginner