Learn / Networking
Network+ and the OSI Model: Layers, Devices and the Questions Built on Them
November 18, 2026 · 7 min read
The OSI model is the part of Network+ that sounds academic and turns out to be practical. You will not be asked to recite it for its own sake. You will be asked to use it: a user cannot reach a server, a link light is dark, a name will not resolve, and the question wants to know which layer the fault lives at and which tool fits. If you carry a clear picture of the seven layers, those questions get a lot shorter.
The seven layers, top to bottom
Most people learn the list with a mnemonic, and that is fine. All People Seem To Need Data Processing runs from layer 7 down to layer 1. What matters more than the order is what lives at each layer, because that is what the questions are built from. The data unit names matter too, since exams like to ask what a layer calls its chunk of data.
- Layer 7, Application: the interface between software and the network. HTTP, HTTPS, DNS, DHCP, SMTP, FTP, SSH. Data unit: data.
- Layer 6, Presentation: formatting, encoding and encryption of data. Character encoding, compression, and TLS in the usual exam mapping. Data unit: data.
- Layer 5, Session: setting up, maintaining and tearing down conversations between hosts. Session control and checkpointing are the textbook examples. Data unit: data.
- Layer 4, Transport: end to end delivery between processes, using port numbers. TCP is connection oriented and reliable, UDP is connectionless and fast. Data unit: segment for TCP, datagram for UDP.
- Layer 3, Network: logical addressing and routing between networks. IP, ICMP, IPsec, and routers. Data unit: packet.
- Layer 2, Data Link: local delivery on one network using MAC addresses, plus error detection on the frame. Ethernet, switches, VLAN tagging, and the NIC. Data unit: frame.
- Layer 1, Physical: the actual signaling on the medium. Copper, fiber, radio, connectors, hubs, repeaters and media converters. Data unit: bits.
Encapsulation runs top down as data leaves a host. The application data gets a transport header and becomes a segment, the segment gets an IP header and becomes a packet, the packet gets a frame header and trailer and becomes a frame, and the frame goes onto the wire as bits. The receiving host reverses it, which is called decapsulation. If a question hands you the data unit names in the wrong order, the fix is to say them in the order of sending: data, segment, packet, frame, bits.
Where the devices and protocols actually sit
This is the section that pays off most, because placement questions are easy points if you have the map and easy misses if you only half remember it. Keep in mind that real products blur layers, so the exam goes by the textbook mapping. When a question seems to have two defensible answers, pick the one that matches the device's core job.
- Hub and repeater: layer 1. They regenerate and repeat signal with no idea what an address is. A hub sends everything out every port.
- NIC: layers 1 and 2. It handles the physical connection and carries the MAC address, so it is usually described as a layer 2 device with a physical presence.
- Switch: layer 2. It learns MAC addresses and forwards frames only toward the right port. A layer 3 switch also routes between VLANs, which is why the word layer 3 shows up beside the word switch.
- Access point: layer 2 in the usual mapping. It bridges wireless clients onto the wired network, and the radio itself is layer 1.
- Router: layer 3. It forwards packets between networks using IP addresses and a routing table.
- Firewall: traditionally layers 3 and 4, filtering on addresses, ports and connection state. A next generation firewall inspects up to layer 7, so read what the question says the firewall is doing.
- ARP: resolves an IP address to a MAC address on the local network. It sits on the boundary between layers 2 and 3, and exams most often place it at layer 2 or describe it as linking the two. Know the job and you can handle either phrasing.
- TLS: usually mapped to layer 6 in the OSI exam answer, though in practice it runs above TCP and is often described as sitting between transport and application. If the question asks about encryption in the OSI model, presentation is the expected answer.
- Cabling, connectors and signaling standards: layer 1. If a question mentions a bad cable, a bent pin or a dark fiber link, that is a physical layer fault.
If you want placement and troubleshooting questions to run these layers against right now, we keep a free Network+ set with the reasoning behind every answer written out.
Work the Network+ practice questions →OSI versus the TCP/IP model
The other model you will meet is the TCP/IP model, which is what the internet actually runs on. It is shorter. The usual four layer version has Application, Transport, Internet and Network Access, where Application covers OSI layers 5 through 7, Transport matches layer 4, Internet matches layer 3, and Network Access covers layers 1 and 2. Some texts split Network Access into two for a five layer version. The trap is mixing the vocabulary: Internet layer in TCP/IP means what the OSI model calls Network, and a question that uses one model should be answered in that model's terms.
Using the model to troubleshoot
The layers give you an order of attack. Three approaches come up, and the exam likes to ask which one fits a scenario.
- Bottom up: start at layer 1 and work upward. Check the cable, the link light, the port, then the switch and VLAN, then the IP configuration, and finally the application. This is the right call when the symptom is total loss of connectivity or you suspect hardware.
- Top down: start at the application and work downward. If one application fails while others work fine, the lower layers are probably healthy, so start with the app and its configuration.
- Divide and conquer: start at a middle layer, usually layer 3 with a ping, and move up or down depending on the result. A successful ping to the gateway tells you layers 1 through 3 are working locally, so the problem is above. A failed ping sends you down.
A quick ladder helps. No link light is layer 1. A link but no communication on the local segment points to layer 2, a wrong VLAN or a duplicate MAC. Local works but nothing beyond the gateway points to layer 3, a wrong gateway or subnet mask. Reaching an IP address but not a name is DNS, which is layer 7. The wording of the symptom usually names the layer for you if you slow down and read it.
The traps that cost people points
- Calling a switch a layer 3 device by default. A basic switch is layer 2, and only a layer 3 switch routes.
- Putting the firewall at one layer only. Read what it filters on. Ports and addresses suggest layers 3 and 4, application inspection suggests layer 7.
- Swapping segment and packet. Segments belong to transport and packets belong to network. The IP header is what makes it a packet.
- Treating a hub as smart. Anything that floods every port and has no addressing logic is layer 1, and the collision domain consequences follow from that.
- Starting at the wrong end. A question about a dead port wants the physical layer first, not a DNS check.
- Reading a question about the TCP/IP model as an OSI question, or the reverse. Check which model the question names before you map anything.
How to make it stick
Spend one evening building a single sheet from memory: seven layers down the left, then devices, protocols and data unit names across. Do it again two days later without looking, and fix the gaps. After that, stop drilling the list and drill scenarios, because the exam rarely asks for the list in isolation. Practice taking a symptom, naming the layer, and naming the first thing you would check. Do that ten times a day for a week and the model becomes a tool you reach for.
Techunique's Network+ track generates fresh layer placement and troubleshooting scenarios weighted to the exam blueprint, and the coach walks through why the keyed answer wins whenever you miss one. Open practice is free every day, and the exam tracks come with Pro.
Techunique is an independent practice tool and is not affiliated with CompTIA. Exam formats and objectives change between versions, so check the current objectives and the candidate information for the exam code you are actually booked for. Get the map right once, put your reps into the scenarios, and the OSI model goes from a chart on the wall to a quick way to find the fault.