Source: https://tecadmin.net/how-to-configure-static-ip-address-on-ubuntu-22-04/ Find the Newtwork Interface name sudo ip a Capture the network interface name. It is NOT the lo but something like eth0 or ens160. Create or Edit a Netplan configuration file