Computer Networks
Network models and layers
OSI and TCP/IP, what each layer is for, and what its data unit is called.
In two minutes
One idea to a line
OSI has seven layers: physical, data link, network, transport, session, presentation, application. TCP/IP merges the top three into one application layer.
Data units: bits (physical), frames (data link), packets (network), segments for TCP or datagrams for UDP (transport).
Each layer adds its own header on the way down (encapsulation) and the receiver strips them on the way up.
A hub works at the physical layer, a switch at the data link layer, and a router at the network layer.
End-to-end delivery between processes is the transport layer; delivery between hosts across networks is the network layer.
Slips people make here
Interviewers know them too
Calling a switch a layer 3 device.
Saying IP gives reliable delivery: it is best effort.
Mixing the layer of a MAC address (link) and an IP address (network).
Your practice here
Not started
13 written questions, and 2 kinds of calculation that change every time
No answers yet