Compare commits

...

2 commits

Author SHA1 Message Date
sinavir
51db3d1dbb fix(vault01): Fix connection to Catvayor's router
All checks were successful
build configuration / build_web02 (push) Successful in 1m1s
build configuration / build_storage01 (push) Successful in 1m4s
build configuration / build_vault01 (push) Successful in 1m6s
build configuration / build_compute01 (push) Successful in 1m9s
build configuration / build_web01 (push) Successful in 1m26s
lint / check (push) Successful in 23s
build configuration / build_rescue01 (push) Successful in 47s
2024-03-27 10:26:53 +01:00
sinavir
3cce216ada feat(vault01): Add CRI link 2024-03-27 10:26:31 +01:00
3 changed files with 48 additions and 10 deletions

View file

@ -8,6 +8,7 @@ lib.extra.mkConfig {
enabledServices = [
# List of services to enable
"networking"
];
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;
};
};
};
};
}

View file

@ -90,17 +90,15 @@
vault01 = {
interfaces = {
enp130s0f0 = {
#ipv4 = [
# {
# address = "129.199.210.85";
# prefixLength = 24;
# }
#];
ipv4 = [
{
address = "192.168.42.7";
prefixLength = 24;
}
];
#gateways = [ "129.199.210.254" ];
gateways = [ ];
DHCP = "ipv4";
gateways = [ "192.168.42.1" ];
enableDefaultDNS = true;
};
};