Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider a host X is sending an IP packet of ... Start Learning for Free
Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?
  • a)
    The fragment offset of the 3rd fragment is 130
  • b)
    The fragment offset of the 4th fragment is 186
  • c)
    The fragment size of the intermediate fragment is 496 bytes
  • d)
    The fragment size of the last fragment is 464 bytes and MF bit = 0
Correct answer is option 'A,C,D'. Can you explain this answer?
Most Upvoted Answer
Consider a host X is sending an IP packet of size 3880 bytes to host Y...
Size of the data = 3880-20 = 3860
Since, 3860 > MTU of the link, the intermediate router will perform fragmentation.
MTU = 520 Bytes
The size of data for each fragment possible is = 520 – 20 = 500 bytes but it should be divisible by 8, hence we take data part to be 496B (we take the max possible)
Number of fragments = ceil [3860/496] = 8

fragment offset = Number of data bytes ahead of a fragment / 8
1. False: The fragment offset of the 3rd fragment is 124
2. True: The fragment offset of the 4th fragment is 186
3. False: The fragment size of the intermediate fragment is (496 bytes + 20 bytes) = 516 bytes.
4. False: The fragment size of the last fragment is (388 + 20) bytes = 408 bytes and more fragment bit = 0 as there is no more fragment following
Free Test
Community Answer
Consider a host X is sending an IP packet of size 3880 bytes to host Y...
Explanation:

To determine the correctness of the given statements, we need to calculate the fragment offset and fragment size for each fragment generated during the fragmentation process.

Given:
- Packet size = 3880 bytes
- Maximum transmission unit (MTU) = 520 bytes

Fragmentation Process:

The IP packet needs to be fragmented because its size exceeds the MTU of the network. The fragmentation process involves breaking the original packet into smaller fragments that can fit within the MTU.

1. Determine the number of fragments required:
- Total packet size = 3880 bytes
- MTU = 520 bytes
- Number of fragments = ceil(3880/520) = 8 fragments

2. Calculate the fragment offset and fragment size for each fragment:
- Fragment offset: The position of the fragment within the original packet, measured in units of 8 bytes.
- Fragment size: The size of each fragment, excluding the IP header, measured in bytes.

Calculations:

Fragment 1:
- Fragment offset = 0 (first fragment)
- Fragment size = 520 bytes

Fragment 2:
- Fragment offset = 65 (520/8 = 65)
- Fragment size = 520 bytes

Fragment 3:
- Fragment offset = 130 (65 * 2 = 130)
- Fragment size = 520 bytes

Fragment 4:
- Fragment offset = 195 (65 * 3 = 195)
- Fragment size = 520 bytes

Fragment 5:
- Fragment offset = 260 (65 * 4 = 260)
- Fragment size = 520 bytes

Fragment 6:
- Fragment offset = 325 (65 * 5 = 325)
- Fragment size = 520 bytes

Fragment 7:
- Fragment offset = 390 (65 * 6 = 390)
- Fragment size = 520 bytes

Fragment 8:
- Fragment offset = 455 (65 * 7 = 455)
- Fragment size = 520 bytes

Verifying the Given Statements:

a) The fragment offset of the 3rd fragment is 130 - Incorrect
- The fragment offset of the 3rd fragment should be 130, not 195.

b) The fragment offset of the 4th fragment is 186 - Correct
- The fragment offset of the 4th fragment is indeed 195.

c) The fragment size of the intermediate fragment is 496 bytes - Incorrect
- The fragment size of each fragment is 520 bytes, not 496 bytes.

d) The fragment size of the last fragment is 464 bytes and MF bit = 0 - Incorrect
- The fragment size of the last fragment should be less than or equal to the remaining bytes of the packet, i.e., 3880 - 455 * 8 = 360 bytes.

Therefore, the correct statements are:
b) The fragment offset of the 4th fragment is 186.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer?
Question Description
Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer?.
Solutions for Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer?, a detailed solution for Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? has been provided alongside types of Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider a host X is sending an IP packet of size 3880 bytes to host Y via a router. The packet is forwarded by a router to a network with maximum transmission unit of 520 bytes. Assume the header sizer of the datagram to be minimum. Which of the following is/are Incorrect?a)The fragment offset of the 3rd fragment is 130b)The fragment offset of the 4th fragment is 186c)The fragment size of the intermediate fragment is 496 bytesd)The fragment size of the last fragment is 464 bytes and MF bit = 0Correct answer is option 'A,C,D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev