# should be a unique identifier, is what most people use. router id {{ dn42_local_v4 }}; define OWNAS = {{ dn42_local_as }}; define OWNIP = {{ dn42_local_v4 }}; function is_self_net() { return net ~ [{{ dn42_local_subnet_v4 }}+]; } 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.127.0.0/16{16,32}, # neonetwork 10.0.0.0/8{15,24} # Freifunk.net ]; }