52f7838bf47aa0ddbc2e9127ed2d918022abbe4b
howto/Bird-communities.md
... | ... | @@ -125,7 +125,7 @@ If you are running a bigger network and also want to prioritize your traffic bas |
125 | 125 | bgp_local_pref = 10000+100*bandwidth + 50*(10-latency)-200*bgp_path.len+100*crypto; (as suggested by tombii) |
126 | 126 | bgp_local_pref = 1000*bandwidth - 10*latency; if crypto < 2 then bgp_local_pref = 0; (as suggested by Jplitza) |
127 | 127 | ``` |
128 | -This calculation goes into the /etc/bird/community_filters.conf just above the return true; line. However for starters I recommend to stick with the above, simpler implementation with assigning community flags to your peerings to have a smarter routing in 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. |
|
128 | +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. |
|
129 | 129 | |
130 | 130 | Original implementation by Jplitza: https://gist.github.com/welterde/524cc9b37a618e29093d |
131 | 131 |