How can header length of different networks be variable. According to TCP/IP protocol, header length has to be fixed throughout no matter how small or big the fragment is.
Also header length should not go below 20 bytes, but here it is going below this mark.
My best guess is that we have to take the minimum header length of 8 bytes and overall data size of 256 bytes and make packets according to this network and send.
In that case,
Total data to be sent = 800 + 20 = 820 bytes.
size of each fragment = 256 bytes including the header (248 bytes of data and 8 bytes of header)
So, total no. of packets that need to be sent = 820 / 248 = 3.306 => 4 packets, hence 4 IP headers will also be there in them = 8*4 = 32 bytes.
So, total bytes sent = 820 + 32 = 852 bytes.
@Arjun sir. Please explain.