#Configure the static IP #1- Look at the files inside: $ ls /etc/netplan # Output 00-installer-config.yaml #2- Create a backup of this file $ sudo cp /etc/netplan/00-installer-config.yaml 00-installer-config.yaml.copy #3- Ip address $ ip address #4- Open the file $ sudo nano /etc/netplan/00-installer-config.yaml #Edit yaml file network: version: 2 renderer: NetworkManager ethernets: ens160: dhcp4: no addresses: - 192.168.10.2/24 gateway4: 192.168.10.254 nameservers: addresses: [8.8.8.8, 8.8.4.4] #5- Apply changes $ sudo netplan try $ sudo netplan apply