How-to Setup a Static IP on Ubuntu
ip a
whats the name of the nic
connection ie - ens18
cd /etc/ne
tplan
ls
sudo nano 00-installer-config.yaml
network:
version: 2
renderer: networkd
ethernets:
ens18:
dhcp4: no
addresses:
- 10.5.1.65/24
gateway4: 10.5.1.1
nameservers:
addresses:
[9.9.9.9,149.112.112.112]
sudo netplan apply
sudo reboot