System Design
2. Networking FundamentalsAnimated
IP Addressing
Giving each device a numeric address so packets can find it.
The idea
An IP address identifies a network interface. Part of it names the network and part the host. Routers use the network part to forward packets.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Private devices share one public IP address.
- step:
- 1/4
- at:
- Laptop 192.168.1.5
1/8
The green dot is a request moving through the system.
Step by step
- 1A device gets an address
- 2Packets carry source and destination addresses
- 3Routers match the destination to a route
- 4The packet is forwarded hop by hop
Where it is used
Every networked device.
Watch out for
Private addresses such as 10.x.x.x are not reachable from the internet directly.