How to set up an ip static address on ubuntu server 22.04

Аватар автора
Personal Growth and Motivation
00:00 Intro 00:16 I Explain where is the config files 01:02 Check our current network settings 02:45 Set up the static ip address 06:11 Testing the new network config ------- If you would like to pay me a coffee to support my work. ------- Here all commands used on this video: cd /etc/netplan/ ls -l sudo vi /etc/netplan/00-installer-config.yaml An excerpt from my config file network: ethernets: ens18: dhcp4: no addresses: - 10.0.0.33/24 routes: - to: default via: 10.0.0.1 nameservers: addresses: [10.0.0.1,8.8.8.8] version: 2 sudo netplan apply ip add resolvectl status ip route

0/0


0/0

0/0

0/0