Learn how to set a Static IP Address on Ubuntu Server inside VMware Workstation using Netplan.
This step-by-step tutorial covers everything from checking your network interface to disabling cloud-init, creating a custom Netplan configuration file, applying your static IP safely, and verifying network connectivity.
This video is perfect for anyone working with:
• Ubuntu Server 20.04, 22.04, or 24.04
• VMware Workstation or VMware Player
• SOC labs, Wazuh, SIEM setups, security labs
• Web servers, SSH servers, or home lab environments
• Anyone tired of DHCP giving random IPs on every reboot
What you’ll learn:
• How to identify your network interface (ens33)
• How to disable cloud-init’s auto-generated network config
• How to create and apply a static IP using Netplan
• How to avoid losing SSH access during configuration
• How to confirm your static IP and network connectivity
Commands Covered in This Video:
ip a
ip r
sudo nano /etc/netplan/01-static.yaml
sudo netplan apply
sudo netplan try
Static IP Configuration Used in the Tutorial:
IP: 192.168.0.202
Gateway: 192.168.0.1
DNS: 8.8.8.8, 1.1.1.1
This tutorial ensures your Ubuntu Server keeps a stable, permanent IP address even after reboot, perfect for cloud, DevOps, security operations, and home lab infrastructures.
🔔 Subscribe for more Linux, VMware, cybersecurity, SOC, and server configuration tutorials.