Interactive Session: How BGP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of BGP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
BGP route hijack
SpoofingA network announces a prefix it does not own, and neighbours prefer the more specific or shorter path.
Announce the prefix
The attacker originates a prefix belonging to someone else.
Unexpected origin AS for a known prefix.
Large-scale redirection or outage for the hijacked address space.
Defences that matter
- RPKI origin validation
- Prefix and AS-path filters
- Maximum-prefix limits and monitoring
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Path-vector routing algorithm
- Runs over reliable TCP port 179
- Inter-domain Autonomous System (AS) policy routing
- eBGP (external) vs iBGP (internal) peering
Real-World Use Cases
- Internet core routing between ISPs
- Multi-homed enterprise network load-balancing
- Anycast CDN traffic steering
Advantages & Strengths
- Scales to global Internet routing tables (>900,000 routes)
- Granular administrative route policy control
Limitations & Vulnerabilities
- Slow route convergence times
- Vulnerable to BGP route hijacking without RPKI route origin validation