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:
parent
cbc573a916
commit
1f77238df0
@ -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
|
||||
];
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user