BGP Route Advertisement Boundaries
Route exchange is not unrestricted
An import policy controls which received routes are eligible and how their attributes are treated. An export policy controls which selected routes a peer may learn. RFC 8212 updates base BGP behavior for external sessions: without explicit import or export policy, the corresponding acceptance or advertisement is not permitted by default; implementations may provide a configuration override. Use explicit policy rather than relying on a version-dependent default. An established session is neither permission to announce arbitrary prefixes nor proof that routes are accepted. Ordinary iBGP does not re-advertise iBGP-learned routes to other iBGP peers; route reflection and confederations are later topics.
Review an exact-prefix boundary
For this offline exercise, the fictional AS is authorized to announce only the exact prefix 198.51.100.0/24 to its fictional neighbor. The policy rejects everything else, including more-specific prefixes. Assume a selected eligible route exists for each proposed advertisement; the table evaluates authorization only. An aggregate or a more-specific prefix requires its own approved scope. A route learned from another peer must not automatically become transit for that peer. The examples below are documentation data, not a configuration or invitation to announce routes.
Proposed prefix Export decision198.51.100.0/24 permit198.51.100.128/25 deny203.0.113.0/24 deny0.0.0.0/0 denyWithdrawals and two-way reachability
A withdrawal removes the peer’s previously advertised reachability for the affected prefix; another eligible route may replace it. If the route is no longer installed and no alternative exists, traffic can fail. The forward and reverse paths need not be identical, but a request and its reply need their respective working routes and permitted traffic. Suppose host 192.0.2.10 can reach 198.51.100.20, but the destination network has no route (including default) covering 192.0.2.10. The reply cannot follow a usable path in this model. Diagnose the missing return route before concluding that BGP session establishment solved connectivity.
Keep the lab and production boundaries separate
RFC 5398 reserves 64496–64511 and 65536–65551 for documentation; RFC 6996 specifies private-use ranges 64512–65534 and 4200000000–4294967294. They are distinct allocations. This chapter uses documentation ASNs and IPv4 documentation prefixes only in paper models. Any future router lab requires an isolated environment, no external peering, an explicit allowlist, approved test scope and verification of both permitted and denied routes. Never announce synthetic prefixes to public peers. Compare expected received, selected, advertised and installed routes as distinct evidence. Advanced BGP policy and validation follow in the next chapter.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
BGP Route Advertisement Boundaries Quiz
Apply BGP reasoning to fictional routing evidence.
The export allowlist permits exactly 198.51.100.0/24. What happens to 198.51.100.0/25?
Under RFC 8212 default behavior, no export policy is applied to an eBGP session. What happens?
A route is learned through ordinary iBGP. May it be sent to another ordinary iBGP peer without special mechanisms?
A request reaches a remote host, but no return route covers the source address. What is missing?
Which ASN is reserved specifically for documentation under RFC 5398?