What this lab is for
This lab shows that a BGP UPDATE message can announce reachability and can also withdraw reachability. The route is intentionally small and local: 203.0.113.0/24 moves through visible states on r2.
203.0.113.0/24 is visible on r2
203.0.113.0/24 is withdrawn by r1
203.0.113.0/24 disappears from r2
203.0.113.0/24 is announced again by r1
203.0.113.0/24 returns on r2
The useful distinction is between withdrawing a route and breaking a BGP session. In this lab the neighbor relationship remains the context; the route itself is what changes.
The experiment
AS65001 on r1 first advertises 203.0.113.0/24 to AS65002 on r2. Then r1 removes the network statement, causing a withdrawal. Finally, r1 adds the network statement back and sends a fresh announcement.
| Observation | Protocol meaning |
|---|---|
203.0.113.0/24 appears | Announcement UPDATE carries the prefix as NLRI with path attributes. |
10.0.0.1 | NEXT_HOP for the advertised route. |
65001 i | AS_PATH 65001 and ORIGIN IGP. |
| route disappears | Withdrawal UPDATE carries the prefix in Withdrawn Routes. |
| route returns | A new announcement installs the route again on r2. |
RFC reading path
Lab 02 reads a narrow path through RFC 4271. The focus is UPDATE message structure and the difference between NLRI and Withdrawn Routes.
- Section 3.1 for route advertisement and withdrawal.
- Section 4.3 for UPDATE message fields: Withdrawn Routes, Path Attributes, and NLRI.
- Section 5 for mandatory attributes on announcements.
- Sections 5.1.1, 5.1.2, and 5.1.3 for ORIGIN, AS_PATH, and NEXT_HOP.
Verified result
The verified run from 2026-05-08 records the route present on r2, absent after withdrawal, and present again after re-advertise.
before withdraw:
*> 203.0.113.0/24 10.0.0.1 0 0 65001 i
after withdraw:
No BGP prefixes displayed, 0 exist
after reannounce:
*> 203.0.113.0/24 10.0.0.1 0 0 65001 i
203.0.113.0/24 is a documentation prefix. The lab keeps it inside a local environment and does not advertise anything to the public Internet.
Next labs
After seeing a route move through announcement and withdrawal, the track can add competing origins, route leaks, and RPKI origin validation.
Lesson navigation
前に戻るなら Lab 01、続けるなら Lab 03 で competing origins を観察します。