Border Gateway Protocol
Animated walkthrough
| STEP | TIME | SOURCE | DEST | PROTO | INFO | SIZE |
|---|---|---|---|---|---|---|
| 1 | 0.s | 192.0.2.5 | 192.0.2.4 | TCP | 50311 → 179 [SYN] Seq=0 | 74 B |
| 2 | 0.004s | 192.0.2.4 | 192.0.2.5 | TCP | 179 → 50311 [SYN, ACK] Seq=0 Ack=1 | 74 B |
| 3 | 0.008s | 192.0.2.5 | 192.0.2.4 | TCP | 50311 → 179 [ACK] Seq=1 Ack=1 | 66 B |
| 4 | 0.008s | 192.0.2.5 | 192.0.2.4 | BGP | OPEN Message | 111 B |
| 5 | 0.012s | 192.0.2.4 | 192.0.2.5 | BGP | OPEN Message | 111 B |
| 6 | 0.012s | 192.0.2.4 | 192.0.2.5 | BGP | KEEPALIVE Message | 85 B |
| 7 | 0.016s | 192.0.2.5 | 192.0.2.4 | BGP | KEEPALIVE Message | 85 B |
| 8 | 0.03s | 192.0.2.9 | 192.0.2.8 | BGP | UPDATE Message: 203.0.113.0/24 | 113 B |
| 9 | 0.037s | 192.0.2.4 | 192.0.2.5 | BGP | UPDATE Message: 203.0.113.0/24 | 117 B |
| 10 | 1.s | 192.168.1.10 | 203.0.113.10 | TCP | 52800 → 443 [SYN] Seq=0 | 66 B |
| 11 | 1.017s | 203.0.113.10 | 192.168.1.10 | TCP | 443 → 52800 [SYN, ACK] Seq=0 Ack=1 | 66 B |
| 12 | 5.s | 192.0.2.9 | 192.0.2.8 | BGP | UPDATE Message: withdrawn 203.0.113.0/24 | 93 B |
| 13 | 5.007s | 192.0.2.4 | 192.0.2.5 | BGP | UPDATE Message: withdrawn 203.0.113.0/24 | 93 B |
Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.
Quick facts
How BGP works, animated
BGP is how the world's networks tell each other which address blocks they can reach. Over TCP 179, autonomous systems exchange routes — and, famously, sometimes routes they shouldn't.
Related ports
More Core protocols
Frequently asked questions
BGP primarily uses port 179.
BGP sits at Application (Layer 7).
RFC 4271.
Sources & standards
Explore this reference
about this tool
This page provides original, human-reviewed information about internet protocols such as BGP (Border Gateway Protocol), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.
If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.