Skip to main content

2. Definitions and Overview

For the purposes of this paper, a "stub gateway" is defined as follows:

  • it is not a core gateway

  • it shares a network with at least one core gateway (has an interface on the same network as some core gateway)

  • it has interfaces to one or more networks which have no core gateways

  • all other nets which are reachable from the core system via the stub have no other path to the core system except via the stub

The stub gateway is expected to fully execute the Internet Control Message Protocol (ICMP), as well as the EGP protocol. In particular, it must respond to ICMP echo requests, and must send ICMP destination dead messages as appropriate. It is also required to send ICMP Redirect messages as appropriate.

Autonomous systems will be assigned 16-bit identification numbers (in much the same ways as network and protocol numbers are now assigned), and every EGP message header contains a field for this number. Zero will not be assigned to any autonomous system; the use of zero as an autonomous system number is reserved for future use.

We call two gateways "neighbors" if there is a network to which each has an interface. If two neighbors are part of the same autonomous system, we call them INTERIOR NEIGHBORS; for example, any two core gateways on the same network are interior neighbors of each other. If two neighbors are not part of the same autonomous system, we call them EXTERIOR NEIGHBORS; for example, a stub gateway and any core gateway that share a network are exterior neighbors of each other. In order for one system to use another as a transport medium, gateways which are exterior neighbors of each other must be able to find out which networks can be reached through the other. The Exterior Gateway Protocol enables this information to be passed between exterior neighbors. Since it is a polling protocol, it also enables each gateway to control the rate at which it sends and receives network reachability information, allowing each system to control its own overhead. It also enables each system to have an independent routing algorithm whose operation cannot be disrupted by failures of other systems.

The Exterior Gateway Protocol has three parts: (a) Neighbor Acquisition Protocol, (b) Neighbor Reachability Protocol, and (c) Network Reachability determination. Note that all messages defined by EGP are intended to travel only a single "hop". That is, they originate at one gateway and are sent to a neighboring gateway without the mediation of any intervening gateway. Therefore, the time-to-live field should be set to a very small value. Gateways which encounter EGP messages in their message streams which are not addressed to them may discard them.

Each EGP message contains a sequence number. The gateway should maintain one sequence number per neighbor.