免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6088 | 回复: 16
打印 上一主题 下一主题

以太网帧最小长度是? [复制链接]

论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-03-28 20:08 |只看该作者 |倒序浏览
本帖最后由 solu 于 2013-03-28 20:12 编辑

下图的54字节是怎么来的?不是说以太网一个帧最小64(18+46)字节吗?

第二张图又是60字节了,似乎填满了46字节。





论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
2 [报告]
发表于 2013-03-28 21:10 |只看该作者
看看看看看看, 元芳你怎么看?

论坛徽章:
0
3 [报告]
发表于 2013-03-31 14:48 |只看该作者
参考http://wiki.wireshark.org/Ethernet

Ethernet packets with less than the minimum 64 bytes for an Ethernet packet (header + user data + FCS) are padded to 64 bytes, which means that if there's less than 64-(14+4) = 46 bytes of user data, extra padding data is added to the packet.

Beware: the minimum Ethernet packet size is commonly mentioned at 64 bytes, which is including the FCS. This can be confusing as the FCS is often not shown by Wireshark, simply because the underlying mechanisms simply don't supply it. (XXX - add a list of system that supply the FCS and the systems that don't?)

论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
4 [报告]
发表于 2013-04-01 09:20 |只看该作者
回复 3# ooev


    54+4 = 58 , 也没有64.

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
5 [报告]
发表于 2013-04-02 09:00 |只看该作者
header + user data + FCS

还要加FCS的。

论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
6 [报告]
发表于 2013-04-02 09:14 |只看该作者
ssffzz1 发表于 2013-04-02 09:00
header + user data + FCS

还要加FCS的。



header : 14
userdata: 40
fcs:4

total: 58

论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
7 [报告]
发表于 2013-04-02 21:06 |只看该作者
竟然无人知道,CU的大牛太少了

论坛徽章:
0
8 [报告]
发表于 2013-04-03 10:37 |只看该作者
OP就一SB.... 第一个回复不都说的很清楚了么》。。。

论坛徽章:
1
丑牛
日期:2013-09-29 19:04:50
9 [报告]
发表于 2013-04-03 11:36 |只看该作者
realdreams 发表于 2013-04-03 10:37
OP就一SB.... 第一个回复不都说的很清楚了么》。。。


那是很清楚? 你2 ?

论坛徽章:
0
10 [报告]
发表于 2013-04-06 10:12 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP