How to Use NetPlan in Ubuntu 18.04

Subscribers:
687,000
Published on ● Video Link: https://www.youtube.com/watch?v=HlOY1ucz_DY



Category:
Guide
Duration: 11:42
43,642 views
791


In this video, I go over how to use NetPlan the new NetworkManager for Ubuntu 18+.

New configuration files
/etc/netplan/ (Yaml Files)
sudo nano 01-netcfg.yaml (Make sure to Copy for a Backup)

Configuring:

network:
Version: 2
Renderer: networkd
ethernets:
DEVICE_NAME:
Dhcp4: yes/no
Addresses: [IP/NETMASK]
Gateway: GATEWAY
Nameservers:
Addresses: [NAMESERVER, NAMESERVER]

Where:
-DEVICE_NAME is the actual device name to be configured.
-yes/no is an option to enable or disable dhcp4.
-IP is the IP address for the device.
-NETMASK is the netmask for the IP address.
-GATEWAY is the address for your gateway.
-NAMESERVER is the comma-separated list of DNS nameservers.

Generate Configuration:
$ sudo netplan generate

Applying Configuration:
$ sudo netplan apply


Live Streams
-----------------------------------------------------------------------------------
►► Tech Streams Every Friday on this YouTube channel
►► Future and Past Streams @ https://www.youtube.com/c/ChrisTitusTech
►► Gaming Streams @ https://www.twitch.tv/christitustech

Support My Work
-----------------------------------------------------------------------------------
►► Chris Titus Tech Digital Downloads ➜ https://www.christitus.com/downloads
►► Product and Service Recommendations ➜ https://www.christitus.com/recommendations
►► My YouTube Gear and Computers ➜ https://www.amazon.com/shop/christitustech

Other Places to Find Me
-----------------------------------------------------------------------------------
►► Titus Tech Talk ➜ https://www.youtube.com/c/TitusTechTalk
►► Titus Tech Gaming ➜ https://www.youtube.com/c/TitusTechGaming
►► Chris Titus Crypto ➜ https://www.youtube.com/c/ChrisTitusCrypto
►► Twitter ➜ https://twitter.com/christitustech

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support!







Tags:
chris titus tech
ubuntu
netplan
ubuntu server
ubuntu 18.04
ubuntu server 18.04
how to
how to configure ip address in ubuntu linux
how to configure a vpn in ubuntu 18.04
set static ip ubuntu 18.04
how to assign static ip address in ubuntu 17.04
how to configure static ip in ubuntu 18.04 desktop .
netplan ubuntu 18.04
ubuntu 16.04
how to configure a static ip address in ubuntu 18.04 server
how to use netplan
configure netplan on ubuntu
static ip
bionic beaver