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 senders 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 ...

Get Understanding TCP/IP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.