AP-staging vlan

This commit is contained in:
catvayor 2024-04-20 01:54:15 +02:00
parent 7327bd0bb4
commit fdcf87f8bd

View file

@ -8,12 +8,19 @@ let
}; };
"admin-ap".ids = 3001; "admin-ap".ids = 3001;
"users".ids = [ { begin = 3045; end = 4094; } ]; "users".ids = [ { begin = 3045; end = 4094; } ];
"ap-staging".ids = 2000;
}; };
AP = { AP = {
enable = true; enable = true;
interface-mode = "trunk"; interface-mode = "trunk";
vlans = [ "users" "admin-ap" ]; vlans = [ "users" "admin-ap" ];
}; };
AP-staging = {
enable = true;
interface-mode = "access";
vlans = [ "ap-staging" ];
};
in { in {
netcore01 = { netcore01 = {
deployement.targetHost = "jourdan01.dgn"; deployement.targetHost = "jourdan01.dgn";
@ -27,6 +34,18 @@ in {
"ge-0/0/16" = AP; "ge-0/0/16" = AP;
"ge-0/0/17" = AP; "ge-0/0/17" = AP;
"ge-0/0/42" = {
enable = true;
interface-mode = "access";
vlans = [ "admin-core" ];
};
"ge-0/0/43" = AP-staging;
"ge-0/0/47" = { # ilo
enable = true;
interface-mode = "access";
vlans = [ "admin-core" ];
};
"xe-0/1/0" = { "xe-0/1/0" = {
enable = true; enable = true;
interface-mode = "trunk"; interface-mode = "trunk";
@ -51,7 +70,7 @@ in {
}; };
}; };
netaccess01 = { netaccess01 = {
deployement.targetHost = "jourdan02.dgn"; deployement.targetHost = "root@192.168.42.6";
vlans = vlansPlan "fd26:baf9:d250:8000::2001/64"; vlans = vlansPlan "fd26:baf9:d250:8000::2001/64";
interfaces = { interfaces = {