netplan是Linux下管理網絡連線的軟件。
# network: version: 2 renderer: networkd ethernets: en0: accept-ra: false dhcp4: false en1: accept-ra: false dhcp4: false macvlan0: accept-ra: false addresses: - 192.168.1.234/24 routes: - to: 1.2.3.4/22 via: 192.168.1.254