IPv4 in Practice: The Life of a Packet
Learn how IPv4 packets are processed during sending, receiving, and forwarding. Explore packet creation, interface selection, fragmentation, checksum validation, and how routers handle TTL and forwarding tables to manage packet delivery.
We'll cover the following...
At this point in the description of IPv4, it is useful to have a detailed look at how an IPv4 implementation sends, receives and forwards IPv4 packets.
The simplest case is when a host needs to send a transport layer segment in an IPv4 packet. In order to do so, it performs two operations.
-
First, it must decide on which interface the packet will be sent.
-
Second, it must create the corresponding IP packet(s).
To simplify the discussion in this section, we ignore the utilization of IPv4 options. This is not a bad idea as most of the traffic today consists of IP packets that don’t make any use of IP options. Furthermore, we also assume that only point-to-point links are used.
An IPv4 host with data link layer interfaces manage IPv4 addresses:
-
The IPv4 address assigned by convention to its loopback address.
-
One IPv4 address assigned to each of its ...