BGP
Also known as: Border Gateway Protocol
Border Gateway Protocol — the routing protocol that directs traffic between the ~75,000 autonomous systems that make up the public internet.
Last updated:
What is BGP?
BGP (Border Gateway Protocol) is the protocol that carries routing information between the networks that make up the internet. Each independently operated network — an autonomous system (AS) — announces which IP prefixes it owns, and BGP propagates those announcements so every router on earth knows how to reach any IP address. Without BGP, the global internet would be a collection of disconnected islands.
How BGP moves traffic
A BGP speaker at the edge of an AS exchanges prefix announcements with the BGP speakers of neighboring networks. Each announcement carries an "AS path" — the ordered list of autonomous systems a packet would cross to reach that prefix. Routers prefer shorter AS paths, giving BGP the character of a distance-vector protocol stretched over tens of thousands of nodes. Two relationships dominate the graph: peering (settlement-free exchange of traffic between networks of similar size) and transit (a smaller network paying a larger upstream to reach the rest of the internet).
BGP in IP investigations
When you look up an IP, the AS that originates its prefix tells you who operates the network — a residential ISP, a datacenter, a hosting provider, or a state-run telecom. BGP routing tables are public; projects like RouteViews, RIPE RIS, and bgp.tools archive them and expose the origin AS, upstream providers, and prefix size for every announced prefix. WHOIS and RDAP then return the registered owner of each AS number, linking IP behavior back to an accountable organization.
See the AS number, upstream routing context, and registered operator behind any IP with our WHOIS lookup tool.