Network Layer in Computer Networks: Functions, Services & Design Issues

COMPUTER NETWORKS • CHAPTER 20
Network Layer in Computer Networks: Functions, Services and Design Issues
When two devices are connected to the same local network, communication is comparatively simple.

But what if your phone in Lucknow wants to send data to a server located in another city or another country?

The data may have to cross many routers and many different networks before reaching its destination.

This is where the Network Layer becomes important.
Direct Answer

The Network Layer is the third layer of the OSI model. Its main job is to deliver packets from a source device to a destination device even when both devices are located on different networks.

It performs important tasks such as logical addressing, routing, forwarding, internetworking, fragmentation, congestion handling and Quality of Service.

In the Internet, the most important Network Layer protocol is IP — Internet Protocol.

What Is the Network Layer?

Network Layer in Computer Networks: Functions, Services & Design Issues

The Network Layer is responsible for moving data from the source host to the destination host across one or more networks.

It sits between the Transport Layer and the Data Link Layer.

Its most important question is very simple:

Which path should this packet follow so that it can reach the correct destination?

The Network Layer therefore deals with addressing and path selection.

Network Layer Position in the OSI Model

Application Layer 7
Presentation Layer 6
Session Layer 5
Transport Layer 4
Network Layer 3
Data Link Layer 2
Physical Layer 1
Easy Memory: Network Layer = Layer 3 = Packet + IP Address + Router + Routing

What Is the PDU of Network Layer?

The Protocol Data Unit of the Network Layer is generally called a:

Packet or, in an IP context, an IP datagram.

The Transport Layer gives its data to the Network Layer.

The Network Layer adds its own header containing information such as source and destination logical addresses.

Why Do We Need the Network Layer?

Suppose Computer A and Computer B are directly connected through one LAN.

The Data Link Layer can help them communicate inside that local network.

Now suppose Computer B is located on another network.

The packet may need to travel through:

1

Source Host

Creates data that must be sent to another network.

2

Default Router

Receives the packet and decides where it should go next.

3

Intermediate Routers

Forward the packet from one network toward another.

4

Destination Network

Final router delivers the packet toward the destination host.

Without the Network Layer, communication would mostly remain limited to directly connected local networks.

Main Functions of the Network Layer

1

Logical Addressing

Gives source and destination hosts logical addresses such as IP addresses.

2

Routing

Determines a suitable path from source network to destination network.

3

Forwarding

Moves an incoming packet to the correct outgoing interface.

4

Internetworking

Connects different networks into a larger network system.

5

Fragmentation

Handles packet-size differences when a packet must cross a network with a smaller MTU.

6

Congestion Handling

Helps deal with situations where too much traffic enters the network.

7

Quality of Service

Supports performance requirements such as delay, bandwidth and packet-loss needs.

8

Error Reporting

Network-control mechanisms can report certain delivery or routing problems.

9

Loop Prevention

Fields such as TTL or Hop Limit prevent packets from circulating forever.

Logical Addressing

A network may contain millions of devices.

Each device therefore needs an address that can identify its network and its position within the internetwork.

The Network Layer mainly uses:

IP Address

IP address is called a logical address.

It is different from the MAC address used at the Data Link Layer.

Source
IP: 192.168.1.10
→
Router
Checks destination IP
→
Destination
IP: 10.10.1.20

Why Is IP Called a Logical Address?

Because it is assigned according to network organization rather than being permanently tied to the hardware interface in the same way a MAC address normally is.

Routing

Routing means selecting a path through the network.

When multiple paths exist between sender and receiver, routers and routing mechanisms decide which route should be used.

A route may be selected according to factors such as:

  • Hop count
  • Link cost
  • Bandwidth
  • Delay
  • Administrative policy
  • Network reachability
Exam Definition: Routing is the process of determining a suitable path for packets to travel from a source network to a destination network.

Forwarding

Forwarding is the actual movement of a packet inside a router.

When a router receives a packet:

Router reads the destination IP address.
It searches the forwarding or routing information.
It identifies the best matching route.
It selects the outgoing interface or next hop.
It sends the packet toward the next network.

