howto/Bird-communities.md
... ...
@@ -1 +1,26 @@
1
+Bird is a commonly used BGP daemon. This page provides configuration and help to run Bird for dn42.
2
+
3
+Communities can be used to prioritize traffic based on different flags, in DN42 we are using communities to display latency, bandwidth and encryption. Please note that everyone should be using community 64511.
4
+
5
+# BGP community criteria
6
+```
7
+(64511, 1) :: latency \in [0, 2.7ms]
8
+(64511, 2) :: latency \in [2.7ms, 7.3ms]
9
+(64511, 3) :: latency \in [7.3ms, 20ms]
10
+(64511, x) :: latency \in [exp(x-1), exp(x)] ms (for x < 10)
11
+
12
+(64511, 21) :: bw >= 0.1mbit
13
+(64511, 22) :: bw >= 1mbit
14
+(64511, 23) :: bw >= 10mbit
15
+(64511, 24) :: bw >= 100mbit
16
+(64511, 25) :: bw >= 1000mbit
17
+(64511, 2x) :: bw >= 10^(x-2) mbit
18
+bw = min(up,down) for asymmetric connections
19
+
20
+(64511, 31) :: not encrypted
21
+(64511, 32) :: encrypted with unsafe vpn solution
22
+(64511, 33) :: encrypted with safe vpn solution (but no PFS)
23
+(64511, 34) :: encrypted with safe vpn solution with PFS
24
+```
25
+
1 26
https://gist.github.com/tombii/b4edb9ee6a4f59617d98
... ...
\ No newline at end of file