Table of Contents Routing
Protocols
The fundamental function for routers is present in all IP implementations:
This outgoing IP datagram is subject to the IP routing algorithm of the local host, which selects the next hop for the datagram (the next host to send it to). This new destination can be located on any of the physical networks to which the intermediate host is attached. If it is a physical network other than the one on which the host originally received the datagram, then the net result is that the intermediate host has forwarded the IP datagram from one physical network to another.The normal IP routing table contains information about the locally attached networks and the IP addresses of other routers located on these networks, plus the networks they attach to. It can be extended with information on IP networks that are farther away, and can also contain a default route, but it still remains a table with limited information; that is, it represents only a part of the whole internet. That is why this kind of router is called a router with partial routing information.
Some considerations apply to these routers with partial information:
Some error reporting should be implemented by routers with partial information via the Internet Control Message Protocol (ICMP) described in Internet Control Message Protocol (ICMP). They should be able to report the following errors back to the source host:
A more intelligent router is required if:
These more advanced forms of routers use additional protocols to communicate with each other. A number of protocols of this kind exist, and descriptions of the important ones will be given in the following sections. The reasons for this multiplicity of different protocols are basically fourfold:
Routing within an AS and routing outside an AS are treated as different issues and are addressed by different protocols.
Before discussing the various routing protocols, we will review the routing architectures used in the early Internet, since this will help in understanding the role played by the differing routing protocols. This overview will also show the difference between Interior and Exterior routing. We will then discuss the various protocols used for the two types of routing.
The routing protocols are often implemented using one of two daemons: (8)
See IP Routing Protocols in IBM TCP/IP Products for details of routing daemon implementations in IBM products.