networkingISP & telecom

Kept in this browser · My desk

Stands for: Loop-free alternate

Loop-free alternate (LFA): a backup next hop, computed by a link-state router before any failure, to which it can switch the moment its primary next hop fails, because that neighbour's own shortest path to the destination does not lead back through the router.

Specified in RFC 5286 (2008) as the basic form of IP fast reroute. A neighbour N is loop-free for destination D if Distance_opt(N, D) is less than Distance_opt(N, S) plus Distance_opt(S, D); a stricter condition makes it node-protecting against the primary next hop itself. The router switches locally in tens of milliseconds while the network converges in hundreds. Coverage depends on topology: RFC 6571 found 67% to 99% of prefixes protected across eleven provider cores, Juniper suggests 40% to 60% in a typical network, and an even ring with equal costs has none.

Worked from RFC 5286's figure. S reaches D through E at 5 + 4 = 9; neighbour N1 is at cost 8 from S and 3 from D. 3 is less than 8 + 9, so N1 is loop-free; 3 is less than 9, so it is also downstream; 3 is less than 7 + 4, N1's distance to E plus E's distance to D, so it protects against E failing too. Extensions fill the gaps: remote LFA (RFC 7490) tunnels the packet to a router a few hops away from which it will not return, the remedy Nokia's guide shows for a ring, and TI-LFA (RFC 9855) uses segment routing to guarantee coverage in any two-connected network. An LFA repairs only at the point of failure; routers further away can still form transient microloops until they converge.

Also known as: loop-free alternate, loop-free alternates, ip fast reroute, ipfrr, ip frr, remote lfa, rlfa

← Back to L Back to the glossary