An Exterior Gateway Protocol is a routing protocol which is offered to exchange routing information between autonomous systems. The an initial exterior gateway protocol was EGP (Exterior Gateway Protocol) which is currently obsolete and also replaced by Border Gateway Protocol (BGP), EGP was used in the at an early stage internet days yet due that is various problems BGP was introduced which is not the conventional Exterior Gateway Protocol on the Internet, therefore our lesson this particular day will be based on BGP.

You are watching: What is the most commonly used exterior gateway protocol?

Border Gateway Protocol (BGP) was introduced in 1989 together an Inter-AS routing protocol in RFC 1105, over the year BGP to be modified and upgraded and the current version i beg your pardon is version 4 was characterized by RFC 1771 in 1995. The primary role of BGP is come exchange network layer reachability info with other BGP peers. The Network class Reachability information (NLRI) include the IP Prefixes and a perform of autonomous equipment the NLRI has traversed. BGP does not have actually its very own transport mechanism therefore BGP provides the Transmission regulate Protocol (TCP) for trading routing information. BGP peers usage TCP establish peering and then exchange routing information, just like any type of TCP interaction one BGP router is a TCP client that initiates the TCP link to the server which is another BGP router on port 179. BGP also implements a keep-alive mechanism, ensuring that BGP routers know if BGP partner fail or over there is loss of connectivity in between them.

A BGP router think about each that its peers as either interior (iBGP) or exterior (eBGP) peers based on which autonomous mechanism the peer resides.

BGP works on the principle of put on impose policies. A plan is manually configured and permits a BGP router to rate possible routes to various other autonomous systems, picking the finest path. Uneven IGPs, BGP go not usage a metric to choose the finest route once multiple paths to the same location exist. Instead, BGP offers several BGP route attributes and also a decision process when selecting the best route when multiple courses exist.

The most important path attribute in BGP is the AS_PATH, it is a sequence of as numbers to explain the inter-AS course of the route. Once a BGP speak originates a route (when it advertise NLRI about a destination within its own AS ), that adds its together Number to the AS_PATH. As subsequent BGP speakers advertise the path to external peers, lock prepend their very own AS Number to the AS_PATH, for this reason it defines all autonomous equipment a route has passed through, start with the most recent and also ending with the originating AS. AS_PATH attribute also provides loop avoidance mechanism. If a BGP router obtain a course from an external peer who AS_PATH consists of its very own AS number then the course is dropped since of loop. As soon as comparing 2 or more routes come the very same destination, given that every higher-priority characteristics are equal, a shorter AS_PATH is constantly preferred over a longer one. In instance of a tie, other characteristics are provided to determine the best path to the destination.





In the diagram over is an companies that has actually been assigned a /24 swimming pool of publically routable IP addresses is utilizing BGP come advertise it to the Internet company Provider.

R1(config)# router bgp 65450

R1(config-router)# network mask

R1(config-router)# neighborhood remote-as 65535

The configuration together shown above is fairly simple in this case. A BGP Autonomous device number 65450 is configured. The ar command creates an eBGP peering v the ISP router and the network command is provided to advertisement the /24 swimming pool to the ISP.

Note: The prefix identified by the network command have to be present in the routing table for it to it is in advertised.

See more: What Is It Cheating If You Kiss Another Girl Friend Kissed Another Girl

This brings us to the finish of this lessons in which we debated Exterior Gateway Protocols and the Border Gateway Protocol i m sorry is provided as EGP top top the Internet. BGP is a very substantial protocol and also several volumes of publications can just be composed on that alone. What we have actually covered is just a quick overview that BGP. As you will move ahead with your studies in higher Cisco experienced & experienced Certifications such together CCNP, CCIP and CCIE friend will research indepth about this protocol.