1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2024-11-23 07:43:29 +01:00

howto/{Bird2,OpenBGPD}: use more idiomatic CIDR prefix syntax

This commit is contained in:
Štěpán Němec 2024-09-13 00:06:49 +02:00
parent cbc573a916
commit 1f77238df0
2 changed files with 6 additions and 6 deletions

View File

@ -70,7 +70,7 @@ function is_valid_network() {
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.127.0.0/16+, # neonetwork
10.0.0.0/8{15,24} # Freifunk.net
];
}

View File

@ -108,13 +108,13 @@ prefix-set mydn42 {
# https://dn42.eu/howto/Bird2#example-configuration
prefix-set dn42etc {
172.20.0.0/14 prefixlen 21 - 29 # dn42
172.20.0.0/24 prefixlen 28 - 32 # dn42 Anycast
172.21.0.0/24 prefixlen 28 - 32 # dn42 Anycast
172.22.0.0/24 prefixlen 28 - 32 # dn42 Anycast
172.23.0.0/24 prefixlen 28 - 32 # dn42 Anycast
172.20.0.0/24 prefixlen >= 28 # dn42 Anycast
172.21.0.0/24 prefixlen >= 28 # dn42 Anycast
172.22.0.0/24 prefixlen >= 28 # dn42 Anycast
172.23.0.0/24 prefixlen >= 28 # dn42 Anycast
172.31.0.0/16 or-longer # ChaosVPN
10.100.0.0/14 or-longer # ChaosVPN
10.127.0.0/16 prefixlen 16 - 32 # neonetwork
10.127.0.0/16 or-longer # neonetwork
10.0.0.0/8 prefixlen 15 - 24 # Freifunk.net
fd00::/8 prefixlen 44 - 64 # dn42
}