This section provides the definition and objective of BGP.
The Border Gateway Protocol (BGP) is a dynamic routing protocol used between autonomous systems (ASs).
BGP-1 (defined in RFC 1105), BGP-2 (defined in RFC 1163), and BGP-3 (defined in RFC 1267) are three earlier-released versions of BGP. BGP exchanges the reachable inter-AS routes, establishes inter-AS paths, avoids routing loops, and applies routing policies between ASs.
The current BGP version is BGP-4 defined by RFC 4271.
As an exterior routing protocol on the Internet, BGP is widely used among Internet Service Providers (ISPs).
BGP has the following characteristics:
BGP uses the Transport Control Protocol (TCP) with the port number being 179 as the transport layer protocol. The reliability of BGP is thus enhanced.
BGP is designed to avoid loops.
BGP transmits routes between ASs. It, however, is not required in all situations.
BGP is required in the following situations:
BGP is not required in the following situations: