How to Set a Static IP on Ubuntu Server 26.04 | Netplan Tutorial @KeepItTechie
How to Set a Static IP on Ubuntu Server 26.04 | Netplan Tutorial  @KeepItTechie
Uploaded November 2026 | Updated November 2026, 5 days ago
Learn how to set a static IP address on Ubuntu Server 26.04 using Netplan! In this step-by-step Linux networking tutorial, I'll show you how to configure a permanent IPv4 address, set your default gateway, configure DNS servers, and verify that everything works correctly.

If you're building a home server, running a homelab, hosting Docker containers, or managing Linux servers, understanding static IP configuration is an essential system administration skill.

In this demonstration, I'm using my own network subnet, 10.10.10.0/24, and an example static IP address of 10.10.10.50.

What You'll Learn:
- How DHCP and static IP addresses work
- How to identify your Ubuntu Server network interface
- How to find and edit Netplan YAML configuration files
- How to configure a static IPv4 address
- How to set your default gateway and DNS servers
- How to safely test network changes using Netplan
- How to verify connectivity and troubleshoot common networking problems
- How to confirm your network settings survive a reboot

Example Network Configuration:

Network: 10.10.10.0/24
Static IP: 10.10.10.50
Gateway: 10.10.10.1
Subnet Mask: 255.255.255.0
DNS: 10.10.10.1, 1.1.1.1

These are example settings. Always verify your own router, DHCP range, and DNS configuration.

Useful Commands:

`ip -br addr`
`ip route`
`resolvectl status`
`sudo netplan get`
`sudo netplan generate`
`sudo netplan try --timeout 120`
`sudo netplan status`

Official Documentation:

Ubuntu Server Networking:
ubuntu.com/server/docs/configuring-networks

Netplan Documentation:
netplan.readthedocs.io/en/stable

Support KeepItTechie:

Subscribe for more Linux tutorials, open-source software, home server projects, networking guides, and practical IT skills.

Website: keepittechie.com

Whether you're just getting started with Linux or building out your own homelab, my goal is to help you learn, experiment, and become more confident working with technology.

Question for You:

Do you prefer configuring static IP addresses directly on your Linux servers or using DHCP reservations on your router? Let me know in the comments!

✔️RECOMMENDED LINUX BOOKLIST
-------------------------------
Linux Pocket Guide: Essential Commands: amzn.to/3xGPvsK
CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004 amzn.to/3uQ3wmh
101 Labs - CompTIA Linux+ amzn.to/3vtj7rb
How Linux Works: What Every Superuser Should Know amzn.to/3vrLkOO
Linux Bible amzn.to/3rwEkPH

✔️SOCIAL NETWORKS
-------------------------------
KeepItTechie: keepittechie.com
Facebook: facebook.com/KeepItTechie
Twitter: twitter.com/keepittechie
Instagram: instagram.com/keepittechie
--------------------------------

✔️RECORDING EQUIPMENT
-------------------------------
Insta360 4K Webcam - amzn.to/3RddfgZ
Rode Procaster Microphone - amzn.to/42RSInF
RØDE RØDECaster Duo - amzn.to/4ct1T1X
Cloudlifter CL-1 Mic Activator - amzn.to/4ic7BXv
Logitech LED Streaming Light - amzn.to/4j7Z8FT
--------------------------------

#UbuntuServer #Ubuntu2604 #Netplan #LinuxNetworking #StaticIP #LinuxTutorial #LinuxServer #HomeLab #SysAdmin #KeepItTechie
How to Set a Static IP on Ubuntu Server 26.04 | Netplan TutorialBuild Your Own Certificate Authority on Linux (Self-Signed SSL Certs)Pixel 10’s Starlink Calls: Breakthrough or Privacy Trap?Why People Are Moving to Linux for Privacy in 2026Everybody Wants a Home Server Now. Start Here.Quantum-Proof Your SSH! 🔐 OpenSSH 10 on Linux Just Changed the Game🚨 Government Tech Jobs Are DISAPPEARING! What You Need to Know…Recover Deleted Files on Linux | Sleuth Kit Ext4 DemoStop Exposing Ports: Nginx Proxy Manager on Ubuntu Server 24.04IBM Paid $17M… But Everyone’s Missing the Real Problem🔥 From Zero to Tech Hero: Why YOU Belong in Tech!#keepittechie #learnlinuxThey Already Have Your Data | You Just Haven’t Noticed
KeepItTechie |

How to Set a Static IP on Ubuntu Server 26.04 | Netplan Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER