blob: 8edef49a65f7c42283e971e1d342d3b81c82f82f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
cynerd = {
router = {
enable = true;
wan = "end2";
lanIP = "192.168.2.1";
};
wifiAP.spt = {
enable = true;
ar9287.interface = "wlp3s0";
qca988x.interface = "wlp2s0";
};
monitoring.speedtest = true;
};
networking.useDHCP = false;
systemd.network = {
networks = {
"end2" = {
matchConfig.Name = "end2";
networkConfig = {
BindCarrier = "end2";
DHCP = "yes";
IPv6AcceptRA = "yes";
DHCPPrefixDelegation = "yes";
};
dhcpPrefixDelegationConfig = {
UplinkInterface = ":self";
SubnetId = 0;
Announce = "no";
};
linkConfig.RequiredForOnline = "routable";
};
"lan-brlan" = {
matchConfig.Name = "lan*";
networkConfig.Bridge = "brlan";
bridgeVLANs = [
{
bridgeVLANConfig = {
EgressUntagged = 1;
PVID = 1;
};
}
{bridgeVLANConfig.VLAN = 2;}
];
};
};
};
}
|