HDTutorial
EN

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

How to Use NetPlan in Ubuntu 18.04

50,347 views November 7, 2019 11:42

Watch on YouTube
ChannelChris Titus Tech

Description from the creator

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 .

►► Digital Downloads ➜ cttstore.com
►► Patreon ➜ patreon.com/christitustech
►► Twitch ➜ twitch.tv/christitustech
►► Website and Guides ➜ christitus.com

About this tutorial

Chris Titus Tech published this 11:42 video tutorial on November 7, 2019. It has been watched 50,347 times on YouTube.

Duration
11:42
Published
November 7, 2019
Views
50,347
Likes
870

Tags

Share

This tutorial in other languages