i am getting fragments viz;
80|20 80|20 80|20 80| 20 20|20 is it correct i am not getting the solution provided below
please check it @Mk Utkarsh @abhishekmehta4u
hope this helps!!!!
@akash.dinkar12 shouldn't the size of a fragment be divisible by 8? how did you take size as 85 in the selected answer? :/
If the IP header is 15 bytes long
The size of IPv4 header is between 20 and 60 Bytes. But it is given 15 bytes, so let's play along.
(We only should use scaling, when just the number is given. Here, the unit "bytes" is explicitly mentioned)
Only two things you must keep in mind:
So, keeping these two golden rules in mind, we'll fragment
into
So, 5 fragments.
$^{[1]}$ The reason goes a little deep. Read the answer by Ryan here: https://stackoverflow.com/questions/7846442/why-the-ip-fragments-must-be-in-multiples-of-8-bytes
64.3k questions
77.9k answers
244k comments
80.0k users