647 views
1 1 vote
While sending the data of 'P' Bytes from the transport layer to the Physical layer. On every transpost to physical 'h' bytes of header is uploaded. The overhead percentage due to a header on the link is ______.

- [The size of 'P' is 2 times of header].

 

 

 

 

doubt: while sending data from transport layer to physical layer we encapsulate the msg 3 times do we have to consider the encapsulation take prior to reaching physical layer also?

1 Answer

Best answer
0 0 votes

Solution according to the Question :-

As the question says - 

... On every transpost to physical 'h' bytes of header is uploaded ...

 So, we can take as total header size that is attached to the frame during the Transport Layer to Physical Layer is $h$ Bytes.

Message size $= P$ Bytes $= 2h$ Bytes.

$\therefore$ Total frame size in Presentation Layer $= (2h +h)$ Bytes = $3h$ Bytes.

$\therefore$ The overhead percentage $(\%)$ due to a header in the link is $= \frac{Header\ Size}{Total\ Frame\ Size} = \frac{h\ Bytes}{3h\ Bytes} \times 100\% = 33.33\%$


Solution according to Doubt:-

If the question does not mention the below line -

... On every transpost to physical 'h' bytes of header is uploaded ...

then we can solve the question according to below approach -

On every layer from transport layer to physical layer, 'h' bytes of header is uploaded.

AAAAA

As we can see from the above image -

As the overhead percentage due to headers on the link asked, header of Transport Layer, Network Layer, Data Link Layer & Physical Layer headers are overhead.

$\therefore$ Total Header Size = $h$ Bytes $+ h$ Bytes $+ h$ Bytes $+ h$ Bytes $= 4h$ Bytes. 

$[$NOTE: Trailer can cause overhead, but as it is not mentioned in the question so we can take Trailer as negligible value and we can ignore it$]$

Given, Message Size $= P$ Bytes $= 2 \times Header\ Size =2 \times h = 2h$ Bytes.

$\therefore$ Total Frame Size $=$ Message Size $+$ Header Size $= 2h + 4h$ Bytes $= 6h$ Bytes.

$\therefore$ The overhead percentage $(\%)$ due to a header in the link is $= \frac{Header\ Size}{Total\ Frame\ Size} = \frac{4h\ Bytes}{6h\ Bytes} \times 100\% = 66.67\%$

edited by
Position:
Show:

Related questions

1 1 vote
2 2 answers
218
218 views
Shubham Sharma 2 asked Apr 19
218 views
Match the LIST-I with LIST-IILIST-ILIST-IIA.$190.10.75.250$I.Class $\mathrm{E}$ IP addressB.$230.41.10.20$II.Class $\mathrm{B}$ IP addressC.$242.9.20.80$III.Class $\mathr...
1 1 vote
1 1 answer
171
171 views
Shubham Sharma 2 asked Apr 19
171 views
Match the LIST-I with LIST-IILIST-ILIST-IIA.SMTPI.Application layerB.BGPII.Transport layerC.TCPIII.Data Link LayerD.PPPIV.Network LayerChoose the correct answer from the ...
1 1 vote
0 0 answers
115
115 views
Shubham Sharma 2 asked Apr 19
115 views
Arrange the following interframe time interval in increasing order.PIFS(PCF interframe Spacing)DIFS(DCF interframe Spacing)SIFS(Short interframe Spacing)EIFS (Extended in...
10 10 votes
3 3 answers
2.4k
2.4k views
gatecse asked Feb 23
2,379 views
An ISP having an address block $202.16.0.0/15$ assigns a block of $6000$ IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approa...