Network layer-Design issues

Here are the key design issues of the Network Layer, explained plainly and in exam-/interview-ready form.


1. Service to the Transport Layer

The network layer must decide what kind of service it offers upward:

  • Connectionless service (datagram) – no setup, each packet routed independently (e.g., IP)

  • Connection-oriented service (virtual circuit) – path set up before data transfer

Design goal: keep the service simple, reliable, and independent of underlying hardware.


2. Routing

How packets find their way from source to destination.

  • Choosing optimal paths

  • Adapting to network changes (failures, congestion)

  • Supporting static vs dynamic routing

Routing must be efficient, scalable, and robust.


3. Addressing

Every device needs a unique logical address.

  • Global uniqueness (e.g., IP addresses)

  • Mapping logical → physical addresses

  • Supporting hierarchical addressing for scalability

Bad addressing = bad routing. Period.


4. Packet Switching & Forwarding

Decisions about:

  • Store-and-forward vs cut-through

  • Packet handling at routers

  • Forwarding table design

This directly affects latency and throughput.


5. Congestion Control

What happens when too many packets flood the network?

  • Detecting congestion

  • Preventing congestion collapse

  • Cooperation with transport layer (e.g., TCP)

The network layer must avoid becoming its own bottleneck.


6. Quality of Service (QoS)

Different applications have different needs:

  • Bandwidth

  • Delay

  • Jitter

  • Packet loss

Design challenge: support real-time traffic (video, voice) without breaking best-effort data traffic.


7. Fragmentation and Reassembly

Different networks support different maximum packet sizes (MTU).

  • Where to fragment (source or routers)

  • Where to reassemble (destination)

Poor fragmentation design hurts performance badly.


8. Error Handling & Diagnostics

  • Handling lost, duplicated, or corrupted packets

  • Reporting errors (e.g., ICMP)

The network layer does detection and reporting, not full recovery.


9. Internetworking

Connecting heterogeneous networks:

  • Different technologies

  • Different MTUs

  • Different addressing schemes

This is the reason the Internet works at all.


10. Security (Modern Concern)

Not in early designs, but now essential:

  • Packet filtering

  • IP spoofing prevention

  • Support for encryption and authentication (e.g., IPsec)