PracticeBlogFlashcardsEspañol

OSI and TCP/IP Models with Device and Protocol Mapping

Key Takeaways

  • The OSI model is a troubleshooting map: physical, data link, network, transport, session, presentation, and application.
  • The TCP/IP model groups similar functions into link, internet, transport, and application layers.
  • Devices and protocols are often identified by the layer where their primary decision happens.
  • Encapsulation adds headers as data moves down the stack and removes them as data moves up the stack.
  • Layer mapping helps narrow symptoms, choose tools, and avoid replacing the wrong component.
Last updated: April 2026

OSI as a Troubleshooting Map

Network+ uses the OSI model to organize symptoms. It is not just a memorization list. If the link light is dark, start low. If IP works but names fail, look higher. If TCP connects but the application rejects credentials, the network path may be fine.

OSI layerPrimary jobCommon examplesUseful clues
7 ApplicationUser-facing network servicesHTTP, HTTPS, DNS, DHCP, SMTP, SNMP, SSHService error, name failure, application timeout
6 PresentationFormat, encryption, encodingTLS, certificates, compressionCertificate warning, unsupported cipher
5 SessionSession setup and controlRPC sessions, NetBIOS session conceptsSession drops, authentication conversation issues
4 TransportEnd-to-end ports and reliabilityTCP, UDP, port numbersConnection refused, retransmits, blocked port
3 NetworkLogical addressing and routingIPv4, IPv6, ICMP, routers, Layer 3 switchesWrong gateway, no route, TTL exceeded
2 Data LinkFrames, MAC addresses, VLANsEthernet, switches, 802.1Q, ARP, Wi-Fi MACVLAN mismatch, MAC table, duplex issue
1 PhysicalSignaling and mediaCables, fiber, radio, connectors, transceiversNo link, bad cable, interference, attenuation

TCP/IP Model Mapping

TCP/IP layerRough OSI mappingExamples
ApplicationOSI 5-7DNS, DHCP, HTTP, HTTPS, SMTP, SSH, SNMP
TransportOSI 4TCP, UDP
InternetOSI 3IPv4, IPv6, ICMP, routing
LinkOSI 1-2Ethernet, Wi-Fi, ARP, switching, cabling

Device and Protocol Mapping

ItemPrimary layerWhy
Hub1Repeats electrical or optical signals without frame decisions
Switch2Forwards frames using MAC addresses
Router3Forwards packets between IP networks
Layer 3 switch2/3Switches frames and routes between VLANs
Firewall3/4/7 depending on typeFilters by IP, port, state, or application
Load balancer4 or 7Distributes sessions by transport or application data
DNS7Resolves names through an application-layer service
TCP4Provides connection-oriented transport with ports
UDP4Provides connectionless transport with ports
ARP2/3 boundaryResolves IPv4 addresses to MAC addresses on a local network

Scenario: Narrow by What Works

A desktop has a link light, receives a DHCP lease, can ping its gateway, but cannot access https://intranet.example by name.

EvidenceWhat it suggests
Link light is onLayer 1 is likely functional
DHCP lease existsLayer 2 path to DHCP or relay worked, and basic IP settings exist
Gateway ping worksLocal Layer 3 path is working
Name-based website failsDNS, application service, certificate, or HTTP/HTTPS path needs checking

Layer thinking prevents a cable replacement from becoming the first answer to a DNS clue.

Encapsulation Names

Layer areaData unit
Application dataData
TransportSegment for TCP, datagram for UDP
NetworkPacket
Data linkFrame
PhysicalBits or symbols

When data leaves a host, each lower layer adds information needed for delivery. When data arrives, the receiving stack removes and interprets those headers.

Test Your Knowledge

A switch forwards traffic based primarily on MAC addresses. Which OSI layer is most associated with that decision?

A
B
C
D
Test Your KnowledgeMatching

Match each item to its primary OSI layer.

Match each item on the left with the correct item on the right

1
Router forwarding between subnets
2
TCP port 443 session
3
Ethernet frame switching
4
DNS name resolution
Test Your KnowledgeOrdering

Order the encapsulation units as data moves down the stack from an application toward the wire.

Arrange the items in the correct order

1
Frame
2
Packet
3
Data
4
Segment or datagram
5
Bits or symbols