nixos: Attempt to get LLDP working

This commit is contained in:
2022-05-18 22:52:42 +01:00
parent 89928a8fee
commit 0a5a554ab3
6 changed files with 44 additions and 19 deletions

View File

@@ -62,7 +62,22 @@
Name = "base";
Kind = "bridge";
};
networks."80-base" = networkdAssignment "base" assignments.internal;
networks = {
"80-base" = networkdAssignment "base" assignments.internal;
"80-vm-tap" = {
matchConfig = {
# Don't think we have control over the name of the TAP from qemu-bridge-helper (or how to easily pick
# which interface is which)
Name = "tap*";
Driver = "tun";
};
networkConfig = {
KeepMaster = true;
LLDP = true;
EmitLLDP = "customer-bridge";
};
};
};
};
services."vm@estuary" = {