GATE CSE
First time here? Checkout the FAQ!
x
0 votes
387 views

Fragmentation is done by Network layer or Transport Layer ?

asked in Computer Networks by Active (2.4k points) 3 21 42 | 387 views

3 Answers

+1 vote
fragmentation is done by network layer  and  generally  by  a router

 and it is required because if there is network where MTU is less than  paket size

then  there fragmentation is required.

 

fragmentation is nothing but  dividing paket into fragments so new pakets could could fit into a frame

whose MTU is less than original packet

 

it  is never done  on  source computer,  it  is  always  done by routers  and  it  is done  at layer 3  -- network layer

 

on   tranport  layer (source computer )  segmentation is done  such that it  gets  easily fit into  FRAME of data link layer

so to avoid fragmentation on this DLL(dat link layer).
answered by Junior (753 points) 2 9
0 votes

fragmentation is done by network layer as per according to size of MTU(MAXIMUM transfer unit).

answered by Veteran (21.4k points) 30 103 201

But in Frouzan its written "Source usually dont fragment IP packet. The transport layer instead segment the data into a size that can be accomodated by IP and the link layer in use"

yea true source dont do fragmentation...it is done by the routers...source only do segmentation according to the MTU of the DLL at the transport layer....when u segment the data packet at TL and send it to router...router will do fragmentation based on the MTU of other network(using offset,MF,total length and header length)....so in short
SOURCE WILL DO SEGMENTATION AT TRANSPORT LAYER

ROUTERS WILL DO FRAGMENTATION AT NETWORK LAYER

DESTINATION WILL DO REASSEMBLY OF FRAGMENTS
Yes true, but still there is a chance where source will do fragmentation when DF flag is set to 1. Upon receiving the ICMP packet from router, it will fragment the datagram at source and resend the datagram as per the MTU received.
0 votes
fragmentation is done at network layer
answered by (121 points) 2


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23488 Points

  2. Bikram

    17108 Points

  3. Habibkhan

    8682 Points

  4. srestha

    6314 Points

  5. Debashish Deka

    5458 Points

  6. jothee

    5068 Points

  7. Sachin Mittal 1

    4882 Points

  8. joshi_nitish

    4444 Points

  9. sushmita

    3996 Points

  10. Rishi yadav

    3868 Points


Recent Badges

Photogenic MiNiPanda
Reader Ali Jazib Mahmood
Good Question Ishrat Jahan
Nice Comment Arjun
Notable Question Kaifi7
Popular Question LORD ofKINGS
Great Question Rucha Shelke
Popular Question rahul sharma 5
Popular Question jothee
Popular Question Pankaj Joshi
27,351 questions
35,209 answers
84,265 comments
33,328 users