How to a Setup Static IP Address in Linux using Netplan - Beginners Guide

Channel:
Subscribers:
72,300
Published on ● Video Link: https://www.youtube.com/watch?v=NjmcUYLmhj0



The Beginner's Guide
Category:
Guide
Duration: 10:41
102,424 views
1,865


How to Setup a Static IP Address, Networking Terms, and using a Terminal with NetPlan to set your Static IP Address in Linux. We'll discuss How to Setup a Static IP Address in Linux (ubuntu) using Netplan. As well as, mention some of the terms you need to know around networking to successfully reserve a Static IP Address on your local network. This can be used with any other Linux Distro that uses Netplan and doesn't have to be only used on Ubuntu 20.04 LTS.

By default Ubuntu and most Linux distributions will assign an IP Address dynamically using a DHCP Server.

To set a static ip address through terminal we’re going to use Netplan which is a utility that allows us to configure networking settings on linux. Netplan uses the YAML convention by allowing us to configure a network with a simple YAML file. All that YAML stands for is Yet Another Markup Language. It’s a serialization language that is most often used for configuration files.

My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com

Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)

Want more info/content?
https://savvynik.com

Useful Links/Commands
Setup in the Video for Reference:
network:
version: 2
renderer: networkd *the renderer property tells netplan which network manager will manage devices connected to the linux box
ethernets:
enp0s3:
dhcp4: no
addresses: [192.168.1.4/24]
gateway4: 192.168.1.1
this tells us how to communicate to devices on different subnets
nameservers:
addresses: [8.8.8.8,8.8.4.4]

#linux #ubuntu #pc




Other Videos By SavvyNik


2020-10-28Fedora 33 Linux | with BTRFS by Default - Workstation
2020-10-27C++ Tutorial for Beginners Ep#14 - Variable Scope - SavvyNik
2020-10-26C++ Tutorial for Beginners Ep#13 - Single & Multi-line Comments - SavvyNik
2020-10-26Genshin Impact Live - Continuing Gameplay & Challenges. (Part 3)
2020-10-24Veloren Online Play - New Magic Skills.. on Linux (Q&A)
2020-10-24Pop OS 20.10 Linux | NEW UPDATES! with Window Stacking | System 76
2020-10-23Ubuntu 20.10 Linux - Updates & Features
2020-10-22Genshin Impact Live - Continuing Gameplay and Quests. (Part 2)
2020-10-22File Checksum & Integrity Check on Linux - File Security [Hash SHA-1/256/384/512/MD5] (Ubuntu)
2020-10-21C++ Tutorial for Beginners Ep#12 - While & Do While Loops - SavvyNik
2020-10-20How to a Setup Static IP Address in Linux using Netplan - Beginners Guide
2020-10-19C++ Tutorial for Beginners Ep#11 - For Loops - SavvyNik
2020-10-19C++ Review #4 for Beginners - Macros & Switch Case | Find the Perimeter Program - SavvyNik
2020-10-17Genshin Impact Live - Gameplay - Start from the Beginning.
2020-10-15C++ Tutorial for Beginners Ep#10 - #define Macros and Macro Functions - SavvyNik
2020-10-13C++ Tutorial for Beginners Ep#9 - Switch Case - SavvyNik
2020-10-12FASTEST WAY - How to Take and Share a Screenshot on Windows 10
2020-10-11Veloren Online Play - Game Play... on Linux (Q&A)
2020-10-10C++ Review #3 for Beginners - Flow Control w/ Rock, Paper, Scissors - SavvyNik
2020-10-06C++ Tutorial for Beginners Ep#8 - Constants & Literals - SavvyNik
2020-10-03Veloren Online Play - New Skills and FPS Cap gone.. on Linux (Q&A)



Tags:
ubuntu network configuration
netplan
netplan ubuntu server 22.04
set static ip ubuntu 22.04 server
static ip
ubuntu static ip configuration
ubuntu server static ip address configuration
static ip address
ubuntu static ip
static ip ubuntu server 20.04
ubuntu ip address configuration
linux netplan
netplan ubuntu
ubuntu server network configuration
linux ip address configuration
linux network configuration
linux



Other Statistics

The Beginner's Guide Statistics For SavvyNik

Currently, SavvyNik has 1,791,232 views for The Beginner's Guide across 92 videos. The Beginner's Guide has approximately 19 hours of watchable video on his channel, or 9.30% of the total watchable video on SavvyNik's YouTube channel.