PROTOCOL EXPLORERHOW THE INTERNET TALKS

OSI 

Protocols

Protocol overview

PACKET FLOW

NO.TIMESOURCEDESTINATIONPROTOCOLINFOSIZE
Try it hands-on: build a network and watch real ARP, DNS, DHCP and ICMP packets in the Network Lab.

How BGP works

BGP is how separate networks (autonomous systems) tell each other which addresses they can reach. Each AS announces its prefixes; neighbours pass them on with the AS path, and every router picks the best route by policy and path length.

Layer: Application (OSI layer 7) · Port: 179 · Transport: TCP · Format: OPEN / UPDATE / KEEPALIVE messages · Standard: RFC 4271

BGP packet flow

  1. BGP Hosting Router → Transit Router: OPEN AS 64511, hold time 90
  2. BGP Transit Router → Hosting Router: OPEN AS 64510 + KEEPALIVE
  3. BGP Hosting Router → Transit Router: UPDATE 203.0.113.0/24 path 64511
  4. BGP Transit Router → ISP Router: UPDATE 203.0.113.0/24 path 64510 64511
  5. BGP ISP Router → Transit Router: KEEPALIVE (every 30 s)

Other protocols: Ethernet · IP · IPv6 · TCP · UDP · ICMP · ARP · DHCP · DNS · NTP · IGMP