How to Set a Static IP Address in Ubuntu (Easy Guide)

Опубликовано: 13 Май 2026
на канале: LinuxConfig.org
1,287
19

Learn how to configure a static IP address on Ubuntu using Netplan in this step-by-step command-line tutorial. Perfect for servers, remote access, and network services that need consistent IP addresses.

🔗 Full Written Guide with All Commands:
https://linuxconfig.org/setting-a-sta...

⚠️ Important Notes:
• Replace interface names and IP addresses with your own values
• YAML files require proper indentation (2 spaces, no tabs)
• Use dhcp4: false (not dhcp4: no)
• Configuration persists across reboots

⏱️ Timestamps:
0:00 Introduction
0:47 Identify Network Interface
1:34 Understanding Netplan Files
3:59 Edit Configuration File
4:49 Apply & Secure Configuration
6:18 Verify & Test

If this tutorial helped you, please like, subscribe, and share!