I'm trying to set up a bridge over a bond for LXD using netplan
.
This is my current configuration:
network:
version: 2
renderer: networkd
ethernets:
id0:
match: {name: "eno[1-2]"}
dhcp4: true
wakeonlan: true
switchports:
match: {name: "eno[3-4]"}
bonds:
bond0:
interfaces: [switchports]
dhcp4: true
parameters:
mode: 802.3ad
bridges:
br0:
interfaces: [bond0]
dhcp4: true
As you can see it's pretty straighforward.
However, after applying this configuration, the IP address assigned to bond0
disappeared and no IP is being assigned to LXD containers (which use br0) or the bridge interface itself.
Could someone please explain what's happening?