Computer Networking Basics

In the OSI reference model, which layer uses logical addresses such as IP addresses to relay packets between different networks until they reach their destination?

  1. AData link layer (layer 2)
  2. BNetwork layer (layer 3)
  3. CTransport layer (layer 4)
Show answer and explanation

Answer: B. Network layer (layer 3)

The OSI reference model organizes communication functions into seven layers, from the physical layer up to the application layer. The network layer (layer 3) uses logical addresses such as IP addresses to choose a route across multiple networks and relay packets to the destination. The data link layer below it only delivers frames to a neighboring device within the same network, using MAC addresses. The transport layer handles communication between applications on the end hosts; TCP, for example, manages retransmission and ordering. In terms of equipment, routers operate at layer 3 and L2 switches at layer 2.

  • A. The data link layer delivers frames to a neighboring device within the same network.
  • B. Correct. The network layer handles relaying (routing) across networks.
  • C. The transport layer handles communication between applications on the end hosts; it does not relay packets.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. In the four-layer TCP/IP model, which layer do TCP and UDP belong to?
  2. When a web page's data is sent, what happens on the sending side each time the data is passed from an upper layer to a lower layer?
  3. Which statement about MAC addresses is correct?
  4. Compared with a hub (repeater hub), which correctly describes how an L2 switch operates?
  5. On one L2 switch, VLANs are configured so that ports 1–4 are in VLAN 10 and ports 5–8 are in VLAN 20. Which statement about its operation is correct?