Route server

On this page 7

A route server is a BGP speaker operated by an Internet exchange point that receives routes from member networks and redistributes them to other members, so that each participant can exchange traffic with dozens or hundreds of peers through a single BGP session per server. It belongs to the core vocabulary of Internet fundamentals because it is the mechanism that makes multilateral peering practical at scale on the modern Internet.

The route server handles only control-plane information: it tells routers which destinations are reachable through which neighbors, but it never forwards the actual packets. Traffic still flows directly between member routers across the exchange fabric, which keeps the route server off the forwarding path and out of the latency budget.

How a route server redistributes routes

A route server works by acting as a transparent route collector and reflector for External BGP (eBGP) sessions. Each member router opens a session to the route server, announces its own prefixes and those of its customers, and receives in return the routes that other members have announced. The route server selects routes per member and sends them onward without inserting itself into the forwarding decision.

Two behaviors distinguish it from an ordinary BGP router. First, it does not prepend its own autonomous system number to the AS_PATH, so a route learned through it looks as if it came straight from the originating member. Second, it preserves the original NEXT_HOP, which points at the announcing member’s address on the exchange LAN. These rules are standardized in RFC 7947 and the operational guidance in RFC 7948.

The following table summarizes how the main BGP attributes are treated on a route server compared with a normal eBGP neighbor.

BGP attributeNormal eBGP routerRoute server
AS_PATHPrepends its own AS numberLeaves the path unchanged
NEXT_HOPSets itself as next hopKeeps the announcing member’s address
MULTI_EXIT_DISCUsually reset between neighborsPassed through unchanged
CommunitiesFiltered or rewritten by local policyUsed to steer redistribution, then often stripped
Attribute handling on a route server

Filtering, security and per-peer policy

Modern route servers apply strict import filtering because they redistribute routes to every connected member, which turns a single bad announcement into a problem for the whole exchange. A typical filter chain rejects bogon prefixes, prefixes that are too specific (longer than /24 for IPv4 or /48 for IPv6), routes whose AS_PATH does not begin with the member’s own AS number, and announcements that fail origin validation.

Origin validation relies on two data sources: RPKI Route Origin Authorizations, which cryptographically bind a prefix to an authorized origin AS, and Internet Routing Registry objects, which list the prefixes and AS sets a member claims to announce. Many exchanges follow the MANRS recommendations for exchange operators and publish their filtering policy so members can predict which routes will be accepted.

Members control redistribution with BGP communities. A common convention lets a member tag a route with a community meaning “do not announce to AS X” or “announce only to AS Y”, and the route server honors that instruction for that route alone. The table below lists the typical controls.

ControlEffectTypical use
Block to a specific peerRoute is withheld from one memberAvoid a commercial conflict or congested path
Announce only to a specific peerRoute goes to a named member onlySelective peering with a few partners
Block to allRoute is withheld unless explicitly allowedDefault-deny peering policy
Prepend toward a peerAdds extra AS hops for that memberTraffic engineering on inbound traffic
Large communitiesSame controls with 32-bit AS numbersMembers using four-byte AS numbers
Typical redistribution controls offered to members

Route server compared with bilateral peering and transit

Route server peering is one of three common ways a network obtains reachability, and each carries a different balance of effort, control and cost. Bilateral peering means two networks configure a direct BGP session between their routers at the exchange; IP transit means paying a provider for reachability to the entire Internet.

OptionSessions to maintainControl over routesCommercial model
Route server peeringOne or two per exchangeCoarse, through communitiesCovered by the exchange port fee
Bilateral peeringOne per peerFull, per-session policyUsually settlement-free
IP transitOne or two per providerFull on own sidePaid per committed bandwidth
Private network interconnectOne per partnerFullCost of a dedicated cross-connect
Interconnection options at and around an exchange

Large networks often combine these options: they use bilateral sessions with their biggest traffic partners for precise control and monitoring, and the route server to pick up the long tail of smaller peers that would not justify individual configuration. Because each route server is a separate session, operators normally connect to both redundant route servers an exchange runs.

Deploying and operating route servers

Exchange operators usually run route servers on general-purpose servers with open-source BGP daemons, most often BIRD and OpenBGPD, and frequently pair two different implementations so that one software defect cannot take down both servers. Configuration is generated automatically from the member database and registry data, often with tools such as arouteserver, and refreshed several times a day.

A central design choice is how the route server selects best paths. A route server with a single shared routing table picks one best route per prefix for everyone, which can hide alternatives when a member’s filters block the chosen route; this effect is called path hiding. Implementations solve it with per-member routing tables or with the BGP ADD-PATH extension, at the cost of more memory and CPU.

The decision table below shows how a network typically approaches route server use at a new exchange.

SituationRecommended approachReason
Small access network, open policyPeer with both route serversMaximum reachability with minimal effort
Content network with large flowsRoute servers plus bilateral sessionsDirect control for top traffic partners
Selective peering policyRoute server with block communitiesExcludes networks that should pay for transit
Restrictive policyBilateral sessions onlyFull control over every neighbor
Choosing how to use a route server

Limitations and common mistakes

Route servers simplify peering, but they also concentrate risk and reduce visibility. Operators who treat the route server as a black box tend to run into the same problems repeatedly.

  • Connecting to only one route server leaves the network without peering routes during maintenance or a software fault.
  • Accepting routes without local filtering assumes the exchange filters perfectly; a network should still apply its own prefix limits and RPKI checks.
  • Forgetting the max-prefix limit causes session teardown when the route server sends many thousands of routes after a new large member joins.
  • Ignoring path hiding can make a member believe a destination is unreachable through the exchange when an alternative path exists.
  • Assuming the route server carries traffic leads to wrong troubleshooting; packet loss lies in the exchange fabric or member ports, not in the route server.

There is also a loss of relationship signals: with bilateral peering, a network knows exactly who it exchanges routes with and can contact that operator, while route server peering can create traffic relationships with networks the operator has never spoken to.

In plain words

Picture a large meeting room where hundreds of companies want to swap address books. Shaking hands with every other company one by one would take days. Instead, everyone hands their list to a single coordinator, who copies the relevant pages and hands them back to each participant.

A route server is that coordinator at an Internet exchange. It only passes around the information about who can reach which addresses. The actual data still travels directly between the networks, so the coordinator never becomes a bottleneck for the traffic itself.

A real-world example

A regional broadband provider with about 60,000 subscribers connects a 10 Gbit/s port to a mid-sized European Internet exchange with roughly 250 members. Configuring 250 bilateral sessions would take its two-person network team months, so it opens one BGP session to each of the exchange’s two route servers, one running BIRD and the other OpenBGPD.

Within an hour, the provider receives about 140,000 IPv4 and IPv6 routes from more than 200 peers, including content networks, cloud providers and other access networks. It sets a max-prefix limit of 200,000 per session and keeps its own RPKI validation enabled. Over the following month, roughly 35 percent of its outbound traffic moves from paid transit to the exchange, lowering its transit bill and cutting latency to popular services. The team later adds bilateral sessions with its five largest traffic sources for finer control, while the route servers continue to cover the long tail.