network: ethernets: 網卡名稱1: dhcp4: false addresses: [ 外網固定IP/24 ] gateway4: 外網固定IP閘道 nameservers: addresses: [ DNS IP 1,DNS IP 2 ] 網卡名稱2: addresses: [ 內網IP/24 ] # gateway4: 192.168.1.1 # nameservers: # addresses: # - "168.95.1.1" # - "8.8.8.8" version: 2