120aa0fd7528b56aa3f88e58ce1baa10bef70ec6
howto/Bird2.md
... | ... | @@ -429,15 +429,14 @@ protocol rpki rpki_dn42{ |
429 | 429 | } |
430 | 430 | ``` |
431 | 431 | ### Use BFD in bird2 |
432 | -Warning: Enabling BFD may cause slow BGP flapping, use it with caution. |
|
433 | - |
|
434 | 432 | BFD is an additional protocol with extremely low overhead to detect failures in the switching plane between peers, |
435 | -it is used widely by cleanet peerings and some networks already have enabled it globally. |
|
433 | +it is used widely by cleanet peerings and some networks in DN42 already have enabled it globally. |
|
436 | 434 | To do a basic configuration you need to add 1 line to your bird.conf and enable it per peer or globally by defining it in the |
437 | 435 | template. |
438 | 436 | It is currently recommended that you only enable it for each peer that supports it and has it enabled. |
439 | -Add this above the template for dnpeers. |
|
440 | 437 | It acts as a detection mechanism that is very fast and can detect for example if your tunnel link is down. |
438 | + |
|
439 | +Add this above the template for dnpeers. |
|
441 | 440 | ```conf |
442 | 441 | protocol bfd {}; |
443 | 442 | ``` |
... | ... | @@ -457,4 +456,11 @@ protocol bgp <NEIGHBOR_NAME> from dnpeers { |
457 | 456 | }; |
458 | 457 | }; |
459 | 458 | ``` |
459 | + |
|
460 | +**Warning:** with high frequency connectivity issues and/or/with ping over ~150ms and/or/with significant packet loss |
|
461 | +it can cause significant issues with route flapping since BFD uses UDP packets to reduce overhead. |
|
462 | +It should not be used in extremely long distance peers with the default settings and use of it on |
|
463 | +lossy networks like but not only, Satellite, Wireless Mesh Networks should be avoided. |
|
464 | +Regardless, use of BFD in high quality fiber based networks with low ping is optimal. |
|
465 | + |
|
460 | 466 | Additional documentation about the BFD protocol is available at [the BIRD2 documentation](https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.3) . |
... | ... | \ No newline at end of file |