Routing vs Forwarding

Routing

Routing decides which paths should exist.

It builds or updates information used to reach different networks.

Think: “Which path should be used?”

Forwarding

Forwarding handles each arriving packet.

It sends that packet through the selected outgoing interface.

Think: “Where should this packet go now?”

Easy Trick: Routing creates the road map. Forwarding drives the packet according to that road map.

Internetworking

Internetworking means connecting multiple individual networks so they can communicate as one larger system.

The Internet itself is the biggest example.

Different networks may use different:

  • Physical media
  • Data rates
  • Local technologies
  • Frame formats

The Network Layer provides a common logical delivery mechanism above those local differences.

Fragmentation and Reassembly

Not every network can carry packets of the same maximum size.

Suppose one network supports a packet of 4000 bytes but the next network can carry only 1500 bytes.

In IPv4, fragmentation may be needed when permitted.

Original IP Datagram
Fragment 1
First part
Fragment 2
Middle part
Fragment 3
Final part

Reassembly

The fragments must eventually be combined again to recover the original IP datagram.

In IP, reassembly takes place at the destination host.

Congestion Control

Congestion happens when the network receives more traffic than it can comfortably handle.

Imagine a road designed for 500 vehicles suddenly receiving 5000 vehicles.

The same kind of problem can occur inside a network.

Incoming Packets
P
P
P
P
P
P
P
P
ROUTER QUEUE BECOMES BUSY
Possible Result:

Increased delay, queue overflow and packet loss.

Causes of Congestion

  • Too many packets arriving at the same time
  • Slow outgoing links
  • Insufficient router buffer
  • Poor routing decisions
  • Sudden traffic bursts

Quality of Service — QoS

Different applications have different network requirements.

For example:

  • Email can tolerate some delay.
  • Voice calls are sensitive to delay.
  • Video streaming needs reasonable bandwidth.
  • Interactive games are sensitive to latency and jitter.
Bandwidth Amount of data that can be carried in a given time.
Delay Time required for data to travel from source to destination.
Jitter Variation in packet delay.
Packet Loss Percentage or number of packets that fail to reach the destination.

Error Reporting and Diagnostics

The Network Layer is not responsible for correcting every transmission error.

However, network-control protocols can report certain delivery problems.

In the Internet architecture, ICMP is used for control and diagnostic messages associated with IP.

Examples include:

  • Destination unreachable
  • Time exceeded
  • Diagnostic echo request and reply
ICMP does not make IP a fully reliable delivery service. IP is still generally a best-effort service.

TTL and Hop Limit

Routing problems can sometimes create loops.

Without a protection mechanism, a packet could keep circulating between routers.

IPv4 uses:

TTL — Time To Live

IPv6 uses a similar field called:

Hop Limit

Every router that forwards the packet reduces the value.

When the value reaches zero, the packet is discarded.

Services Provided by Network Layer to Transport Layer

The Transport Layer uses the Network Layer to send data toward another host.

A good Network Layer service should hide unnecessary details of the underlying networks from the Transport Layer.

Classic design goals include:

  • Services should be independent of router technology.
  • The Transport Layer should not need to know the number or type of routers used.
  • Network addressing should provide a consistent way to identify destinations.
  • Communication should work across different interconnected networks.

Two Basic Service Approaches

  • Connectionless service
  • Connection-oriented service

Connectionless Network Service

In a connectionless service, no dedicated logical path is established before sending packets.

Each packet can be treated independently.

Every packet normally carries enough destination information to be routed.

Packet 1

A
R1
R4
B

Packet 2

A
R2
R3
B

Two packets belonging to the same communication may theoretically travel through different routes.

The Internet Protocol is fundamentally a connectionless datagram service.

Connection-Oriented Network Service

In a connection-oriented approach, a logical path is established before data packets are transferred.

The communication usually has three phases:

  1. Connection setup
  2. Data transfer
  3. Connection release

Logical Path

Source
→
R1
→
R3
→
Destination

Once the path is established, packets associated with that virtual connection normally follow that logical route.

