
Layering and Encapsulation
The principles of layering for GATE CS: the OSI seven-layer reference model next to the five-layer TCP/IP model, the difference between a service, an interface and a protocol, encapsulation and the protocol data unit at each layer (message, segment, datagram, frame, bit), the address each layer uses, which jobs belong to which layer, and which device (hub, bridge or switch, router, host) works up to which layer. Includes a header-overhead example checked by script and the past question on matching layers to jobs.
