2024-10-18 09:27:24 +02:00
|
|
|
{
|
|
|
|
systemd.network = {
|
|
|
|
networks = {
|
|
|
|
"10-eno1" = {
|
|
|
|
matchConfig.Name = [ "eno1" ];
|
|
|
|
networkConfig = {
|
|
|
|
Bridge = "vmbr0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-10-18 13:35:15 +02:00
|
|
|
"50-vmbr0" = {
|
2024-10-18 09:27:24 +02:00
|
|
|
matchConfig.Name = "vmbr0";
|
|
|
|
linkConfig.RequiredForOnline = "routable";
|
|
|
|
};
|
2024-10-18 13:35:15 +02:00
|
|
|
|
|
|
|
"50-vmbr1" = {
|
|
|
|
matchConfig.Name = "vmbr1";
|
|
|
|
linkConfig.RequiredForOnline = "routable";
|
|
|
|
bridgeVLANs = [
|
|
|
|
{
|
|
|
|
VLAN = [
|
|
|
|
"2510" # NAT
|
|
|
|
"2501" # Managment
|
|
|
|
"2520" # MW DMZ
|
|
|
|
"2530" # HE DMZ
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-10-18 09:27:24 +02:00
|
|
|
};
|
|
|
|
|
2024-10-18 13:35:15 +02:00
|
|
|
netdevs = {
|
|
|
|
"50-vmbr0" = {
|
|
|
|
netdevConfig = {
|
|
|
|
Name = "vmbr0";
|
|
|
|
Kind = "bridge";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"50-vmbr1" = {
|
|
|
|
netdevConfig = {
|
|
|
|
Name = "vmbr1";
|
|
|
|
Kind = "bridge";
|
|
|
|
};
|
|
|
|
bridgeConfig = {
|
|
|
|
VLANFiltering = true;
|
|
|
|
};
|
2024-10-18 09:27:24 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|