Ubuntu/netplan

Since Ubuntu 16.04 LTS network configuration is done using /netplan/, and source code is available in GitHub since July 20106: https://github.com/CanonicalLtd/netplan/releases/tag/0.1.

Depending on your Bionic (18.04LTS) installation method, your configuration file will be different: INSTALL TYPE	RENDERER	FILE Server ISO	systemd-networkd	/etc/netplan/01-netcfg.yaml Cloud Image	systemd-networkd	/etc/netplan/50-cloud-init.yaml Desktop ISO	NetworkManager	/etc/netplan/01-network-manager-all.yaml

Basic Commands

 * (you can also verity your YAML file before trying it, for example using yq utility)
 * to validate the configuration is correctly parsed by netplan and written to disk so next boot will be available.

Config Files

 * (Read Netplan examples: https://netplan.io/examples)

Basic

 * 1) Read Netplan examples: https://netplan.io/examples
 * 2) Configure your DNS servers in Ubuntu. https://www.techrepublic.com/article/how-to-set-dns-nameservers-in-ubuntu-server-18-04/

Advanced

 * 1) Review netplan source code: https://github.com/CanonicalLtd/netplan