Networking 1: Addresses and Routing
How data travels as packets — layers, IP addresses, subnets and how routers find the way.
- Module 3 of 8
- Beginner
- 11 chapters
- 1 h 3 min
Before data can travel it needs an address and a route. Packets, IP addresses and subnets are the vocabulary of every cloud, Docker and Kubernetes setup you will touch.
What you will be able to do
- Explain how data is split into packets and wrapped in layers
- Read IP addresses and CIDR ranges
- Work out whether two machines share a subnet
- Describe how routers, ARP and DHCP get a packet to its destination
Chapters
1. PacketsEach envelope is a packet: a small chunk of data plus a header (the writing on the envelope —5 min2. Layers: Envelopes Inside EnvelopesThe OSI model: 7 layers. Mostly used as vocabulary ("that's a layer 7 load balancer").5 min3. The Local Network: MAC Addresses, Ethernet, Wi-Fi, SwitchesA group of devices that can reach each other directly, without passing through a router, is a5 min4. IP AddressesAn IP address (Internet Protocol address) is a device's address on the whole internet (the4 min5. Networks and Subnets: Who Are My Neighbours?Every IP address is split into two parts:9 min6. Special Address RangesSome phone numbers are special: 100 goes to the police, internal office extensions like 2045 only4 min7. Routers and RoutingA router is a device that connects different networks and forwards packets between them. Every6 min8. ARP: From a Neighbour's IP Address to Its MAC AddressARP has no security. Any device can falsely answer "I'm 192.168.1.1!" and receive everyone's traffic3 min9. DHCP: Getting an Address AutomaticallyYou check into a hotel. You don't pick a room number yourself — you ask reception, and they hand you a2 min10. IPv6: The Bigger Address SystemCIDR works the same way (2001:db8:abcd::/48). The standard subnet size is /64 — that leaves 643 min11. The Internet Itself, and a First Look at Cloud NetworksAn ISP (Internet Service Provider) — Jio, Airtel, ACT — connects you to the internet.3 min
Extras
The Whole StoryThe whole module retold as one story — no new facts, a fast revision of Networking 1: Addresses and Routing.RevisionInterview QuestionsReal interview questions on Networking 1: Addresses and Routing, answered the way you would say them out loud.Interview prepQuick ReferenceGlossary and cheat sheet for Networking 1: Addresses and Routing — the page to reread before an interview.Reference