Wireshark中以太网帧末尾的0字节是多少? [英] What are the 0 bytes at the end of an Ethernet frame in Wireshark?

查看:358
本文介绍了Wireshark中以太网帧末尾的0字节是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一帧中的ARP协议之后,有很多0字节.有人知道这0个字节存在的原因吗?

after ARP protocol in a frame, there are many 0 bytes. Does anyone know the reason for the existence of these 0 bytes?

推荐答案

检查 Ethernet II 手风琴,所有0都标记为padding.

Check the Ethernet II accordion, all the 0 are labelled as padding.

以太网要求所有数据包的长度至少为60字节(如果在末尾包含帧检查序列,则为64字节),因此,如果数据包的长度小于60字节(包括14字节的以太网头),则需要附加填充字节必须添加到数据包的末尾.

Ethernet requires that all packets be at least 60 bytes long (64 bytes if you include the Frame Check Sequence at the end), so if a packet is less than 60 bytes long (including the 14-byte Ethernet header), additional padding bytes have to be added to the end of the packet.

(那些填充字节将不会显示在运行Wireshark的计算机发送的数据包上;该填充是由以太网硬件添加的,并且由捕获流量的计算机发送的数据包将被赋予程序之前被移交给硬件,因此它们没有被填充.)

(Those padding bytes will not show up on packets sent by the machine running Wireshark; the padding is added by the Ethernet hardware, and packets being sent by the machine capturing the traffic are given to the program before being handed to the hardware, so they haven't been padded.)

这篇关于Wireshark中以太网帧末尾的0字节是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