IP
Internet ProtocolInternet layer · OSI 3Addressing devices and forwarding packets hop by hop
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
gives devices addresses and guides packets from network to network. Each router checks the destination address and forwards the packet one hop closer.
Internet Protocol version 4 (RFC 791) provides best-effort packet delivery using 32-bit addresses and a hop limit. Local delivery relies on (RFC 826) to learn hardware , while home routers apply (RFC 3022) at the boundary.
Key facts
- Layer
- Internet (OSI Layer 3)
- Address size
- 32 bits (IPv4), 128 bits (IPv6)
- Header size
- 20 to 60 bytes (IPv4)
- Hop limit
- TTL decremented by 1 per router
- Defined in
- RFC 791, RFC 8200
Delivered across 12 routers
ARP found the home router on the local network, NAT swapped in a public address, and twelve routers forwarded the packet and reply by destination address alone.
IPv4 routing moved the packet across 12 router hops in each direction while NAT translated between `192.168.1.10:52344` and `198.51.100.7:40112`.
- Hops each way
- 12 routers (1 home + 11)
- Outbound TTL
- 128 -> 116
- Return TTL
- 64 -> 52
- NAT rewrite
- Source out, destination back
Try it yourself
Check your IP address and ARP table
Inspect your device's local IP address, subnet mask, default gateway, and cached neighbor MAC addresses.
ipconfig /all && arp -aInspect your routing table
See the default route (`0.0.0.0/0`) that sends off-subnet traffic to your gateway.
route print