小于 64 字节的以太网帧
Ethernet frames smaller than 64 bytes
根据 IEEE 802.3,以太网帧必须携带至少 46 字节的有效载荷。这是为了碰撞检测——较小帧的碰撞(可能)未被检测到。
问题是:如果要携带的有效载荷更短怎么办?哪种填充用于将帧扩展到插槽大小 -- 64 字节?
TIA。
引用自Data and Computer Network Communication(强调我的);
If the network layer wishes to send less than 46 bytes of data the MAC protocol adds sufficient number of zero bytes (0x00, is also known as null padding characters) to satisfy the requirement.
尽管 as noted by Adaptec 一些有问题的驱动程序无法做到这一点。
根据 IEEE 802.3,以太网帧必须携带至少 46 字节的有效载荷。这是为了碰撞检测——较小帧的碰撞(可能)未被检测到。
问题是:如果要携带的有效载荷更短怎么办?哪种填充用于将帧扩展到插槽大小 -- 64 字节?
TIA。
引用自Data and Computer Network Communication(强调我的);
If the network layer wishes to send less than 46 bytes of data the MAC protocol adds sufficient number of zero bytes (0x00, is also known as null padding characters) to satisfy the requirement.
尽管 as noted by Adaptec 一些有问题的驱动程序无法做到这一点。