Definition

IPv4 is a network-layer protocol carrying independently forwarded datagrams. Its service is connectionless and best effort.

Intuition

Each router decides the next step from the destination IP address and its forwarding table. IP does not reserve a path or promise successful delivery. Transport protocols such as TCP can provide reliability above IP.

Important rules

  • IPv4 addresses are 32 bits.
  • Packets can be lost, duplicated, delayed, or reordered.
  • TTL decreases as a packet is forwarded; expiry prevents endless circulation.
  • The IPv4 checksum protects the header, not the payload.
  • Fragmentation can accommodate a smaller MTU when the Don’t Fragment flag permits it.
  • ICMP supports diagnostics and error reporting; ARP resolves a local IPv4 destination or next hop to a link-layer address on Ethernet-like links.

Example

R1 forwarding toward R2 selects a route, decrements TTL, and sends the packet on the appropriate link. The next router makes its own decision. This does not establish a connection between the routers for that flow.

Common mistakes

  • Treating best effort as a delivery guarantee.
  • Assuming IP itself retransmits lost packets.
  • Treating the lecture’s stateless forwarding model as a claim that routers cannot run stateful NAT or firewall functions.

Source

Lecture 01 - IPv4 Addressing and Routing, PDF pages 3-4. Example and limitations are added study explanation.