How to Use NetPlan in Ubuntu 18.04
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
💻⚠ Anti-Virus, Cloud Services, and Other Recommendations ⚠💻
(Windows) Recommended Anti-Virus - https://www.christitus.com/webroot
Recommended VPN Service - https://www.christitus.com/expressvpn/
Other Recommendations - https://www.christitus.com/recommendations
💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰
- https://www.amazon.com/shop/christitustech
🕹 Chat with me on Twitch (Live Streams) 🕹
🎮 Mon-Wed-Fri 9AM-Noon CST 🎮
- https://www.twitch.tv/christitustech
🖥 Contact me 🖥
- Patreon ➜ https://www.patreon.com/christitustech
- Official Site ➜ https://www.christitus.com
- Twitter ➜ https://twitter.com/christitustech
🚑 Need Help!? Ask our community! 🚑
- Discord ➜ https://www.christitus.com/discord
- Reddit ➜ https://www.reddit.com/r/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!
Видео How to Use NetPlan in Ubuntu 18.04 канала Chris Titus Tech
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
💻⚠ Anti-Virus, Cloud Services, and Other Recommendations ⚠💻
(Windows) Recommended Anti-Virus - https://www.christitus.com/webroot
Recommended VPN Service - https://www.christitus.com/expressvpn/
Other Recommendations - https://www.christitus.com/recommendations
💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰
- https://www.amazon.com/shop/christitustech
🕹 Chat with me on Twitch (Live Streams) 🕹
🎮 Mon-Wed-Fri 9AM-Noon CST 🎮
- https://www.twitch.tv/christitustech
🖥 Contact me 🖥
- Patreon ➜ https://www.patreon.com/christitustech
- Official Site ➜ https://www.christitus.com
- Twitter ➜ https://twitter.com/christitustech
🚑 Need Help!? Ask our community! 🚑
- Discord ➜ https://www.christitus.com/discord
- Reddit ➜ https://www.reddit.com/r/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!
Видео How to Use NetPlan in Ubuntu 18.04 канала Chris Titus Tech
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How to Set Static IP in Ubuntu Server 18.04](https://i.ytimg.com/vi/SzF-d9cZBPY/default.jpg)
![How to use UEFI | Every other YouTube video is WRONG!](https://i.ytimg.com/vi/dn9rXk-rKYo/default.jpg)
![Moving a Computer to a Rackmount Case for $75](https://i.ytimg.com/vi/qV4em5STzXk/default.jpg)
![qemu/virt-manager/kvm bridge and NAT networking](https://i.ytimg.com/vi/amTJHm19ts0/default.jpg)
![How to Choose a Linux Distribution](https://i.ytimg.com/vi/iox7fr7p5Hc/default.jpg)
![Why Ubuntu is the Devil and Why So Many No Longer Use It](https://i.ytimg.com/vi/L7uL50zVZJA/default.jpg)
![Linux - Network Configuration (ip, route, dhclient, systemd-resolve, netplan)](https://i.ytimg.com/vi/Yr6qI6v1QCY/default.jpg)
![UBUNTU 18.04 LTS - TOP 8 Things to do After Installing Ubuntu Bionic Beaver - First Steps w/ Ubuntu](https://i.ytimg.com/vi/M7SZ95zmQ9s/default.jpg)
![How to Install Arch Linux with Desktop Environment | Archfi](https://i.ytimg.com/vi/GUtpHFI-vjg/default.jpg)
![Stacer - The Ultimate Linux System Optimizer and Monitoring](https://i.ytimg.com/vi/MHcuqCzAhWM/default.jpg)
![Ubuntu Server 18.04 - Setup DNS, DHCP And Static IP](https://i.ytimg.com/vi/yMpjau14V5A/default.jpg)
![Crear vlan en ubuntu 18.04 con sus interfaces virtuales. Create vlan in ubuntu 18.04.](https://i.ytimg.com/vi/e487ulcPIQY/default.jpg)
![How to configure DNS Name Server in Ubuntu Linux 18.04](https://i.ytimg.com/vi/P1Kf3rDuhJE/default.jpg)
![Understanding Linux Network Interfaces](https://i.ytimg.com/vi/SSLpvcIOPK0/default.jpg)
![Why Choose Linux over Windows or MacOS?](https://i.ytimg.com/vi/DNg2M88_Hl0/default.jpg)
![Building a Home Server Part 3: Install and Setup Ubuntu Server 18.04 LTS](https://i.ytimg.com/vi/_lOwOc_UPIs/default.jpg)
![Ubuntu Server 14.04 Static IP Address](https://i.ytimg.com/vi/eypPpN4Ai_I/default.jpg)
![How to setup Samba for File Sharing in Linux](https://i.ytimg.com/vi/oRHSrnQueak/default.jpg)
![Ubuntu Server 18.04 - Static IPv4 and IPv6 Addresses (Netplan)](https://i.ytimg.com/vi/ynY_ix7C3Eo/default.jpg)
![QEMU - Setting Up Network Bridge (Linux)](https://i.ytimg.com/vi/Q1PebvpQUvI/default.jpg)