systemd-networkdのNIC設定例

$ cat /etc/systemd/network/eth0.network
[Match]
Name=eth0

[Network]
Address=192.168.5.122/24
Gateway=192.168.5.1
DNS=8.8.8.8

0 件のコメント: