The Wayback Machine - https://web.archive.org/web/20240910160353/https://www.geeksforgeeks.org/exterior-gateway-protocol-egp/
Open In App

Exterior Gateway Protocol (EGP)

Last Updated : 05 Jul, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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 does it work? 

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:

  1. Establish a set of neighbours
  2. Check status of neighbours(if they are alive/reachable)
  3. Inform neighbours of the networks that reachable within their AS’s

Message formats:

  1. Neighbor Acquisition: To establish/de-establish neighbourship
  2. Neighbor Reachability: To check if neighbors are alive
  3. Poll: To ensure reachability of a particular network
  4. Routing Update: To share network reachability information
  5. 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.



Similar Reads

Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
When dealing with network routing, it's crucial to understand the various protocols that help direct traffic across complex networks. Two significant protocols in this space are the Border Gateway Protocol (BGP) and the Routing Information Protocol (RIP). Each serves different purposes and operates under different principles. This article explores
5 min read
Features of Enhanced Interior Gateway Routing Protocol (EIGRP)
Enhanced Interior Gateway Routing Protocol (EIGRP) is a Cisco-proprietary Hybrid routing protocol that contains features of distance-vector and link-state routing protocols. It is a network layer protocol that works on protocol number 88. Some of its features are: Rapid convergence - EIGRP uses a DUAL algorithm to support rapid convergence. If a ro
4 min read
Gateway Load Balancing Protocol (GLBP)
Gateway Load Balancing Protocol (GLBP) is one of First Hop Redundancy Protocol (FHRP) which provides redundancy like other First Hop Redundancy Protocol, also provides load Balancing. It is a Cisco proprietary protocol which can perform both functions. It provides load Balancing over multiple routers using single virtual IP address and multiple vir
5 min read
Media Gateway Control Protocol (MGCP)
MGCP stands for Media Gateway Control Protocol. It is a protocol that is extensively used for signalling and controlling communications protocols applied in VoIP telecommunication systems. MGCP is next in line to Simple Gateway Control Protocol. MGCP reflects the architecture in which the endpoints are less capable devices that only executes comman
2 min read
Border Gateway Protocol (BGP)
The protocol can connect any internetwork of the autonomous system using an arbitrary topology. The only requirement is that each AS have at least one router that can run BGP and that is the router connected to at least one other AS's BGP router. BGP's main function is to exchange network reachability information with other BGP systems. Border Gate
5 min read
BGP (Border Gateway Protocol) Advanced Features and Route Reflectors
A standardized outside gateway protocol called Border Gateway Protocol (BGP) is used to transfer reachability and routing data between various autonomous systems (ASes) on the Internet. As BGP is a path vector protocol, it bases its routing choices on the paths, rules and policies set up by network administrators. It provides a number of sophistica
4 min read
Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol used to provide redundancy in a network. Only one router is the active router while others will be in standby state i.e the standby router will be responsible for forwarding the traffic when the active router fails. Virtual Router Redundancy Protocol (VRRP) is an open standard proto
3 min read
Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
FTP (File Transfer Protocol) It is a protocol that is used to transfer or copy the file from one host to another host. But there may be some problems like different file names and different file directories while sending and receiving a files in different hosts or systems. And in FTP, a secure channel is not provided to transfer the files between t
3 min read
Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
The main difference between the Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP) is that Serial Line Internet Protocol is the Predecessor protocol of Point-to-Point Protocol. On the other hand, Point-to-Point Protocol is the Successor protocol of Serial Line Internet Protocol. Features of SLIP: Simple: SLIP is a simple protoco
4 min read
Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
Layer 2 or the Datalink layer provides physical addressing and access to media. It defines how data is to be formatted for transmission and how access to the network is to be controlled. It also provides error detection, ensuring data on higher layers is formatted correctly for transmission. Cisco Discovery Protocol (CDP) and Link Layer Discovery P
2 min read
Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
1. Spanning Tree Protocol (STP) : STP is also known as spanning tree protocol is a layer 2 (Data link layer) protocol, it runs on switches and bridges. The IEEE standard of STP is 802.1D. STP is a feature used to prevent loops when using redundant switches. For example, we have three switches they are all linked together and without STP a loop coul
4 min read
Difference between Stop and Wait protocol and Sliding Window protocol
Both the Stop and Wait protocol and the Sliding Window protocol are the techniques to the solution of flow control handling. The main difference between the Stop-and-wait protocol and the Sliding window protocol is that in the Stop-and-Wait Protocol, the sender sends one frame and waits for acknowledgment from the receiver whereas in the sliding wi
5 min read
Common Gateway Interface (CGI)
The Common Gateway Interface (CGI) is a standard that facilitates communication between web servers and external databases or information sources. It acts as middleware, allowing web servers to interact with applications that process data and send back responses. The CGI standard was defined by the World Wide Web Consortium (W3C) and specifies how
4 min read
Difference between Bridge and Gateway
Prerequisite - Network Devices Bridge: Bridge is a network device which works in data link layer. Bridge connects two different LAN working on same protocol. Also In bridge, format of packet is not changed. Gateway: Gateway works in OSI model's all layer. It converts the protocol. Gateway will settle for and transfer the packet across networks empl
1 min read
What is Circuit-Level Gateway?
A firewall is a device that secures our network by monitoring traffic that can be incoming or outgoing by allowing or blocking it on the basis of security rules. It is also called the first defense device for network security. The main purpose of a firewall is to filter the packets it receives or sends. When a packet is transferred between computer
3 min read
How To Use a Router as a Gateway?
A router is a networking device that forwards data packets between computer networks. It works by receiving incoming data packets and forwarding them to the appropriate network based on their destination address. This allows multiple devices to communicate with each other and access the internet using a single connection. In addition to forwarding
4 min read
C Program to find IP Address, Subnet Mask & Default Gateway
Terminology IP Address : An IP address, short for Internet Protocol address, is an identifying number for a piece of network hardware. Having an IP address allows a device to communicate with other devices over an IP-based network like the internet. Subnet mask: A subnet mask is a 32-bit number used to differentiate the network component of an IP a
2 min read
Which Command is Used to View the IP Address and Default Gateway of a Computer?
Answer: The command used to view the IP address and default gateway of a PC is `ipconfig` on Windows and `ip route` or `ifconfig` on Linux/Unix/MacOS systems.To view the IP address and default gateway of a PC, the command differs by operating system: WindowsUse `ipconfig` in Command Prompt. It displays network interfaces. Find the `IPv4 Address` fo
1 min read
Difference between Router and Gateway
1. Router : A router is basically a device or a hardware which is responsible for receiving, analyzing and forwarding the data packets to other networks. A router actually determines the destination or the target IP address of the packet and thus the best way for transferring the packet is determined by the help of forwarding tables and headers. Th
3 min read
Difference between Switch and Gateway
Communication inside networks is enabled by devices such as switches or gateways. To facilitate data transfer, a Switch is a multiport device used for connecting devices within a network so as to direct packets to their correct destinations efficiently. However, the gateway acts as an intermediary linking two different networks and allowing data co
4 min read
MAC Protocol Used in Wireless Sensor Networks
Pre-requisites: Classification of MAC Protocols In Wireless Sensor Networks (WSNs), the Medium Access Control (MAC) protocol is a set of guidelines that dictate how each node should transmit data over the shared wireless medium. The primary objective of the MAC protocol is to minimize the occurrence of idle listening, over-hearing, and collisions o
6 min read
Hot Standby Router Protocol (HSRP)
Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol, which provides redundancy for a local subnet. In HSRP, two or more routers gives an illusion of a virtual router. HSRP allows you to configure two or more routers as standby routers and only a single router as an active router at a time. All the routers in a single HSRP group share
4 min read
What is DCCP (Datagram Congestion Control Protocol)?
Congestion in a network means deterioration of network or services which are caused due to overloading of network nodes, basically, this problem is primarily associated with large networks, in which a large amount of data and information is being transmitted. Congestion can be caused by several reasons: either the routers which are being used are n
6 min read
Introduction of Virtual Router Redundancy Protocol (VRRP) and its configuration
VRRP is an open standard protocol, which is used to provide redundancy in a network. It is a network layer protocol (protocol number-112). The number of routers (group members) in a group acts as a virtual logical router which will be the default gateway of all the local hosts. If one router goes down, one of the other group members can take place
4 min read
Dynamic Trunking Protocol (DTP)
Trunk ports are ports that are used to carry the traffic of more than one VLAN. The port which connects two different switches and the switches have more than one VLAN configured then that port should be made trunk. If all the VLANs are allowed then trunk ports will carry traffic of all the VLANs including native VLANs for which the traffic goes un
4 min read
VLAN Trunking Protocol (VTP)
To carry traffic of a VLAN, it must be first configured on the switch. Suppose, if the user wants to send a frame from source to destination and the shortest path between them contains 1000 switches. To process a frame of any VLAN, VLANs should be configured first so, have to configure the same VLANs on all the 1000 switches manually. It will not b
5 min read
Root Bridge Election in Spanning Tree Protocol
Redundant links are used to provide a backup path when one link goes down but a Redundant link can sometimes cause switching loops. The main purpose of Spanning Tree Protocol (STP) is to ensure that you do not create loops when you have redundant paths in your network. Spanning Tree Protocol (STP) - As IEEE STP is used to make a loop-free network b
4 min read
Open Shortest Path First (OSPF) Protocol fundamentals
Open shortest path first (OSPF) is a link-state routing protocol that is used to find the best path between the source and the destination router using its own shortest path first (SPF) algorithm. A link-state routing protocol is a protocol that uses the concept of triggered updates, i.e., if there is a change observed in the learned routing table
5 min read
Open Shortest Path First (OSPF) protocol States
Prerequisite - OSPF fundamentals Open Shortest Path First (OSPF) is a link-state routing protocol that is used to find the best path between the source and the destination router using its own Shortest Path First). OSPF is developed by Internet Engineering Task Force (IETF) as one of the Interior Gateway Protocol (IGP), i.e, the protocol which aims
4 min read
Types of Spanning Tree Protocol (STP)
Prerequisite - Spanning Tree Protocol Spanning Tree Protocol (STP) is used to make a loop free network by monitoring the network to track all the links and shut down the least redundant ones. Root bridge is a switch in a single VLAN or whole topology (according to the type of STP standard used) which is responsible for distributing BPDUs and block
3 min read