Peer1IX
Internet Exchange
Services

Interconnection

Internet ExchangeMicro PoPsEdge Data Centers

Network Services

Data Center to Data CenterVirtual Connectivity HubData Center to CloudCloud to CloudPeer1ix Cloud RouterPeer1ix Virtual EdgeNAT GatewayPeer1ix PortVirtual Cross Connect

Security Services

DDoS ProtectionPeer1ix FWaaSIPsec Tunnel

Cloud Interconnect

Cloudflare Network Interconnect
Locations
Network toolsAll-in-One Network ReportBGP Looking GlassRPKI ValidatorBGP Security & Hijack CheckIP WHOISAS WHOISBGP Route ExplorerASN InsightsBGP Hijacks & Route LeaksInternet Outage TrackerCountry Internet InsightsTop Domains RankingDNS LookupSubnet CalculatorWhat Is My IP
BlogAboutContact Get connected

BFD: Faster Failure Detection for BGP

· 1 min read · Peer1IX Team

BFD: Faster Failure Detection for BGP

BGP can take a long time to notice a dead link. Bidirectional Forwarding Detection fixes that. How to use it sensibly.

The problem

BGP relies on keepalives and a hold timer to detect failed neighbours. With common defaults, a silent failure can take a minute or more to detect, during which traffic is blackholed.

How BFD works

BFD sends tiny packets between neighbours at short intervals. If several are missed, it declares the path down and notifies BGP, which removes routes immediately.

Choosing intervals

Intervals of a few hundred milliseconds with a multiplier of three are common for stable links. On noisy links, use longer intervals.

Where to use it

Private interconnects, cloud connections and exchange sessions where both sides support it.

Caution

BFD reacts to brief disruptions too. Pair it with dampening or sensible timers to avoid flapping.

BFDfailoverBGP timers