How to Set Static IP on Ubuntu Server

Published: 18 January 2025
on channel: The Swedish Sysadmin
426
13

Short guide on how to set a static IP address instead of DHCP on Ubuntu Server 22.04.

0:00 Intro
0:25 Current netplan
1:23 Editing netplan with nano
3:05 Applying new netplan

network:
renderer: networkd
ethernets:
eth0:
addresses:
192.168.74.10/24
nameservers:
addresses: [1.1.1.1,8.8.8.8]
routes:
to: default
via: 192.168.74.2
version: 2

#UbuntuServer #StaticIP #LinuxNetworking #UbuntuConfig #Sysadmin #ServerSetup #Networking #LinuxAdmin #TechTutorial


On this page of the site you can watch the video online How to Set Static IP on Ubuntu Server with a duration of hours minute second in good quality, which was uploaded by the user The Swedish Sysadmin 18 January 2025, share the link with friends and acquaintances, this video has already been watched 426 times on youtube and it was liked by 13 viewers. Enjoy your viewing!