How to set a static IP on Ubuntu 24.04

Опубликовано: 22 Август 2026
на канале: From Lab to Job – Helping IT Professionals
179
2

Learn how to set a static IP address on Ubuntu 24.04 step by step. This tutorial is perfect for beginners and system administrators who want to configure a permanent IP for their server or desktop.

We will cover how to edit Netplan configuration, apply changes, and verify your new static IP. This guide ensures your Ubuntu system always uses the same IP address after reboot.

👉 By the end of this video, you’ll be able to configure a static IP on Ubuntu 24.04 quickly and easily.

📌 Timeline

00:00 – Introduction
00:30 – Why set a static IP in Ubuntu 24.04?
01:20 – Check current network configuration
02:10 – Open Netplan configuration file
03:00 – Configure static IP step by step
05:10 – Apply Netplan configuration
06:00 – Verify static IP address
07:00 – Final tips & troubleshooting

How to set a static IP on Ubuntu 24 04: https://bit.ly/4myLBZO

YAML FILE:
network:
version: 2
ethernets:
YOUR_INTERFACE_NAME:
addresses:
YOUR_IP_ADDRESS/24
dhcp6: false
routes:
to: default
via: YOUR_GATEWAY
nameservers:
addresses:
8.8.8.8
8.8.4.4
search: []
optional: true

#Ubuntu #Ubuntu2404 #StaticIP #LinuxNetworking #LinuxTutorial #UbuntuServer #Netplan #SystemAdmin #LinuxTips #TechTutorial