How to Use NetPlan in Ubuntu 18.04
Chris Titus Tech
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
💻 Recommendations 💻
- My Windows Anti-Virus ➜ https://links.christitus.com/webroot
- My VPN Service ➜ https://links.christitus.com/expressvpn
- Website Recommendations ➜ https://www.christitus.com/recommendations
🕹 Live Streams Monday & Friday 🕹
- Twitch ➜ https://www.twitch.tv/christitustech
- YouTube Archive ➜ https://www.youtube.com/c/ChrisTitusTechStreams
🖥 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/
💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰
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! ... https://www.youtube.com/watch?v=HlOY1ucz_DY
86500103 Bytes