How to read this chapter
Follow a browser request from a Bengaluru college lab to an admissions portal. Each layer supplies a different guarantee, and a successful packet journey does not prove the application answered correctly.
Read in order to follow the complete mechanism, or use the contents for revision. After each drawing, explain what changes, what remains protected, and what could fail. The orange map locates the current part.
Each part ends with an “In one breath” recap. The interview page has short questions, graded reasoning exercises, and worked solutions. Explain the assumptions before consulting a formula.
Meet Finch’s campus network
Finch is an illustrative college network in Bengaluru. Its client requests an admissions portal at https://example.com. Private addresses describe the lab LAN; public-side addresses are reserved documentation values, not real Indian infrastructure.
| Setting | Symbol or value | What it controls |
|---|---|---|
| Client address | 192.168.10.70 |
The browser host on the private LAN |
| LAN gateway | 192.168.10.65 |
The next hop outside the local subnet |
| Public NAT address | 198.51.100.7 |
The source address visible beyond the gateway |
| Server address | 203.0.113.20 |
The destination of the request |
| LAN subnet | 192.168.10.64/26 |
The local broadcast and host boundary |
| Link rate | 100,000,000 bits/s |
Transmission time for a frame |
| Packet size | 1,500 bytes |
One illustrative IP packet |
| Round-trip time | 40 ms |
Window and handshake arithmetic |
The addresses stay fixed throughout the trace. Path distance, link rate, and RTT are illustrative inputs, not measurements between named Indian cities. Identify route, next hop, transport, peer identity, and application response separately.
What is inside
Read the network as a packet path. Each part adds one contract, then the last part runs the complete request through every layer.
- 01Network models and physical signalsSections 1 to 4. A network carries application bytes through devices that make different decisions.
- 02Data link and Ethernet switchingSections 5 to 10. A link must deliver a bounded frame before a router can inspect its packet.
- 03VLANs and IP addressingSections 11 to 15. Local delivery needs a clear broadcast boundary and a way to decide whether a destination is local.
- 04IP forwarding and routingSections 16 to 22. A valid local frame is only the first stage of a remote request.
- 05Transport and TCPSections 23 to 27. Transport protocols deliver bytes to processes rather than merely to machines.
- 06Flow and congestion controlSections 28 to 32. Sending faster only helps while the receiver and the path can absorb the bytes.
- 07DNS and HTTPSections 33 to 36. A browser needs both a destination address and a language for asking that destination for a resource.
- 08QUIC, TLS and web sessionsSections 37 to 41. A reachable endpoint still needs to prove its identity and keep browser state within defined boundaries.
- 09Proxies, tunnels and firewallsSections 42 to 46. Public requests commonly cross a policy boundary before they reach an application.
- 10Socket programming and I/OSections 47 to 48. Packets become useful only when a server process reads and interprets their bytes.
- 11CDN, P2P and cloud networkingSections 49 to 52. A packet path can be shortened by a nearby cache, complicated by a peer's NAT, or hidden inside a virtual network.
- 12The complete browser requestSections 53 to 56. A typed URL combines naming, local forwarding, Internet routing, secure transport and application behavior in one observable exchange.
- +Interview prepInterview question bank, graded exercises and worked solutions.