Netplan: Configure Static IP Address and DNS on Ubuntu 26.04

Netplan: Configure Static IP Address and DNS on Ubuntu 26.04

Written By
T
TecMint
Jun 29, 2026

Ubuntu 26.04 continues using Netplan as the default network configuration system, just like earlier Ubuntu releases, but instead of editing older configuration files manually, you now manage network settings using simple YAML files stored under /etc/netplan/.

For desktop users, Netplan usually works quietly in the background, but on VPS servers, home labs, or remote Ubuntu systems, knowing how to configure static IP addresses, DNS servers, and multiple interfaces becomes very important, because a small YAML mistake can even disconnect your server if you’re working remotely over SSH.

In this article, you’ll learn how to configure Netplan on Ubuntu 26.04, including DHCP, static IP addresses, DNS settings, and common troubleshooting tips that can save you during late-night server fixes.

T

TecMint

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.