Networking Concepts

Two hosts on different subnets can each reach their own default gateway but not each other. Pings to the gateway succeed. Which layer's function is most directly responsible for delivering packets between the subnets?

Show the answer

Correct answerA. Layer 3 - Network

AWhy this is right: Network provides IP addressing and routing, which carry packets between subnets.

BWhy not this: Transport provides port-based delivery and reliability between endpoints, not inter-subnet path selection.

CWhy not this: Data link delivers frames within one segment; local gateway reachability shows this layer already works.

DWhy not this: Session manages dialogs between applications and does not route packets.

Moving packets between different subnets relies on logical IP addressing and routing, which are Layer 3 functions. Layer 2 only delivers frames within a single broadcast domain, which already works since each host reaches its gateway.