Answer the question
In order to leave comments, you need to log in
Can a host reassemble an IP datagram?
I found this interesting exercise from a presentation on the topic of the transport layer: "Can the receiver assemble an IP datagram from these four fragments from the same headers?"
Answer the question
In order to leave comments, you need to log in
Fragmented packages have an ID field specifically for identifying and separating fragments from different packages. It, in general, should be unique for each individual source package in the source-dest-proto set, but there is a BUT.
Previously, RFC 1122(791) stated that the OS MAY allow high-level protocols to keep the same ID for retransmitted copies of packets.
RFC 1122 states in Section 3.2.1.5 ("Identification: RFC 791
Section 3.2") that:
When sending an identical copy of an earlier datagram, a host MAY
optionally retain the same Identification field in the copy.
o The IPv4 ID field is no longer permitted to be used for duplicate
detection. This applies to both atomic and non-atomic datagrams.
o Retransmitted non-atomic IPv4 datagrams are no longer permitted to
reuse the ID value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question