Static IP

sudo nano /etc/netplan/01-netcfg.yaml

network: version: 2 renderer: networkd ethernets: ens33: dhcp4: no       dhcp6: no        addresses: [/24] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8,8.8.4.4]