Awesome q2a theme
+1 vote

Assume a datagram of length $5*10^3$ bytes needs to pass through five networks to reach its destination. The MTU’s of each network is 1000, 820, 850, 950 and 900 respectively. Then at destination how many datagrams has to reached and what is the offset value of 3rd fragment after fragmentation?

Fragments should be 11 and offset should be 200 right?

closed with the note: Ans--> 11 fragments  122 is the offset value
in Computer Networks by (698 points)
closed by | 11 views
Lol saw your other comment now. Finally we're on the same page :)

I always find it safer not to assume anything, especially in systems' based subjects. Just solve according to the data in the question.
Yeah I realised my mistake

I forgot that 1packet is 800 followed by 176 and again 800 followed by 176....
Good good. I like to draw a table with a column for each network, then trace each packet from start to the end. Helps keep track of ordering, fragment offsets, number of packets, etc. This is the kind of numerical where you can go miserably lost.

 I like to draw a table with a column for each network

This is good, let me solve next problems in this method. 


For this example, I roughly did the below:

Link 1 Link 2 Link 3 ....
976+20 800 + 20 800 + 20 ...
  176 + 20 176 + 20 ..
976+20 800 + 20 800 + 20 ...

Just track one or 2 packets diligently from left to right / source to destination. That way if you mess up, you can at least back track.

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
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Feb 2020
  1. shashin

    363 Points

  2. Shaik Masthan

    79 Points

  3. SuvasishDutta

    39 Points

  4. srestha

    33 Points

  5. Mk Utkarsh

    32 Points

  6. neeraj_bhatt

    31 Points

  7. !KARAN

    30 Points

  8. Debapaul

    23 Points

  9. Pratyush Priyam Kuan

    18 Points

  10. kalra05

    18 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
3,314 questions
1,581 answers
89,904 users