Book Image

Understanding TCP/IP

By : CP Books a.s.
Book Image

Understanding TCP/IP

By: CP Books a.s.

Overview of this book

This book covers in detail the Open System Interconnection (OSI) reference model and the TCP/IP protocols that operate that different layers. Its coverage includes various application protocols. The authors explain in an easy-to-read style networking concepts and protocols, with examples that make the book a practical guide in addition to its coverage of theory.
Table of Contents (20 chapters)
19
Index

Chapter 7. Routing

IP routing and IP forwarding are two processes that are at the very foundation of the Internet. Every system with TCP/IP protocol installed has at least one network interface called loopback. Besides, it can have one or more network interface cards installed. Let us imagine we have received one link frame, carrying an IP datagram, through the first installed network interface card. Its processing, summarized in Figure 7.1, can be described in the following steps:

  1. The IP datagram is extracted from the link frame. The sender’s link address can be used to refresh the ARP cache.
  2. The extracted IP datagram is inserted into an input queue and waits here for its processing.
  3. Processing of the header options is the first step within the processing. First, the options ‘Loose source routing’ and ‘Strict source routing’ are processed. If the IP datagram belongs (according to the content of the source routing options) to another receiver,...