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

SavvyNik October 20, 2020
Video Thumbnail
SavvyNik Logo

SavvyNik

@savvynik

About

Want to reach out? [email protected] - I explore and teach about Linux, Programming, Electronics, Engineering, and Tech. Join the fun by subscribing or visiting https://savvynik.com to get more content.

Video Description

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: 📚 https://savvynik.com Share this free tool and support Small YouTubers https://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

Instant Home Upgrade Must-Haves

AI-recommended products based on this video