Skip to main content

Functions of network layer

Short answer

The network layer provides logical addressing, routing, packet forwarding, fragmentation/reassembly, internetworking, congestion control, and error reporting via ICMP. It moves packets across multiple networks from source to destination host.

What are the functions of the network layer?

The network layer moves packets from the source host to the destination host across one or more networks. Its functions are:

  1. Logical addressing: gives every host a unique IP address (network part + host part).
  2. Routing: selects the best path through the network using routing tables and routing protocols (RIP, OSPF, BGP).
  3. Packet forwarding: receives a packet on one interface and sends it out on the correct interface towards the destination.
  4. Fragmentation and reassembly: breaks packets that exceed the link MTU into smaller fragments and reassembles them at the destination.
  5. Internetworking: joins different physical networks into one logical network.
  6. Congestion control: avoids too many packets in the subnet.
  7. Error reporting and diagnostics: ICMP reports unreachable destinations and expired TTL.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Networks and Security chapter 4 questions →