network/config/ap.nix

1921 lines
44 KiB
Nix
Raw Normal View History

2022-01-18 01:05:16 +01:00
{ config, ... }:
2021-11-13 01:44:14 +01:00
{
site.hosts = {
ap-test1 = {
interfaces = {
bmx.type = "bridge";
c3d2.type = "bridge";
mgmt.type = "phys";
pub.type = "bridge";
};
};
ap1 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv6.type = "bridge";
pub.type = "bridge";
};
links = {
priv6 = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "weg";
model = "tl-wr841-v10";
role = "ap";
wifi = {
"platform/qca953x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"ZW public" = { net = "pub"; };
uebergangsnetz = { net = "priv6"; };
};
};
};
};
ap10 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv15.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-d1 = {
ports = [ "wan" ];
};
};
location = "Turm D, 1. Etage";
model = "tl-wr841-v10";
role = "ap";
wifi = {
"platform/qca953x_wmac" = {
channel = 6;
htmode = "HT40+";
ssids = {
"ZW public" = { net = "pub"; };
"iz-dresden.org" = { net = "priv15"; };
};
};
};
};
ap11 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv8.type = "bridge";
pub.type = "bridge";
};
links = {
priv8 = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B 2.03.04";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wr1043nd-v1";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca955x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"ZW public" = { net = "pub"; };
braeunigkoschnik = { net = "priv8"; };
};
};
};
};
ap12 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv38.type = "bridge";
priv42.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan:4" "lan:1" "lan:2" "lan:3" ];
};
switch-d1 = {
ports = [ "wan" ];
};
};
location = "Turm D, 4. Etage";
model = "tl-wr841-v8";
role = "ap";
wifi = {
"platform/ar934x_wmac" = {
channel = 6;
htmode = "HT40+";
ssids = {
"IrèneMélix" = { net = "priv38"; };
"ZW public" = { net = "pub"; };
paperheart = { net = "priv42"; };
};
};
};
};
ap13 = { };
ap14 = { };
ap15 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv10.type = "bridge";
pub.type = "bridge";
};
links = {
priv10 = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B4.09.01";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wr1043nd-v1";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca955x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"ZW public" = { net = "pub"; };
etz250 = { net = "priv10"; };
};
};
};
};
ap16 = { };
ap17 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv29.type = "bridge";
priv33.type = "bridge";
priv34.type = "bridge";
pub.type = "bridge";
};
links = {
priv33 = {
ports = [ "lan" ];
};
switch-c1 = {
ports = [ "wan" ];
};
};
location = "Turm C, 2. Etage";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wr1043nd-v1";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca955x_wmac" = {
channel = 5;
htmode = "HT40+";
ssids = {
EDUB = { net = "priv33"; };
"ZW public" = { net = "pub"; };
Zweitwohnsitz = { net = "priv34"; };
e-Stuetzpunkt = { net = "priv29"; };
};
};
};
};
ap18 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv9.type = "bridge";
pub.type = "bridge";
};
links = {
priv9 = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Haus B, 2. Etage, zum Innenhof";
model = "tl-wr841-v10";
role = "ap";
wifi = {
"platform/qca953x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"Restaurierung Wolff/Kober" = { net = "priv9"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap19 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv26.type = "bridge";
priv41.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-c1 = {
ports = [ "wan" ];
};
};
location = "Turm C oberste Etage";
model = "tl-wr841-v10";
role = "ap";
wifi = {
"platform/qca953x_wmac" = {
channel = 6;
htmode = "HT40+";
ssids = {
"Studio 01127" = { net = "priv41"; };
Walter = { net = "priv26"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap2 = {
interfaces = {
c3d2.type = "bridge";
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
c3d2 = {
ports = [ "lan" ];
};
switch-c3d2-main = {
ports = [ "wan" ];
};
};
location = "C3D2 Backstage";
2022-04-29 00:49:45 +02:00
model = "tplink_archer-c7-v2";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:01/0000:01:00.0" = {
channel = 36;
htmode = "VHT80";
ssids = {
C3D2 = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
"platform/qca955x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"C3D2 legacy" = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap22 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan" ];
};
switch-d1 = {
ports = [ "wan" ];
};
};
location = "Haus B Souterrain unter der Treppe an Turm D";
model = "tl-wr740n-v1";
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 11;
htmode = "HT40-";
ssids = { "ZW public" = { net = "pub"; }; };
};
};
};
ap23 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv30.type = "bridge";
pub.type = "bridge";
};
links = {
switch-b1 = {
ports = [ "lan" ];
};
};
location = "Seminarraum, Haus B";
2022-04-29 00:49:45 +02:00
model = "ubnt_unifiac-lite";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 36;
htmode = "VHT80";
ssids = {
"LBK Network" = { net = "priv30"; };
"ZW public" = { net = "pub"; };
};
};
"platform/qca956x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"LBK Network" = { net = "priv30"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap24 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv12.type = "bridge";
pub.type = "bridge";
};
links = {
priv12 = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Farbwerk";
model = "tl-wr740n-v1";
role = "ap";
wifi = {
"platform/ar933x_wmac" = {
channel = 6;
htmode = "HT40-";
ssids = {
"ZW public" = { net = "pub"; };
farbwerk = { net = "priv12"; };
};
};
};
};
ap25 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv12.type = "bridge";
pub.type = "bridge";
};
links = {
priv12 = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Farbwerk";
model = "tl-wr740n-v1";
role = "ap";
wifi = {
"platform/ar933x_wmac" = {
channel = 6;
htmode = "HT40-";
ssids = {
"ZW public" = { net = "pub"; };
farbwerk = { net = "priv12"; };
};
};
};
};
ap26 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv37.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan" ];
};
switch-c1 = {
ports = [ "wan" ];
};
};
location = "Turm C, 1. Etage";
model = "tl-wr740n-v1";
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 11;
htmode = "HT40-";
ssids = {
Dezember = { net = "priv37"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap27 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Weg?";
model = "tl-wr841-v10";
role = "ap";
wifi = {
"platform/qca953x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = { "ZW public" = { net = "pub"; }; };
};
};
};
ap28 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
ap3 = {
ports = [ "wan" ];
};
pub = {
ports = [ "lan:4" "lan:1" "lan:2" "lan:3" ];
};
};
location = "Tunnel";
model = "tl-wr841-v8";
role = "ap";
wifi = {
"platform/ar934x_wmac" = {
channel = 9;
htmode = "HT40+";
ssids = { "ZW public" = { net = "pub"; }; };
};
};
};
ap29 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv13.type = "bridge";
pub.type = "bridge";
};
links = {
priv13 = {
ports = [ "lan:1" "lan:2" "lan:3" "lan:4" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B1.05.07";
2022-04-29 00:49:45 +02:00
model = "tplink_archer-c7-v4";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 36;
htmode = "VHT80";
ssids = {
"ZW public" = { net = "pub"; };
jungnickel-fotografie = { net = "priv13"; };
};
};
"platform/qca956x_wmac" = {
channel = 6;
htmode = "HT40+";
ssids = {
"ZW public" = { net = "pub"; };
jungnickel-fotografie = { net = "priv13"; };
};
};
};
};
ap3 = {
interfaces = {
c3d2.type = "bridge";
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
ap28 = {
ports = [ "lan:1" ];
};
c3d2 = {
ports = [ "lan:2" "lan:3" "lan:4" ];
};
2022-02-05 00:33:09 +01:00
switch-d2 = {
2021-11-13 01:44:14 +01:00
ports = [ "wan" ];
};
};
location = "C3D2 Keller";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wdr4300-v1";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 128;
htmode = "HT40+";
ssids = {
C3D2 = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
"platform/ar934x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
"C3D2 legacy" = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap30 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv14.type = "bridge";
pub.type = "bridge";
};
links = {
priv14 = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B 4.02";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wr1043nd-v4";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca956x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
WLANb0402 = { net = "priv14"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap31 = {
interfaces = {
c3d2.type = "bridge";
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv39.type = "bridge";
pub.type = "bridge";
};
links = {
switch-c3d2-main = {
ports = [ "lan" ];
};
};
location = "C3D2 Assembly";
2022-04-29 00:49:45 +02:00
model = "ubnt_unifiac-lite";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 149;
htmode = "VHT80";
ssids = {
C3D2 = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
"platform/qca956x_wmac" = {
channel = 5;
htmode = "HT40+";
ssids = {
"C3D2 legacy" = { net = "c3d2"; };
FOTOAKADEMIEdd = { net = "priv39"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap32 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv25.type = "bridge";
pub.type = "bridge";
};
links = {
switch-b2 = {
ports = [ "lan" ];
};
};
location = "Auf Lager";
2022-04-29 00:49:45 +02:00
model = "ubnt_unifiac-lite";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 149;
htmode = "VHT80";
ssids = {
"ZW public" = { net = "pub"; };
"ZW stage" = { net = "priv25"; };
};
};
"platform/qca956x_wmac" = {
channel = 9;
htmode = "HT20";
ssids = {
"ZW public" = { net = "pub"; };
"ZW stage legacy" = { net = "priv25"; };
};
};
};
};
ap33 = {
interfaces = {
c3d2.type = "bridge";
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
2022-01-24 21:45:38 +01:00
switch-c3d2-main = {
2021-11-13 01:44:14 +01:00
ports = [ "lan" ];
};
};
location = "C3D2 Podest/Hinterhof";
2022-04-29 00:49:45 +02:00
model = "ubnt_unifiac-lite";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 100;
htmode = "VHT80";
ssids = {
C3D2 = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
"platform/qca956x_wmac" = {
channel = 9;
htmode = "HT40+";
ssids = {
"C3D2 legacy" = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap34 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
ap42 = {
ports = [ "lan" ];
};
};
location = "Hof (temporary)";
2022-04-29 00:49:45 +02:00
model = "ubnt_unifiac-lite";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 149;
htmode = "VHT80";
ssids = { "ZW public" = { net = "pub"; }; };
};
"platform/qca956x_wmac" = {
channel = 9;
htmode = "HT40+";
ssids = { "ZW public" = { net = "pub"; }; };
};
};
};
ap35 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv18.type = "bridge";
pub.type = "bridge";
};
links = {
priv18 = {
ports = [ "lan:4" "lan:3" "lan:2" "lan:1" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B 4.08";
model = "tplink_tl-wr1043n-v5";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca956x_wmac" = {
channel = 1;
htmode = "HT40+";
ssids = {
Koch = { net = "priv18"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap36 = {
interfaces = {
c3d2.type = "bridge";
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Reserve";
model = "tl-wr740n-v1";
role = "ap";
wifi = {
"platform/ar933x_wmac" = {
channel = 5;
htmode = "HT40+";
ssids = {
"C3D2 legacy" = { net = "c3d2"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap37 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv19.type = "bridge";
pub.type = "bridge";
};
links = {
priv19 = {
ports = [ "lan:1" "lan:2" "lan:3" "lan:4" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B3.11.01";
2022-04-29 00:49:45 +02:00
model = "tplink_archer-c7-v5";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 36;
htmode = "VHT80";
ssids = {
"ZW public" = { net = "pub"; };
"hechtfilm.de" = { net = "priv19"; };
};
};
"platform/ahb/18100000.wmac" = {
channel = 6;
htmode = "HT40-";
ssids = {
"ZW public" = { net = "pub"; };
"hechtfilm.de legacy" = { net = "priv19"; };
};
};
};
};
ap38 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv20.type = "bridge";
priv28.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan:1" "lan:2" "lan:3" "lan:4" ];
};
switch-c1 = {
ports = [ "wan" ];
};
};
location = "ECCE-Raum";
2022-04-29 00:49:45 +02:00
model = "tplink_archer-c7-v4";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 36;
htmode = "VHT80";
ssids = {
"ZW heinrichsgarten" = { net = "priv28"; };
"ZW public" = { net = "pub"; };
plop = { net = "priv20"; };
};
};
"platform/qca956x_wmac" = {
channel = 11;
htmode = "HT40-";
ssids = {
"ZW heinrichsgarten" = { net = "priv28"; };
"ZW public" = { net = "pub"; };
plop = { net = "priv20"; };
};
};
};
};
ap39 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv7.type = "bridge";
pub.type = "bridge";
};
links = {
pub = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "private";
model = "dir-615-d";
role = "ap";
wifi = {
"platform/10180000.wmac" = {
channel = 9;
htmode = "HT40+";
ssids = {
EckiTino = { net = "priv7"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap4 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv4.type = "bridge";
pub.type = "bridge";
};
links = {
priv4 = {
ports = [ "lan" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "Returned";
2022-04-29 00:49:45 +02:00
model = "tplink_tl-wr1043nd-v1";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"platform/qca955x_wmac" = {
channel = 11;
htmode = "HT40-";
ssids = {
"ZW public" = { net = "pub"; };
"jam-circle.de" = { net = "priv4"; };
};
};
};
};
ap40 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv22.type = "bridge";
pub.type = "bridge";
};
links = {
priv22 = {
ports = [ "lan:1" "lan:2" "lan:3" "lan:4" ];
};
switch-b2 = {
ports = [ "wan" ];
};
};
location = "B4.01";
2022-04-29 00:49:45 +02:00
model = "tplink_archer-c7-v5";
2021-11-13 01:44:14 +01:00
role = "ap";
wifi = {
"pci0000:00/0000:00:00.0" = {
channel = 128;
htmode = "VHT80";
ssids = {
M = { net = "priv22"; };
"ZW public" = { net = "pub"; };
};
};
"platform/qca956x_wmac" = {
channel = 6;
htmode = "HT40-";
ssids = {
"M legacy" = { net = "priv22"; };
"ZW public" = { net = "pub"; };
};
};
};
};
ap41 = {
interfaces = {
mgmt = {
gw4 = "mgmt-gw";
gw6 = "mgmt-gw";
type = "phys";
};
priv26.type = "bridge";