IP datagram is unit of transfer in an IP network. It carries enough information about the network to get forwarded to its destination; it consists of a header followed by bytes of data.
The header contains information about the type of IP datagram, how long the datagram should stay on …