Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Applied Test Series
LRU
asked
in
Computer Networks
Nov 11, 2021
379
views
0
votes
0
votes
A router with MTU of 1024 bytes has received an IP packet of size 4240 bytes with an IP header of 20 bytes. The value of MF and offset of the 3rd fragment is ________
test-series
computer-networks
fragmentation
network-layer
LRU
asked
in
Computer Networks
Nov 11, 2021
by
LRU
379
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
@LRU
## MF = 1 , OFFSET = 250 …
IP packet of size 4240 bytes, actual data/payload size=4240-20=4220 bytes(which is to be transferred) ..
Next MTU is 1024 & 1024<4220. So we'll use fragmentation.
Each fragment will have its own header, MTU for data/payload to be transferred = 1024-20=1004..
Fragment data should be in multiples of 8 and 1004 is not a multiple of 8, So we choose the nearest multiple of 8 i.e 1000…
Hence, we'll send fragments as- 1000(data) + 20(header)
First fragment- 1000+20 , Fragmentation offset(F.O)=0 ,
Remaining data=4220-1000=3220, MF bit=1
Second fragment-1000+20 , Fragmentation offset(F.O)=0+1000/8=125 ,Remaining data=3220-1000=2220, MF bit=1
Third fragment-1000+20 , Fragmentation offset(F.O)=125 +1000/8=250 ,Remaining data=2220-1000=1220, MF bit=1
Fourth fragment-1000+20 , Fragmentation offset(F.O)=250 +1000/8=375,Remaining data=1220-1000=220, MF bit=1
Fifth fragment-220+20 , Fragmentation offset(F.O)=375 +1000/8=500,Remaining data=220-220=0, MF bit=0 ..
##
https://gateoverflow.in/206387/Fragmentation
Awe111
answered
Nov 12, 2021
by
Awe111
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
1
answer
1
LRU
asked
in
Computer Networks
Oct 10, 2021
586
views
Applied Test Series
Let an IP datagram of the following data and header sizes be sent through a network of MTU 500 bytes. Calculate the fragment offset values that should be set for 3rd fragment ? IP header = 40 bytes TCP header = 60 bytes• Data = 1000 bytes• MTU = 500 bytes•
LRU
asked
in
Computer Networks
Oct 10, 2021
by
LRU
586
views
test-series
computer-networks
network-layer
fragmentation
1
vote
1
vote
1
answer
2
LRU
asked
in
Computer Networks
Oct 4, 2021
474
views
Applied Test Series
The packet is sent from source to router with the link having the maximum transmission unit (MTU) as 480 bytes, the header is of size 20 bytes. The intermediate fragment size is X and the last fragment size is Y when the packet size is of 2000 bytes including the header. Calculate the value of X+Y in bytes?
LRU
asked
in
Computer Networks
Oct 4, 2021
by
LRU
474
views
computer-networks
network-layer
test-series
fragmentation
0
votes
0
votes
1
answer
3
LRU
asked
in
Computer Networks
Oct 4, 2021
236
views
Applied Test Series
Suppose a router receives an IP packet containing 600 data bytes and has to forward the packet to a network with a maximum transmission unit of 200 bytes. Assume that the IP header is 20 bytes long. What will be the fragment offset of the third fragment ?
LRU
asked
in
Computer Networks
Oct 4, 2021
by
LRU
236
views
computer-networks
network-layer
test-series
fragmentation
0
votes
0
votes
1
answer
4
LRU
asked
in
Computer Networks
Dec 18, 2021
347
views
Applied Mock Test
The packet is sent from source to router with the link having the maximum transmission unit (MTU) as 480 bytes, the header is of size 20 bytes. The intermediate fragment size is X and the last fragment size is Y when the packet size is of 2000 bytes including the header. Calculate the value of X+Y in bytes?
LRU
asked
in
Computer Networks
Dec 18, 2021
by
LRU
347
views
test-series
computer-networks
fragmentation
network-layer
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
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
Recent Posts
Recruitment of Scientific Officers in the Department of Atomic Energy 2023
GATE CSE 2023 Paper & Analysis - Memory Based
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(843)
Tier 1 Placement Questions
(17)
Job Queries
(75)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
+1
1200/1000 = 1.2
Aptitude- 1- there was a question, Like in a...
Suppose typing happens at 1 keystroke per second....
The algorithm for graph colouring was to pick...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy