edited by
762 views
2 votes
2 votes

Consider a network having a host P connected to another host Q via two routers Rl and R2. P is connected to R1 through a link that can support a maximum frame length of 1024 bytes including header of size 12 bytes. R1 is connected to R2 through a link that supports a maximum frame length of 256 bytes including an 8bytes header. R2 is connected to the host Q through the link that can support a maximum frame length of 512 bytes including the frame header of 12bytes. Suppose a TCP message having 800bytes of data and 20 bytes of TCP header is passed to the IP at host P for delivery to Q. Find the total number of bytes that are sent from host P to Q (including all the headers).
https://gateoverflow.in/?qa=blob&qa_blobid=626145120644117638

edited by

2 Answers

0 votes
0 votes
is it 2528? if not plz explain..thank u
0 votes
0 votes
800(payload)+20 bytes of data is to be transmitted it will not be fragmented from p to r1

now from r1 to r2 it is to be fragmented 248b(payload)+8b(header)------now payload will be 248(it should be multiples of 8)*3+56+4*8(header)

now from r2 to q there is no problem as packet length is 256 only

 

total number of bytes that are sent from host P to Q (including all the headers) is 820+32=852

Related questions

1 votes
1 votes
2 answers
2
erh asked Jul 21, 2016
761 views
Why don't we use CRC in IP header instead of Checksum?
0 votes
0 votes
1 answer
3
Sourabh Kumar asked May 21, 2016
1,037 views
0 votes
0 votes
1 answer
4
Hirak asked May 30, 2019
3,013 views
Which of the following is a public IP?10.15.14.12192.168.52.62173.32.1.1None