edited by
19,538 views
51 votes
51 votes

A TCP message consisting of $2100$  $bytes$ is passed to IP for delivery across two networks. The first network can carry a maximum payload of $1200$ $bytes$ per frame and the second network can carry a maximum payload of $400$ $bytes$ per frame, excluding network overhead. Assume that IP overhead per packet is $20$ $bytes$. What is the total IP overhead in the second network for this transmission?

  1. $\text{40 bytes}$
  2. $\text{80 bytes}$
  3. $\text{120 bytes}$
  4. $\text{160 bytes}$
edited by

6 Answers

1 votes
1 votes

Easy Approach:-

TCP msg = $2100$ B → When passed to IP gets an IP Header of $20$ B → $2120$ B

The Routers delete the original IP header so fragmentation is done only on $2100$ B. 

We know the bottleneck MTU is 400B. So anyhow the fragments will be divided so that it can pass through the bottleneck MTU. Now $400B$ MTU → $380B$ data and $20B$ IP Header. Again $380$ is not divisible by $8$, so the required number is $376B$ of data. Hence the number of packets will be $\lceil \frac{2100}{376}\rceil$ = 6 packets.

Therefore total overhead = $6*20$ = $120B$.

0 votes
0 votes

It does not bother how data reaches Router B

 

A-------------------------------------------B-------------------------------------------C

2100                                             2120

 

                                                    20 Bytes removed as IP header

So data becomes 2100 B

Now as C has MTU of 400 so number of Packets = 2100/380 = 5.5

Take ceil

So answer is 6

What is the total IP overhead in the second network for this transmission?

6 packets

Per packet overhead = 20B

For 6 packets

120B

 

Try to visualise things

So answer becomes easier,

Many answers say 2110 is divided into 1200 and 900

But it hardly matters. We still have to send those 3 packets of 400B each at C so be it divided or 2100 as a data whole together.

But C will need  6 packets in the best, worst case.

Answer:

Related questions

26 votes
26 votes
3 answers
5
Ishrat Jahan asked Nov 2, 2014
10,195 views
In a data link protocol, the frame delimiter flag is given by $0111$. Assuming that bit stuffing is employed, the transmitter sends the data sequence $01110110$ as$011010...
24 votes
24 votes
6 answers
7
Ishrat Jahan asked Nov 2, 2014
6,288 views
In the TCP/IP protocol suite, which one of the following is NOT part of the IP header?Fragment OffsetSource IP addressDestination IP addressDestination port number