2. Autonomous Systems and Confederations
The second example above illustrates the need for a mechanism in which arbitrary routing information can be exchanged between non-core gateways without degrading the degree of robustness relative to a mutually agreed security model. One way of doing this is is to extend the existing single-core autonomous-system model to include multiple core systems. This requires both a topological model which can be used to define the scope of these systems together with a global, trusted metric that can be used to drive the routing computations. An appropriate topological model is described in the next section, while an appropriate metric is suggested in the following section.
2.1. Topological Models
An "autonomous system" consists of a set of gateways, each of which can reach any other gateway in the same system using paths via gateways only in that system. The gateways of a system cooperatively maintain a routing data base using an interior gateway protocol (IGP) and a intra-system trusted routing mechanism of no further concern here. The IGP is expected to include security mechanisms to insure that only gateways of the same system can acquire each other as neighbors.
One or more gateways in an autonomous system can run EGP with one or more gateways in a neighboring system. There is no restriction on the number or configuration of EGP neighbor paths, other than the requirement that each path involve only gateways of one system or the other and not intrude on a third system. It is specifically not required that EGP neighbors share a common network, although most probably will.
An "autonomous confederation" consists of a set of autonomous systems sharing a common security model; that is, they trust each other to compute routes to other systems in the same confederation. Each gateway in a confederation can reach any other gateway in the same confederation using paths only in that confederation. Although there is no restriction on the number or configuration of EGP paths other than the above, it is expected that some mechanism be available so that potential EGP neighbors can discover whether they are in the same confederation. This could be done by access-control lists, for example, or by partitioning the set of system numbers.
A network is "directly reachable" from an autonomous system if a gateway in that system has an interface to it. Every gateway in that system is entitled to list all directly reachable networks in EGP messages sent to any other system. In general, it may happen that a particular network is directly reachable from more than one system.
A network is "reachable" from an autonomous system if it is directly reachable from an autonomous system belonging to the same confederation. A directly reachable net is always reachable from the same system. Every gateway in that confederation is entitled to list all reachable nets in EGP messages sent to any other system. It may happen that a particular net is either directly reachable or reachable from different confederations.
In order to preserve global routing stability in the Internet, it is explicitly assumed that routes within an autonomous system to a directly reachable net are always preferred over routes outside that system and that routes within an autonomous confederation are always preferred over routes outside that confederation. The mechanism by which this is assured is described in the next section.
In general, EGP Update messages can include two lists of gateways, one for those gateways belonging to the same system (internal neighbors) and the other for gateways belonging to different systems (external neighbors). Directly reachable nets must always be associated with gateways of the same system, that is, with internal neighbors, while non-directly reachable nets can be associated with either internal or external neighbors. Nets that are reachable, but not directly reachable, must always be associated with gateways of the same confederation.
2.2. Trusted Routing Metrics
There seems to be a general principle which characterizes distributed systems: The "nearer" a thing is the more dynamic and trustable it is, while the "farther" a thing is the more static and suspicious it is. For instance, the concept of network is intrinsic to the Internet model, as is the concept of gateways which bind them together. A cluster of gateways "near" each other (e.g. within an autonomous system) typically exchange routing information using a high-performance routing algorithm capable of sensitive monitoring of, and rapid adaptation to, changing performance indicators such as queueing delays and link loading.
However, clusters of gateways "far" from each other (e.g. widely separated autonomous systems) usually need only coarse routing information, possibly only "hints" on the best likely next hop to the general destination area. On the other hand, mutual suspicion increases with distance, so these clusters may need elaborate security considerations, including peer authentication, confidentiality, secrecy and signature verification. In addition, considerations of efficiency usually dictate that the allowable network bandidth consumed by the routing protocol itself decreases with distance. The price paid for both of these things typically is in responsiveness, with the effect that the more distant clusters are from each other, the less dynamic is the routing algorithm.
The above observations suggest a starting point for the evolution of a globally acceptable routing metric. Assume the metric is represented by an integer, with low values representing finer distinctions "nearer" the gateway and high values coarser distinctions "farther" from it. Values less than a globally agreed constant X are associated with paths confined to the same autonomous system as the sender, values greater than X but less than another constant Y with paths confined to the autonomous confederation of the sender and values greater than Y associated with the remaining paths.
At each of these three levels - autonomous system, autonomous confederation and universe of confederations - multiple routing algorithms could be operated simultaneously, with each producing for each destination net a possibly different subtree and metric in the ranges specified above. However, within each system the metric must have the same interpretation, so that other systems can mitigate routes between multiple gateways in that system. Likewise, within each confederation the metric must have the same interpretation, so that other confederations can mitigate routes to gateways in that confederation. Although all confederations must agree on a common universe-of-confederations algorithm, not all confederations need to use the same confederation-level algorithm and not all systems in the same confederation need to use the same system-level algorithm.