Table of Contents
Ubuntu 18.04 Netplan
Ubuntu 18.04 used a YAML based file with Netplan to configure the networking. I need to set up a server for virtualisation hosting with bonded uplinks to the ethernet switch.
This page build on the basic config to have a bonded ethernet with a vlan driver next to pick off vlans from the bond0 interface, and then the bridging driver on the vlans to allow a guest to connect to any vlan presented.
Basic DHCP YAML config
network: version: 2 renderer: networkd ethernets: ens3: dhcp4: yes
Basic static address
network: version: 2 renderer: networkd ethernets: ens3: addresses: - 192.168.5.28/24 gateway4: 192.168.5.1 nameservers: search: [rainsbrook.co.uk, int.rainsbrook.co.uk] addresses: [192.168.5.24, 22.214.171.124]
Static with Bonding
And Bridging on VLANS on Bonding