feat(apro): Add vlan apro for AP flashing #89
1 changed files with 17 additions and 0 deletions
|
@ -2,6 +2,7 @@ let
|
|||
vlanName = "vlan-uplink-cri";
|
||||
vlanAdmin = "vlan-admin";
|
||||
vlanAP = "vlan-admin-ap";
|
||||
vlanAP-apro = "vlan-apro";
|
||||
|
||||
linkIp = "10.120.33.250";
|
||||
linkPrefix = "30";
|
||||
|
@ -22,6 +23,7 @@ in
|
|||
vlanName
|
||||
vlanAdmin
|
||||
vlanAP
|
||||
vlanAP-apro
|
||||
];
|
||||
|
||||
LinkLocalAddressing = false;
|
||||
|
@ -51,6 +53,11 @@ in
|
|||
name = vlanAP;
|
||||
address = [ "fd26:baf9:d250:8010::1/60" ];
|
||||
};
|
||||
"10-${vlanAP-apro}" = {
|
||||
name = vlanAP-apro;
|
||||
address = [ "10.0.255.1/24" ];
|
||||
networkConfig.DHCPServer = "yes";
|
||||
};
|
||||
};
|
||||
netdevs = {
|
||||
"10-${vlanName}" = {
|
||||
|
@ -80,6 +87,16 @@ in
|
|||
Id = 3001;
|
||||
};
|
||||
};
|
||||
"10-${vlanAP-apro}" = {
|
||||
netdevConfig = {
|
||||
Name = vlanAP-apro;
|
||||
Kind = "vlan";
|
||||
};
|
||||
vlanConfig = {
|
||||
Id = 2000;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedUDPPorts = [ 67 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue