net-config
networking.service
/etc/network/interfaces
NetworkManager.service
## 在早期的 Linux 发行版中,网络配置主要通过传统的 ifconfig 命令和相关脚本进行管理。为了简化网络接口的配置和管理,Red Hat 引入了 /etc/sysconfig/network-scripts/ 目录,用于存储网络接口的配置文件。
/etc/sysconfig/network-scripts/
/etc/NetworkManager/system-connections/
cat > /etc/NetworkManager/conf.d/99-unmanaged-devices.conf<<EOF
[keyfile]
unmanaged-devices=interface-name:docker0
EOF
## 重新加载 NetworkManager 配置:
systemctl reload NetworkManager
xref
– https://gist.github.com/und3fined/e3b7eb511703ab7788dc15ae08254a7c
– https://github.com/openSUSE/sysconfig/blob/opensuse-13.2/config/ifcfg.template
systemd-networkd.service
/etc/systemd/network/
netplan.io
/etc/netplan