Ah I'm sorry - KeepMaster= was not added until v250. I must have tested
that on Noble.
For jammy, I think the best solution is to add the snippet I suggested
to your netplan config. Your opposition to it sounds mostly ideological.
I'm sorry it's not ideal, but it seems like a valid workaround to m
@enr0n, yes, I did restart systemd-networkd after creating
/etc/systemd/network/10-netplan-vlan1.network.d/keep_master.conf.
If you want to reproduce, the steps outlined in the bug descriptions
should provide you with a simple reproducer.
--
You received this bug notification because you are a m
This path is wrong: /etc/systemd/network/99-netplan-
vlan1.network.d/keep_master.conf. It should in fact be
etc/systemd/network/10-netplan-vlan1.network.d/keep_master.conf.
Did you restart systemd-networkd afterward?
--
You received this bug notification because you are a member of Ubuntu
Bugs,
@enr0n, the proposal to add:
bridges:
br0:
interfaces: [vlan1]
To the network config defeats the purpose. The goal is to not have to do
double configuration. The bridge is define in LXD, the vlan1 only in
netplan.
The other proposed fix of `KeepMaster=true` snippet in
/etc/systemd/network/
The drop-in would apply to vlan1, e.g.:
$ mkdir -p /etc/systemd/network/10-netplan-vlan1.network.d
$ cat > /etc/systemd/network/10-netplan-vlan1.network.d/keep_master.conf << EOF
[Network]
KeepMaster=true
EOF
Again, if netplan has a setting equivalent to KeepMaster=, that would be
simpler. I just
You have a couple options here. I think simplest would be to just add:
bridges:
br0:
interfaces: [vlan1]
to your netplan config. This will generate
/run/systemd/network/10-netplan-vlan1.network with:
[Match]
Name=vlan1
[Network]
LinkLocalAddressing=no
ConfigureWithoutCarrier=yes
Bridge=br