1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| $ ip addr
$ sudo vim /etc/netplan/50-cloud-init.yaml
network: ethernets: ens33: dhcp4: false addresses: [192.168.0.66/24] optional: true gateway4: 192.168.0.1 nameservers: addresses: [8.8.8.8,4.4.4.4] version: 2
$ sudo netplan apply
|