Which OSI layer is responsible for logical addressing and for choosing the path a packet takes toward a destination on a different subnet?
Choose one.
Each OSI layer has one job; logical (IP) addressing and routing between networks belong to Layer 3, the Network layer.
Logical addressing means IP addresses, and choosing a path to another subnet is routing. Both are Layer 3 functions, which is why routers are called Layer 3 devices. The Data Link layer is the tempting near-twin because it also addresses devices, but it uses hardware MAC addresses and works only within one local segment.
- Spot the two clues: logical addressing (IP addresses) and path selection to another subnet (routing).
- Recall that IP addressing and routing are the Network layer's job.
- Separate it from Layer 2, which addresses by MAC within one local segment.
- Eliminate Transport (ports, end-to-end delivery) and Application (user-facing protocols).
Exam tip: IP addresses and routers: Layer 3, Network. MAC addresses and switches: Layer 2, Data Link.
Network Security Basics: OSI Model, TCP/IP, Firewalls, and VPNs — the lesson that teaches this.