Exterior Gateway Protocol (EGP) is used to exchange net-reachability information between Internet gateways belonging to the same or different autonomous systems.
EGP was developed by Bolt, Beranek and Newman in the early 1980s. It was first described in RFC 827 and formally specified in RFC 904 (1984).
Applications of Exterior Gateway Protocol (EGP):
During the early days of the Internet, EGP was frequently used by research institutes, universities, government agencies and private organizations, to interconnect autonomous systems but was replaced by Border Gateway Protocol (BGP).
How it works?
EGP was originally designed to communicate reachability to and from the Advanced Research Projects Agency Network (ARPANET) core routers. Information was passed from individual source nodes in distinct Internet administrative domains called autonomous systems (ASs) up to the core routers, which passed the information through the backbone until it could be passed down to the destination network within another AS.
Unlike most other protocols, EGP is focused on network reachability and does not consider any metrics to calculate the best path.
EGP has three major functions:
- Establish a set of neighbours
- Check status of neighbours(if they are alive/reachable)
- Inform neighbours the networks that reachable within their AS’s
- Neighbor Acquisition: To establish/de-establish neighbourship
- Neighbor Reachability: To check if neighbors are alive
- Poll: To ensure reachability of a particular network
- Routing Update: To share network reachability information
- Error: To inform the error occurred
Advantages and Disadvantages:
EGP was the first exterior gateway protocol that gained widespread acceptance in the Internet. The routing table is stable with minimal changes as the protocol does not react to issues within the Autonomous system.
EGP is a simple reachability protocol, and, unlike modern distance-vector and path-vector protocols, it is limited to tree-like topologies and does not support multipath networking environments, making it less efficient.
Since this routing protocol is designed to be centrally controlled, it reduces the scalability which is a major drawback in today’s fast growing Internet.
Another reason is that no central authority controls the commercialized Internet. The Internet is composed of many equal networks. In a distributed architecture, the autonomous systems require routing protocols, both interior and exterior, that can make intelligent routing choices. Because of this, EGP is no longer popular.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
- Features of Enhanced Interior Gateway Routing Protocol (EIGRP)
- Gateway Load Balancing Protocol (GLBP)
- Border Gateway Protocol (BGP)
- Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
- Difference between Stop and Wait protocol and Sliding Window protocol
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
- Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
- Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
- C Program to find IP Address, Subnet Mask & Default Gateway
- Common Gateway Interface (CGI)
- Difference between Bridge and Gateway
- How to Integrate Stripe Payment Gateway in Node.js ?
- Difference between Router and Gateway
- Difference between Switch and Gateway
- Internet Control Message Protocol (ICMP)
- Sliding Window Protocol | Set 1 (Sender Side)
- Sliding Window Protocol | Set 2 (Receiver Side)
- Simple Mail Transfer Protocol (SMTP)
- Program to remotely Power On a PC over the internet using the Wake-on-LAN protocol.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.