feat(vault01): Add CRI link

This commit is contained in:
sinavir 2024-03-27 10:26:31 +01:00
parent a3b0dfa0b6
commit 3cce216ada
2 changed files with 40 additions and 0 deletions

View file

@ -8,6 +8,7 @@ lib.extra.mkConfig {
enabledServices = [ enabledServices = [
# List of services to enable # List of services to enable
"networking"
]; ];
extraConfig = { extraConfig = {

View file

@ -0,0 +1,39 @@
let
vlanName = "vlan-uplink-cri";
in
{
systemd.network = {
networks = {
"10-sfp-right" = {
name = "enp67s0f0np0";
networkConfig = {
VLAN = [ vlanName ];
LinkLocalAddressing = false;
LLDP = false;
EmitLLDP = false;
IPv6AcceptRA = false;
IPv6SendRA = false;
};
};
"20-vlan-uplink-cri" = {
name = vlanName;
address = [ "10.120.33.250/30" ];
networkConfig = {
Gateway = "10.120.33.249";
};
};
};
netdevs = {
"20-vlan-uplink-cri" = {
netdevConfig = {
Name = vlanName;
Kind = "vlan";
};
vlanConfig = {
Id = 223;
};
};
};
};
}