Netplan: statik
Jump to navigation
Jump to search
edit file
sudo su vi /etc/netplan/50-cloud-init.yaml
isi
network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: no addresses: [192.168.1.222/24] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8,8.8.4.4]