Datagram Network

A datagram network implements connectionless packet delivery.

Each packet is called a datagram and is handled independently.

Important Features

  • No connection setup is required before transmission.
  • Each packet contains destination information.
  • Routers make forwarding decisions packet by packet.
  • Packets may use different paths.
  • Packets may arrive out of order.
  • Router state for each end-to-end connection is not required in the same way as a virtual-circuit network.

Virtual Circuit Network

A virtual circuit is a logical connection created through a packet-switched network.

Before data transfer, the path is established.

Routers or switches along the selected path maintain information about the virtual connection.

Main Stages

1

Setup

Establish the virtual route.

2

Data Transfer

Packets use the established logical path.

3

Release

Connection information is removed after communication finishes.

Datagram Network vs Virtual Circuit Network

Point Datagram Network Virtual Circuit Network
Service Type Connectionless Connection-oriented
Setup No prior connection setup Connection setup required
Routing Packet may be routed independently Logical path selected during setup
Packet Header Usually carries full destination address May carry a shorter virtual-circuit identifier
Router State Less connection-specific state Virtual-circuit state maintained
Packet Order Packets can arrive out of order Normally follow same logical path
Failure Effect Later packets may find another route Existing virtual circuit may need rebuilding
Example Concept Internet IP model Virtual-circuit packet-switching model

Major Network Layer Design Issues

When designing the Network Layer, engineers must decide much more than simply how to place an address inside a packet.

ISSUE 1

Service Type

Should the network provide connectionless or connection-oriented service?
ISSUE 2

Routing

How should packets find a suitable path?
ISSUE 3

Forwarding

How should routers move packets to the next hop efficiently?
ISSUE 4

Addressing

How should hosts and networks be uniquely identified?
ISSUE 5

Packet Size

What happens when different networks support different MTUs?
ISSUE 6

Congestion

How should the network behave under heavy traffic?
ISSUE 7

Quality of Service

How should different performance requirements be handled?
ISSUE 8

Internetworking

How should different networks communicate through one common layer?
ISSUE 9

Failure Handling

What happens if a route, link or router becomes unavailable?

Store-and-Forward Packet Switching

In packet-switched networks, a router generally receives a packet before forwarding it toward the next hop.

Host A
Sends packet
→
Router
Receives, examines and forwards
→
Next Hop
Receives packet

The router examines header information and decides which outgoing interface should be used.

Important Service Design Principles

A well-designed Network Layer should make communication easy for upper layers.

The Transport Layer should not need to understand every internal detail of each router or physical network.

Important Idea: The Network Layer should provide a logical end-to-end host delivery abstraction while hiding most internal network complexity.

Routing Table

A router needs information about reachable networks.

This information is stored in a routing or forwarding table.

Destination
Next Hop
Interface
10.0.0.0/8
192.168.1.1
eth0
172.16.0.0/16
192.168.2.1
eth1
0.0.0.0/0
192.168.1.254
eth0

Default Route

The route:

0.0.0.0/0

is commonly used as an IPv4 default route.

It can be chosen when no more specific route matches the destination.

Longest Prefix Matching

Sometimes more than one routing-table entry matches the destination IP address.

The router normally selects the most specific matching prefix.

Example

Suppose the table contains:

192.168.0.0/16 → Interface A
192.168.10.0/24 → Interface B
192.168.10.128/25 → Interface C

Destination:

192.168.10.150

All three prefixes may be related, but:

/25 is the longest and most specific match. Therefore Interface C is selected.

Static Routing and Dynamic Routing

Static Routing

Routes are manually configured by an administrator.

Advantages:

  • Simple in small networks
  • No routing-protocol overhead
  • Predictable configuration

Limitations:

  • Difficult to maintain in large networks
  • Does not automatically adapt to many failures

Dynamic Routing

Routers exchange information through routing protocols and can adapt routes when network conditions change.

Examples include:

  • RIP
  • OSPF
  • BGP
Routing protocols calculate or exchange reachability information. The IP forwarding process then uses routing information to send packets toward the destination.

Important Information Carried in a Network Packet

