N10-009 ยท OSI model and network devices
OSI layers and encapsulation
Layers 1-7, their names, PDUs (bit, frame, packet, segment) and which protocols and devices map to each layer.
Key points
- Layers top to bottom: 7 Application, 6 Presentation, 5 Session, 4 Transport, 3 Network, 2 Data Link, 1 Physical.
- The sender encapsulates going down: data, then segment (L4), packet (L3), frame (L2), bits (L1).
- The receiver de-encapsulates going up.
- Typical mapping: HTTP at L7, TCP/UDP at L4, IP and routers at L3, Ethernet and switches at L2, cables and hubs at L1.
Practice questions
What is the name of the PDU at Layer 2 of the OSI model?
- Packet
- Segment
- Frame
- Bit
Show answer
Answer: C. Frame
Layer 2 wraps data in a frame with a header and trailer. A packet is the Layer 3 PDU and a segment belongs to Layer 4.
Which of the following operate at Layer 4 of the OSI model?
- TCP
- IP
- UDP
- Ethernet
- HTTP
Show answer
Answer: A. TCP, C. UDP
TCP and UDP are the transport protocols and use ports. IP is Layer 3, Ethernet is Layer 2, and HTTP is Layer 7.
True or false: during encapsulation on the sending host, headers are added as data moves UP from Layer 1 to Layer 7.
Show answer
Answer: False
False. The sender starts at the application and encapsulates moving DOWN the stack toward Layer 1. The receiver de-encapsulates moving up.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
