I am on a Ubuntu 22.04.5 LTS server. The network ports are already trunked. I am trying to setup a virtual bridge with a bond as a slave using netplan on a VLAN 202. Below is not working:
$ cat /etc/netplan/00-bond-bridge-config.yaml
network:
version: 2
renderer: networkd
ethernets:
eno3:
dhcp4: false
eno4:
dhcp4: false
bonds:
bond0:
dhcp4: false
interfaces: [eno3, eno4]
parameters:
mode: active-backup
mii-monitor-interval: 100
vlans:
bond0.202:
id: 202
link: bond0
bridges:
br0:
dhcp4: false
interfaces: [bond0.202]
addresses: [192.168.1.2/24]
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses: [1.1.1.1, 8.8.8.8]
search: []
I am unable to ping my Ubuntu host. What do I have wrong in my yaml file?