The exact fields depend on the protocol, but an IP packet header contains information needed for network delivery.

Source Address Sender's IP
Destination Address Receiver's IP
Length Information Packet size
TTL / Hop Limit Loop protection
Protocol / Next Header Identifies upper-layer handling
Fragment Information Used in relevant IPv4 fragmentation handling

What Is MTU?

MTU stands for:

Maximum Transmission Unit

It is the maximum packet or payload size a particular link-layer technology can carry in one frame according to its rules.

A common Ethernet IP MTU is:

1500 bytes

If an IPv4 datagram is larger than the outgoing link MTU, fragmentation may be required unless fragmentation is prohibited.

Solved IPv4 Fragmentation Numerical

Suppose:

Original IP Datagram = 4000 bytes
IPv4 Header = 20 bytes
MTU = 1500 bytes

Step 1: Find Original Data Size

Data = 4000 - 20
Data = 3980 bytes

Step 2: Maximum Data Per Fragment

Maximum Fragment Data = 1500 - 20
= 1480 bytes

1480 is divisible by 8, which is useful because the IPv4 fragment offset is measured in units of 8 bytes.

Fragments

Fragment Data Bytes Total Length Offset MF
1 1480 1500 0 1
2 1480 1500 185 1
3 1020 1040 370 0

Offset Calculation

Fragment 1 Offset = 0
Fragment 2 Offset = 1480 / 8 = 185
Fragment 3 Offset = 2960 / 8 = 370
MF = More Fragments MF = 1 means more fragments follow. MF = 0 identifies the final fragment.

IPv4 vs IPv6 Fragmentation

Point IPv4 IPv6
Router Fragmentation Can occur when allowed Routers do not fragment transit packets
Who Fragments? Source or router may fragment in relevant cases Fragmentation is performed by the source using the Fragment extension header
Path MTU Importance Important Very important
Reassembly Destination Destination

Flow Control vs Congestion Control

Students often confuse these two terms.

Point Flow Control Congestion Control
Main Problem Fast sender may overwhelm receiver Too much traffic may overwhelm the network
Focus Sender and receiver relationship Overall network load
Typical Concern Receiver capacity Router queues, links and traffic level
Example Sliding Window flow control Traffic management and congestion mechanisms

Important Network Layer and Related Routing Protocols

IPv4 Provides 32-bit logical addressing and packet delivery.
IPv6 Provides 128-bit addressing and a newer IP packet format.
ICMP Used for network control, diagnostics and error reporting associated with IP.
Routing Protocols RIP, OSPF and BGP exchange or calculate routing information.
Important: A routing protocol and a routed protocol are not the same thing. IP carries packets. Routing protocols help routers learn how destinations can be reached.

Role of a Router at the Network Layer

A router is the main device associated with the Network Layer.

Its basic work is:

  1. Receive a frame on an interface.
  2. Remove the local Data Link Layer framing.
  3. Examine the destination Network Layer address.
  4. Search forwarding information.
  5. Select the next hop or outgoing interface.
  6. Create suitable Data Link Layer framing for the next link.
  7. Forward the packet.
Important Concept: The IP packet travels across networks, but the Layer-2 frame can change from one link to another.

Real-Life Example: Opening a Website

Suppose you enter a website address on your laptop.

After the destination IP is known, your device needs to send packets toward that server.

1

Your Laptop

Creates an IP packet containing source and destination addresses.

2

Home or Campus Router

Checks the destination and forwards the packet toward the next network.

3

ISP Routers

Multiple routers may forward the packet according to their routing information.

4

Destination Network

Packet reaches the network containing the web server.

5

Server

The destination host receives the packet and passes its contents upward to the correct transport process.

Network Layer vs Data Link Layer

Point Data Link Layer Network Layer
OSI Layer Layer 2 Layer 3
Main Unit Frame Packet
Address MAC address IP address
Delivery Link-to-link or local delivery Host-to-host delivery across networks
Main Device Switch / bridge Router
Major Concern Framing, MAC access, link errors Routing, forwarding and logical addressing

