226k views
0 votes
Consider sending a 2400-byte datagram into a link that has an mtu of 700 bytes. suppose the original datagram is stamped with the identification number 422. how many fragments are generated? what are the values in the various fields in the ip datagram(s) generated related to fragmentation?

User Gatto
by
7.3k points

1 Answer

6 votes

Step-by-step explanation:

Let, DG is the datagram so, DG= 2400.

Let, FV is the Value of Fragment and F is the Flag and FO is the Fragmentation Offset.

Let, M is the MTU so, M=700.

Let, IP is the IP header so, IP= 20.

Let, id is the identification number so, id=422

Required numbers of the fragment =
[(DG-IP)/(M-IP) ]

Insert values in the formula =
[(2400-20)/(700-20) ]

Then, =
[(2380)/(680) ] =
[3.5]

The generated numbers of the fragment is 4

  • If FV = 1 then, bytes in data field of DG=
    720-20 = 680 and id=422 and FO=0 and F=1.
  • If FV = 2 then, bytes in data field of DG=
    720-20 = 680 and id=422 and FO=85
    (85*8=680 bytes) and F=1.
  • If FV = 3 then, bytes in data field of DG=
    720-20 = 680 and id=422 and FO=170
    (170*8=1360 bytes) and F=1.
  • If FV = 4 then, bytes in data field of DG=
    2380-3(680) = 340 and id=422 and FO=255
    (255*8=2040 bytes) and F=0.

User Hani Gotc
by
7.6k points