628 views

2 Answers

1 votes
1 votes

Given that, for R1-R2 the maximum packet size including 8 B  header is 512 B. It means that a packet in R1-R2 can carry maximum data of  512-8 =504 B only.

We need to transfer 900 B data and 20 B of TCP header, total 920  B which is beyond the limit 504 B. Hence the packet will be fragmented.

  • First packet will carry first 504 B
  • Second packet will carry 920-504 =416 B

Total length of second packet = 416+ 8 (header) = 424 B

0 votes
0 votes

Maximum frame size allowed = 512 B (include frame header)
Frame Header Size = 8 B
So maximum packet size allowed = 512 B - 8 B = 504 B

Maximum data size=504-20=484 ≈ 480 // multiply of 8

  • First packet will carry =480 data+20 IP header+8 frame header=508B
  • Second packet will carry 920-480 =440 B

Total length of IP header = 440+ 20 (include IP header) = 460 B

Related questions

0 votes
0 votes
1 answer
1
Bad_Doctor asked Jun 8, 2017
558 views
When Checksum is calculated in TCP, why IP header is also included? since it is included why it is only used in computation and not in transmission.