Network Layer vs Transport Layer

Point Network Layer Transport Layer
OSI Layer Layer 3 Layer 4
Main Delivery Host-to-host Process-to-process
Main Address IP address Port number
Main Task Routing and packet forwarding End-to-end transport service
Common Protocols IP TCP, UDP

Common Exam Mistakes

1. Network Layer uses MAC address for routing across the Internet.

Network Layer routing mainly uses logical addresses such as IP addresses.
2. Routing and forwarding are exactly the same.

Routing decides or learns paths. Forwarding handles an individual packet using that information.
3. Router works only at Physical Layer.

A router's key forwarding function is associated with the Network Layer, although real devices also interact with lower layers.
4. Flow control and congestion control are the same.

Flow control protects the receiver from a fast sender. Congestion control deals with excessive traffic inside the network.
5. Every packet in a datagram network must follow the same route.

Packets can be routed independently and may take different paths.
6. IPv6 routers fragment packets exactly like IPv4 routers.

IPv6 routers do not fragment transit packets. Fragmentation, when needed, is handled by the source.
7. TTL represents a normal clock time in seconds during modern IP forwarding.

In practical forwarding, routers decrement TTL as packets pass through hops.
8. A routing table stores only complete host addresses.

It commonly stores network prefixes and associated next-hop or interface information.
9. Longest prefix means numerically largest IP address.

Longest prefix means the matching route with the greatest prefix length, such as /25 being more specific than /24.
10. IP guarantees delivery of every packet.

Standard IP service is generally best effort and does not itself guarantee reliable delivery.

40 Important Network Layer Questions With Answers

