2018-09-08 08:23:51 +00:00
|
|
|
router id 172.20.170.192;
|
|
|
|
|
|
|
|
define OWNAS = 4242423934;
|
|
|
|
define OWNIP = 172.20.170.192;
|
2018-09-11 07:11:22 +00:00
|
|
|
define DN42_REGION = 41;
|
2018-09-08 08:23:51 +00:00
|
|
|
|
|
|
|
function is_self_net() {
|
2018-09-08 13:10:48 +00:00
|
|
|
return net ~ [172.20.170.192/27+];
|
2018-09-08 08:23:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function is_valid_network() {
|
|
|
|
return net ~ [
|
|
|
|
172.20.0.0/14{21,29}, # dn42
|
|
|
|
172.20.0.0/24{28,32}, # dn42 Anycast
|
|
|
|
172.21.0.0/24{28,32}, # dn42 Anycast
|
|
|
|
172.22.0.0/24{28,32}, # dn42 Anycast
|
|
|
|
172.23.0.0/24{28,32}, # dn42 Anycast
|
|
|
|
172.31.0.0/16+, # ChaosVPN
|
|
|
|
10.100.0.0/14+, # ChaosVPN
|
|
|
|
10.0.0.0/8{15,24} # Freifunk.net
|
|
|
|
];
|
|
|
|
}
|