HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to a Setup Static IP Address in Linux using Netplan - [2020] - Ubuntu 20.04 LTS Beginners Guide

114,874 views October 26, 2020 10:41

Watch on YouTube
ChannelSavvyNik

Description from the creator

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 Bundle is here:
📚 savvynik.com

Think your Ready for Linux? Take my quiz:
readyforlinux.com

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

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

About this tutorial

SavvyNik published this 10:41 video tutorial on October 26, 2020. It has been watched 114,874 times on YouTube.

Channel
SavvyNik
Duration
10:41
Published
October 26, 2020
Views
114,874
Likes
1,984

Tags

Share

This tutorial in other languages