1

Assume we have a ethernet link with an MTU of 1300 bytes, while an application want to send 5200 bytes of data. How many fragments do we transmitted ?

i would say 5, to send 5200 bytes over a link with an MTU of 1300 bytes then we need 4 fragments, 5200/1300=4 but we have the additonal overhead, IPv4 header is 20 bytes, while the UDP header is 8 bytes therefore we will have 5 fragments in total.

Am i thinking right here ?

1
  • should be fixed now :)
    – pabloBar
    Sep 14, 2016 at 2:41

1 Answer 1

2

You seem to be confusing fragments and packets. Fragmentation is a layer-3 function, but UDP is at layer-4. Fragmentation happens when the MTU changes size (shrinks) in the path. Routers may fragment a packet if it is larger than the MTU of the next link to which is must send the packet. What you have doesn't say anything like that.

What your question should be asking is how many packets will be used to send the data using IPv4, and that would be five packets.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.