howto/Bird.md
... ...
@@ -40,7 +40,7 @@ include "/etc/bird/local6.conf";
40 40
# filter helpers
41 41
#################
42 42
43
-include "/etc/bird/filter6.conf";
43
+##include "/etc/bird/filter6.conf";
44 44
45 45
# Kernel routing tables
46 46
########################
... ...
@@ -111,7 +111,8 @@ function is_self_net() {
111 111
112 112
function is_valid_network() {
113 113
return net ~ [
114
- 'fd00::/8' # ULA address space as per RFC 4193
114
+
115
+ fd00::/8{48,80} # ULA address space as per RFC 4193
115 116
]
116 117
}
117 118
```
... ...
@@ -151,7 +152,7 @@ include "/etc/bird/local4.conf";
151 152
# filter helpers
152 153
#################
153 154
154
-include "/etc/bird/filter4.conf";
155
+##include "/etc/bird/filter4.conf";
155 156
156 157
# Kernel routing tables
157 158
########################
... ...
@@ -267,6 +268,13 @@ You can add cron entries to periodically update the tables:
267 268
*/15 * * * * curl -sfSLR {-o,-z}/var/lib/bird/bird_roa_dn42.conf https://dn42.tech9.io/roa/bird_roa_dn42.conf && chronic birdc configure
268 269
```
269 270
271
+Debian version:
272
+
273
+```
274
+*/15 * * * * curl -sfSLR -o/var/lib/bird/bird6_roa_dn42.conf -z/var/lib/bird/bird6_roa_dn42.conf https://dn42.tech9.io/roa/bird6_roa_dn42.conf && birdc6 configure
275
+*/15 * * * * curl -sfSLR -o/var/lib/bird/bird_roa_dn42.conf -z/var/lib/bird/bird_roa_dn42.conf https://dn42.tech9.io/roa/bird_roa_dn42.conf && birdc configure
276
+```
277
+
270 278
## Filter configuration
271 279
272 280
In your import filter add the following to reject invalid routes:
... ...
@@ -336,4 +344,4 @@ bird> show route export <somepeer> # shows the route you export to someone
336 344
337 345
# External Links
338 346
* detailed bird configuration from Mic92: https://github.com/Mic92/bird-dn42
339
-* more bgp commands: http://danrimal.net/doku.php?id=wiki:bgp:bird:postupy
347
+* more bgp commands: http://danrimal.net/doku.php?id=wiki:bgp:bird:postupy
... ...
\ No newline at end of file