Question

In: Computer Science

What are the functions of the Network Layer? Please explain encapsulation and fragmentation and reassembly in...

What are the functions of the Network Layer? Please explain encapsulation and fragmentation and reassembly in the Network Layer.

Solutions

Expert Solution

The Network Layer is the third layer of the OSI model. And the functions that it performs are :

1 . The network layer receives the frames from the data link layer, and deliver them to the destinations on the addresses that present inside the frame.

2. The network layer finds the destination address, by using the logical addresses, ie. IP (internet protocol).

3.  Packetizing – The process of encapsulating the data received from data link layer in a network layer packet at the source and decapsulating that from the network layer packet at the destination address is known as packetizing

4. Routing and Forwarding :

Routing is a process which delivers the packet to the destination by choosing an optimal path from one network to another.

Forwarding is defined as the action that is applied by each router in this network when a packet arrives at one of its interfaces.

Encapsulation :

The encapsulation is a process of adding headers and trailers around some data. In network layer, each packet, which contains header and encapsulated data, defined as the following :

  • Frame – It is the encapsulated data . A frame can have both a header and a trailer.
  • Packet – It is the encapsulated data . A header contains the source and destination IP addresses.

Fragmentation :

Fragmentation occurs by the network layer when the maximum size of datagram is greater than maximum size of data that can be hold a frame, then fragments of data will occur.

It is a process of breaking the packets into the smallest individual data units then that will travel through different networks.

Reassembly in Network layer :

Reassembly is the process where the re-assembly of the fragments that takes place at the destination. These fragments may arrive out of order , after they are reassembled.


Related Solutions

1- Definition and introduction of its layer 2- Explain the network functions 3- Explain the data...
1- Definition and introduction of its layer 2- Explain the network functions 3- Explain the data transfer method in the network 4- Mention the protocols if there is and explain them 5- Network positives and negatives effect for physical layer data link layer network layer transport layer presentation layer application layer and the tcp/ip
What is encapsulation and why is it important for network communication on the internet?
What is encapsulation and why is it important for network communication on the internet?
1) The two functions of the network layer are __________ and _____________ a) addressing, forwarding b)...
1) The two functions of the network layer are __________ and _____________ a) addressing, forwarding b) addressing, routing c) error detection, routing d) addressing, error correction 2) When manually configuring the TCP/IP network addressing information on a computer, which of the following pieces of information is NOT needed? a) The IP address of at least one DHCP server b) The IP address of at least one DNS server c) The subnet mask
1) Two key network layer functions are forwarding and routing. What are forwarding and routing? How...
1) Two key network layer functions are forwarding and routing. What are forwarding and routing? How does a router work ? 2) 1. Distinguish between the process of routing a packet from the source to the destination and the process of forwarding a packet at each router. 2. List four types of delays in a packet-switch network.
Two key network layer functions are forwarding and routing. What are forwarding and routing? How does...
Two key network layer functions are forwarding and routing. What are forwarding and routing? How does a router work ?
What are the layer of the dermis and what are their functions?
What are the layer of the dermis and what are their functions?
*2-  Describe the role of the communication layer, the network-wide state-management layer, and the network-control application layer...
*2-  Describe the role of the communication layer, the network-wide state-management layer, and the network-control application layer in the SDN controller. *3- Name the four different types of ICMP messages including type and code. What two types of ICMP messages are received at the sending host executing the Traceroute program? *4- Why are different inter-AS and intra-AS protocols used in the internet? Explain your answer.
What are the potential dangers to merge network layer with transport layer of computer networking protocol...
What are the potential dangers to merge network layer with transport layer of computer networking protocol stack?
Datagram network provides network-layer connectionless service, while virtual-circuit network provides network-layer connection service. Describe the forwarding...
Datagram network provides network-layer connectionless service, while virtual-circuit network provides network-layer connection service. Describe the forwarding tables for each service.
What is data fragmentation? What purpose does data fragmentation serve? What is a fat client? What...
What is data fragmentation? What purpose does data fragmentation serve? What is a fat client? What is a thin client? What is a three-tier architecture? What is data warehouse? Who in a company should benefit the most from the data warehouse?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT