howto/Bird-communities.md
... ...
@@ -137,7 +137,7 @@ If you are running a bigger network and also want to prioritize your traffic bas
137 137
bgp_local_pref = 10000+100*dn42_bandwidth + 50*(10-dn42_latency)-200*bgp_path.len+100*dn42_crypto; (as suggested by tombii)
138 138
bgp_local_pref = 1000*dn42_bandwidth - 10*dn42_latency; if dn42_crypto < 2 then bgp_local_pref = 0; (as suggested by Jplitza)
139 139
```
140
-This calculation goes into the /etc/bird/community_filters.conf just above the return true; line. However for starters I recommend to skip the bgp_local_pref calculation part until you fully unterstand BGP routing and how this will affect not only you but the whole network. Assigning community flags to your peerings will hoever have an impact on dn42 in total. Remember, probably none of these alternatives are a good fit for your network, you will need to apply one and see how it affects your traffic and then going back and tweaking the formula and checking again.
140
+This calculation goes into the /etc/bird/community_filters.conf just above the return true; line. However for starters I recommend to skip the bgp_local_pref calculation part until you fully unterstand BGP routing and how this will affect not only you but the whole network. Assigning community flags to your peerings will however have an impact on dn42 in total. Remember, probably none of these alternatives are a good fit for your network, you will need to apply one and see how it affects your traffic and then going back and tweaking the formula and checking again.
141 141
142 142
Original implementation by Jplitza: https://gist.github.com/welterde/524cc9b37a618e29093d
143 143
... ...
@@ -145,4 +145,5 @@ All props to him for the bird code based on the suggestion from welterde.
145 145
146 146
Original email from welterde: http://lists.spaceboyz.net/pipermail/dn42/2015-February/000982.html
147 147
148
-My modification is only for the calculation of bgp_local_pref to adjust for prefering lower latency. Feel free to play around with the formula to find something that suits your needs.
... ...
\ No newline at end of file
0
+My modification is only for the calculation of bgp_local_pref to adjust for prefering lower latency. Feel free to play around with the formula to find something that suits your needs.
1
+-tombii
... ...
\ No newline at end of file