BGP Route Reflection and iBGP Scaling
Why a full mesh grows quickly
Ordinary iBGP does not forward iBGP-learned routes to other iBGP peers. A full mesh avoids that restriction by connecting every pair directly. With n routers, there are n(n−1)/2 distinct sessions: every router has n−1 neighbors, and each session is counted twice. At 10 routers this is 45 sessions. A route reflector (RR) is a BGP speaker that can redistribute selected routes to its clients under reflection rules (RFC 4456).
Calculate a small reflector design
Consider eight clients and two reflectors inside AS 64496. Each client connects to both RRs, and the RRs have one ordinary iBGP session between them. There are no direct client-client sessions in this example.
Full mesh: 10 * 9 / 2 = 45Dual RR design: 8 * 2 + 1 = 17One RR failure: 8 client sessions remainThe dual design has fewer sessions and an alternate control-plane connection. It does not prove forwarding survives a failure: the remaining reflector must know suitable routes, and next hops must remain reachable.
Reflection, loop control and next hop
In ordinary reflection, a route learned from a client can be reflected to other clients and non-clients; a route learned from a non-client can be reflected to clients. Eligibility, selection and export policy still apply. ORIGINATOR_ID identifies the original internal advertising speaker; CLUSTER_LIST records traversed reflector clusters and supports loop detection. A reflector ordinarily preserves NEXT_HOP for reflected routes. It need not sit in the packet forwarding path. Verify next-hop reachability through the underlay separately. Reflection can hide alternative paths because the selected path is normally advertised; multipath installation and advertising multiple paths are separate capabilities.
Scaling alternatives and session maintenance
Confederations divide a large AS into member ASes while presenting a common AS identity to external neighbors (RFC 5065, updated by RFC 9774). They add operational complexity and are not the same as reflection. Multiprotocol BGP uses AFI/SAFI to distinguish address families, such as IPv4 and IPv6 unicast. Route Refresh lets a capable peer request renewed advertisements for an address family without routinely resetting the session. Graceful Restart can retain stale routes during a bounded control-plane restart under negotiated conditions; if forwarding is broken, retaining routes can prolong loss. Verify capability, family, timer and forwarding behavior for the actual release; none of these features guarantees zero loss.
Practice: compare failure domains
Compute the session counts in a different dual-RR topology. Then distinguish loss of a reflector, loss of a next hop and loss of all paths to a destination. Avoid treating the session count as a complete scalability measurement: route volume, update churn, policy cost and redundancy also matter. The next lesson introduces origin validation and leak prevention.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
BGP Route Reflection and iBGP Scaling Quiz
Apply advanced BGP concepts to fictional routing evidence.
How many unique sessions are in a full mesh of 6 speakers?
Five clients connect to two RRs and the RRs have one link. How many sessions?
An RR learns a route from a non-client. Who may receive a reflected copy, subject to policy?
What must still be checked if an RR advertises a route?
What risk arises when Graceful Restart retains a route whose forwarding path failed?