PROTOCOL EXPLORERLearn how the internet works
Now learningIP · Addressing & routingOverview · 4 steps
Learning progress0%
0 / 14 complete · 0 in progress
Client192.168.1.10Router192.168.1.1InternetWeb Server203.0.113.10

Protocol overview

IP

Active

Internet Protocol

Follow an IPv4 packet through a router. IP supplies addressing and best-effort routing; transport protocols supply ports and additional delivery behavior.

Layer
Network (Layer 3)
Default port
No ports
Transport
Link layer
Data format
Addressed network packets
Defined in
RFC 791, RFC 8200
Read the complete guide ↗

Packet flow

DNSTCPRequestResponse
No.TimeSourceDestinationProtocolInfoSize
10.000s192.168.1.10203.0.113.10IPLocal frame to gateway · TTL 6460 B
20.024s192.168.1.10203.0.113.10IPForwarded frame · TTL 6360 B
30.048s192.168.1.1192.168.1.10ICMPFragmentation needed · next-hop MTU 150070 B
40.072s203.0.113.10192.168.1.10IPReply delivered to transport60 B

IPv4 Routing, TTL and Path MTU

Compare an IPv4 packet before and after a router forwards it. Inspect its next hop, TTL, link-layer addresses and path MTU error.

Understanding IP

Follow an IPv4 packet through a router. IP supplies addressing and best-effort routing; transport protocols supply ports and additional delivery behavior.

Default port
No ports
Transport / carrier
Link layer
Category
core

What to look for in the lab

Compare the Ethernet and IPv4 fields in the local frame and the forwarded frame. The link-layer destination changes with the next hop, while the remote IP destination stays the same and TTL falls from 64 to 63.

1. Choose a next hop

A host compares the destination with its local subnet. Off-subnet traffic is sent to a default gateway at the link layer.

2. Forward across a router

A router selects a route using the destination prefix and decrements TTL. Link-layer addresses change at a routed hop.

3. Respect the path MTU

An IPv4 router can fragment if permitted. With DF set, an oversized packet is dropped and an ICMP error can help path MTU discovery. IPv6 routers do not fragment.

4. Deliver to transport

The destination uses the IP Protocol field to choose TCP, UDP or ICMP. This IPv4 example uses 6 for TCP.

Protocol relationships

Protocols cooperate across layers. Compare the neighboring lessons to distinguish addressing, delivery, application semantics and encryption.

Standards and editorial method

Written and implemented independently by NavSprout. Lessons summarize public protocol standards using synthetic documentation addresses and fictional credentials. Consult the standards for complete wire formats and normative behavior.

RFC 791 ↗ RFC 8200 ↗

Check your understanding

Which field prevents an IPv4 packet from looping indefinitely?