bagel factory: init #2

Merged
raito merged 5 commits from delroth/raito-shared-public-infra:container-prep into main 2024-06-23 18:27:00 +00:00
Showing only changes of commit 9e609128af - Show all commits

View file

@ -34,12 +34,29 @@
linkConfig.Name = "nat-lan"; linkConfig.Name = "nat-lan";
}; };
systemd.network.networks."10-wan" = { systemd.network.netdevs."10-wan-br" = {
matchConfig.Name = "wan"; netdevConfig.Name = "wan-br";
netdevConfig.Kind = "bridge";
netdevConfig.MACAddress = "none";
bridgeConfig.MulticastSnooping = false;
};
systemd.network.links."10-wan-br" = {
matchConfig.Name = "wan-br";
linkConfig.MACAddressPolicy = "none";
};
systemd.network.networks."10-wan-br" = {
matchConfig.Name = "wan-br";
linkConfig.RequiredForOnline = true; linkConfig.RequiredForOnline = true;
networkConfig.Address = [ config.networking.newtype.currentHost.ipv6 ]; networkConfig.Address = [ config.networking.newtype.currentHost.ipv6 ];
}; };
systemd.network.networks."10-wan" = {
matchConfig.Name = "wan";
networkConfig.Bridge = "wan-br";
};
systemd.network.links."10-wan" = { systemd.network.links."10-wan" = {
matchConfig.MACAddress = "3c:ec:ef:7e:bd:c9"; matchConfig.MACAddress = "3c:ec:ef:7e:bd:c9";
linkConfig.Name = "wan"; linkConfig.Name = "wan";