The fields representing the data length in both IPv4 and IPv6 are 16 bits. That is, the largest number that can be represented is 2 to the 16th power minus one, that is, 65535. Units are bytes, so it's about 65kB.

So can data larger than 65kb be put into an IP message? IPv4 does not provide this capability, but IPv6 does.

An option called jambo payload allows a single IPv6 packet to be enlarged to 2 to the 32nd power minus one byte, which is one byte less than 4GiB. By extending the field representing the data length to 32 bits.

However, neither TCP nor UDP can support such large packets. Therefore, the jumbo function of IPv6 needs to be implemented with the help of a new transport layer protocol.


Ljzn
399 声望102 粉丝

网络安全;函数式编程;数字货币;人工智能