Changement plan IPs et vlan AP #87

Merged
thubrecht merged 2 commits from lbailly/infrastructure:main into main 2024-04-07 21:26:41 +02:00

View file

@ -1,6 +1,7 @@
let let
vlanName = "vlan-uplink-cri"; vlanName = "vlan-uplink-cri";
vlanAdmin = "vlan-admin"; vlanAdmin = "vlan-admin";
vlanAP = "vlan-admin-ap";
linkIp = "10.120.33.250"; linkIp = "10.120.33.250";
linkPrefix = "30"; linkPrefix = "30";
@ -20,6 +21,7 @@ in
VLAN = [ VLAN = [
vlanName vlanName
vlanAdmin vlanAdmin
vlanAP
]; ];
LinkLocalAddressing = false; LinkLocalAddressing = false;
@ -43,7 +45,11 @@ in
}; };
"10-${vlanAdmin}" = { "10-${vlanAdmin}" = {
name = vlanAdmin; name = vlanAdmin;
address = [ "10.0.0.1/16" ]; address = [ "fd26:baf9:d250:8000::1/64" ];
};
"10-${vlanAP}" = {
name = vlanAP;
address = [ "fd26:baf9:d250:8010::1/60" ];
}; };
}; };
netdevs = { netdevs = {
@ -65,6 +71,15 @@ in
Id = 3000; Id = 3000;
}; };
}; };
"10-${vlanAP}" = {
netdevConfig = {
Name = vlanAP;
Kind = "vlan";
};
vlanConfig = {
Id = 3001;
};
};
}; };
}; };
} }