1. What is the Network Layer?
The Network Layer is Layer 3 of the OSI model. It provides logical addressing and packet delivery from a source host to a destination host across one or more interconnected networks.
2. What is the main purpose of the Network Layer?
Its main purpose is to move packets between different networks by using logical addressing, routing and forwarding.
3. What is the PDU of the Network Layer?
The Network Layer PDU is called a packet. In the IP system it is commonly called an IP datagram.
4. Which device mainly works at the Network Layer?
A router is the main device associated with the Network Layer.
5. What is logical addressing?
Logical addressing assigns addresses such as IP addresses so hosts and networks can be identified across an internetwork.
6. What is routing?
Routing is the process of determining a suitable path through a network so packets can reach the destination network.
7. What is forwarding?
Forwarding is the process of moving an arriving packet to the correct outgoing interface or next hop according to forwarding information.
8. Differentiate between routing and forwarding.
Routing determines or learns paths through the network. Forwarding uses that information to send each individual packet toward its next hop.
9. What is internetworking?
Internetworking is the process of connecting separate networks so devices on those networks can communicate through a common network-layer mechanism.
10. What is fragmentation?
Fragmentation divides a large IP datagram into smaller fragments so it can cross a link whose MTU is smaller than the original packet size.
11. What is reassembly?
Reassembly is the process of combining received IP fragments to reconstruct the original datagram at the destination.
12. What is MTU?
MTU means Maximum Transmission Unit. It represents the maximum packet size that can be carried through a particular link according to that link's technology and configuration.
13. What is congestion?
Congestion occurs when too much traffic enters the network and routers or links cannot process the load efficiently, causing delay, queue growth or packet loss.
14. What is Quality of Service?
Quality of Service refers to mechanisms and performance goals related to bandwidth, delay, jitter and packet loss for different traffic requirements.
15. What is a connectionless network service?
It is a service where no logical connection is established before data transfer. Each packet can be handled independently and normally contains its destination information.
16. What is a connection-oriented network service?
It is a service where a logical connection or virtual path is established before packets are transferred.
17. What is a datagram network?
A datagram network is a connectionless packet-switched network in which packets are treated independently and may follow different routes.
18. What is a virtual circuit?
A virtual circuit is a logical path established through a packet-switched network before data transfer begins.
19. What are the three phases of a virtual-circuit communication?
Connection setup, data transfer and connection release.
20. Why is IP considered connectionless?
IP does not establish an end-to-end network-layer connection before each datagram is sent. Each datagram is forwarded according to its destination information.
21. What is a routing table?
A routing table contains information about reachable network prefixes and the next hop, interface or other information used to forward packets.
22. What is a default route?
A default route is used when no more specific routing-table entry matches a destination. In IPv4 it is commonly written as 0.0.0.0/0.
23. What is longest prefix matching?
When multiple routing entries match a destination address, the route with the greatest matching prefix length is selected because it is the most specific.
24. What is static routing?
Static routing uses routes that are manually configured and do not normally change automatically because of network topology changes.
25. What is dynamic routing?
Dynamic routing uses routing protocols that exchange or calculate reachability information and can adjust routes when network conditions change.
26. Name some routing protocols.
RIP, OSPF and BGP are common routing protocols.
27. What is store-and-forward packet switching?
It is the process in which a router receives a packet, examines the required information and then forwards it toward the next hop.
28. What is TTL?
TTL stands for Time To Live. In IPv4 it limits how many router hops a packet can continue through before it is discarded.
29. Why is TTL required?
It prevents packets from circulating indefinitely if a routing loop occurs.
30. What is Hop Limit in IPv6?
Hop Limit is the IPv6 field that performs a role similar to IPv4 TTL by limiting the number of forwarding hops.
31. What is ICMP?
ICMP is Internet Control Message Protocol. It supports control, diagnostic and error-reporting messages associated with IP communication.
32. Differentiate between flow control and congestion control.
Flow control prevents a sender from overwhelming a receiver, while congestion control deals with excessive traffic and overloaded resources inside the network.
33. Does IP guarantee packet delivery?
Standard IP provides best-effort delivery and does not itself guarantee that every packet will reach the destination.
34. What is the main difference between MAC address and IP address?
A MAC address is mainly used for local link-layer delivery, while an IP address is a logical address used for routing packets across networks.
35. Where does IPv4 reassembly take place?
IPv4 fragments are reassembled at the destination host.
36. Can an IPv6 router fragment a transit packet?
No. IPv6 routers do not fragment transit packets. If fragmentation is required, the source handles it using the IPv6 Fragment extension header.
37. What does the MF flag mean in IPv4 fragmentation?
MF means More Fragments. MF equal to 1 means additional fragments follow, while MF equal to 0 identifies the final fragment.
38. Why is fragment offset divided by 8?
The IPv4 Fragment Offset field represents the fragment's position in units of 8 bytes, so the byte position is divided by 8 to obtain the offset value.
39. What service does Network Layer provide to Transport Layer?
It provides logical host-to-host packet delivery across interconnected networks while hiding much of the underlying network and router complexity.
40. State the major design issues of the Network Layer.
Major issues include service type, logical addressing, routing, forwarding, internetworking, packet-size differences, fragmentation, congestion, Quality of Service and handling failures or changing network conditions.

20 Network Layer MCQs With Answers

1. Network Layer is which OSI layer?

A. Layer 1
B. Layer 2
C. Layer 3
D. Layer 4

Answer: C — Layer 3
2. The PDU of the Network Layer is:

A. Bit
B. Frame
C. Packet
D. Segment only

Answer: C — Packet
3. Which address is mainly used by the Network Layer?

A. IP address
B. MAC address only
C. Port number
D. Process ID

Answer: A — IP address
4. Which device is mainly associated with Network Layer forwarding?

A. Router
B. Keyboard
C. Repeater only
D. Printer

Answer: A — Router
5. The process of selecting a path is called:

A. Framing
B. Routing
C. Encoding
D. Multiplexing

Answer: B — Routing
6. Moving a packet to an outgoing interface is called:

A. Forwarding
B. Encryption
C. Sampling
D. Modulation

Answer: A — Forwarding
7. IP normally provides:

A. Connectionless best-effort service
B. Guaranteed end-to-end delivery
C. Circuit switching only
D. Application encryption

Answer: A
8. Which is an IPv4 default route?

A. 0.0.0.0/0
B. 255.255.255.255/32 only
C. 127.0.0.1/8
D. 1.1.1.1/32 always

