I have a kvm server that has several vlans on it, and I want to create a bridge for each vlan. Putting together docs from several sites, I've come up with something that sometimes works, and sometimes doesn't. The other thing I need is for br212 (see below) to come up with an IP address. Sometimes it works, sometimes is does not. This is a shortened version, as the actual version has over 30 bridges and vlans.
# This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: eno1: dhcp4: no bridges: # 10.66.12.0/22 - dev br212: interfaces: [vlan212] macaddress: "11:22:33:44:55:66" dhcp4: true # 10.5.0.0/16 - cert br105: interfaces: [vlan105] dhcp4: no # 172.16.0.0/16 - sandbox br16: interfaces: [vlan16] dhcp4: no # 10.66.6.0/24 - logging br206: interfaces: [vlan206] dhcp4: no vlans: vlan105: accept-ra: no id: 105 link: eno2 vlan16: accept-ra: no id: 16 link: eno2 vlan206: accept-ra: no id: 206 link: eno2 vlan212: accept-ra: no id: 212 link: eno2