howto/bird.md
... ...
@@ -0,0 +1,28 @@
1
+Bird is a commonly used BGP daemon. This page provides configuration and help to run Bird for dn42.
2
+
3
+# Simplest configuration possible
4
+
5
+TODO
6
+
7
+## Source address selection
8
+
9
+Bird, like any other routing daemon, inserts routes into the kernel. If you don't specify a source address on the kernel routes, then the kernel will choose for you (and will often choose an address in a transfer subnet, which is not what you want).
10
+
11
+To specify the source address, you use the `krt_prefsrc` attribute, for instance in the export filter of the kernel protocol:
12
+
13
+ protocol kernel {
14
+ export filter {
15
+ krt_prefsrc = 2001:db8:42::1;
16
+ accept;
17
+ };
18
+ }
19
+
20
+(this also works for IPv4)
21
+
22
+# Example advanced configurations
23
+
24
+Paste your own config template here.
25
+
26
+## External links
27
+
28
+http://danrimal.net/doku.php?id=wiki:bgp:bird:sample_configs2
... ...
\ No newline at end of file