Answer: A — 0.0.0.0/0
9. Longest prefix matching selects:

A. Most specific matching route
B. Shortest IP address
C. Largest packet
D. Lowest MAC address

Answer: A
10. MTU stands for:

A. Maximum Transmission Unit
B. Minimum Transfer Utility
C. Main Transport User
D. Maximum TCP Usage

Answer: A
11. In IPv4 fragmentation, MF means:

A. More Fragments
B. Maximum Frame
C. Main Forwarder
D. Multiple Flow

Answer: A — More Fragments
12. IPv4 fragment offset is measured in units of:

A. 8 bytes
B. 1 bit
C. 100 bytes
D. 1024 bytes

Answer: A — 8 bytes
13. Which field prevents an IPv4 packet from circulating indefinitely?

A. TTL
B. Port number
C. MAC CRC
D. Sequence window

Answer: A — TTL
14. IPv6 uses which field instead of IPv4 TTL?

A. Hop Limit
B. Frame Limit
C. Window Limit
D. Route ID

Answer: A — Hop Limit
15. Which protocol is used for IP-related diagnostic and error messages?

A. ICMP
B. HTML
C. CSS
D. SMTP only

Answer: A — ICMP
16. A datagram network is:

A. Connectionless
B. Always connection-oriented
C. Circuit switched only
D. Application layer only

Answer: A — Connectionless
17. A virtual circuit usually requires:

A. Setup before data transfer
B. No path information
C. No forwarding
D. No routers

Answer: A
18. Which is a dynamic routing protocol?

A. OSPF
B. HTML
C. ARP table entry only
D. JPEG

Answer: A — OSPF
19. Network congestion mainly occurs when:

A. Network traffic exceeds available resources
B. A user changes font size
C. A monitor turns off
D. A keyboard disconnects

Answer: A
20. Which layer mainly provides process-to-process delivery?

A. Transport Layer
B. Network Layer
C. Physical Layer
D. Data Link Layer

Answer: A — Transport Layer

Frequently Asked Questions

What is the Network Layer in simple words?

The Network Layer is the OSI layer responsible for sending packets from one host to another host across different networks using logical addresses and routers.

What are the main functions of the Network Layer?

Its main functions include logical addressing, routing, forwarding, internetworking, fragmentation handling, congestion management, QoS support and network-control functions.

Why is IP address called a logical address?

An IP address identifies a host and its network logically and can change when the device moves to another network or receives another network configuration.

What is the difference between routing and forwarding?

Routing determines paths or learns reachability information, while forwarding sends each arriving packet through the selected outgoing interface.

What is a datagram network?

A datagram network is a connectionless packet-switched network where each packet can be processed and routed independently.

What is a virtual circuit?

A virtual circuit is a logical path established through a packet-switched network before data transfer.

What is MTU?

MTU means Maximum Transmission Unit and represents the maximum packet size that can be carried through a link according to that link's technology and configuration.

Does IPv6 router fragmentation work like IPv4?

No. IPv6 routers do not fragment packets in transit. The source is responsible for fragmentation when it is required.

What is longest prefix matching?

It is the rule where a router chooses the matching routing entry with the greatest prefix length because that route is the most specific.

What is the main device used at the Network Layer?

A router is the main device associated with Network Layer packet forwarding between networks.

Quick Network Layer Revision

Layer: Network Layer = OSI Layer 3
PDU: Packet / IP Datagram
Address: Logical IP Address
Main Device: Router
Routing: Finds or learns the path
Forwarding: Sends packet to next hop
Datagram: Connectionless delivery
Virtual Circuit: Logical connection before transfer
MTU: Maximum Transmission Unit
IPv4 Fragmentation: Can occur when permitted
IPv6: Routers do not fragment transit packets
TTL: Prevents endless packet looping
Congestion: Too much traffic for network resources
QoS: Bandwidth, delay, jitter and loss

Final Memory Line:

IP identifies the destination → Routing finds the direction → Forwarding moves the packet → Routers repeat this process until the packet reaches the destination network.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Join Telegram Exam updates and free resources