Network: Why 1472B length of ICMP?

when ping, specifying the length of the packet by:

ping localhost -l 32

Actually default is -l 32, so if we omit the last option, the sent packets are the same. This packet is of real size of 82, consists of 8 bytes of Physical Layer, 14 bytes of Ethernet Layer, 20 bytes of IP layer, 8 bytes of ICMP header and 32 bytes of data. But we capture this package with wireshark, only to see 74 bytes, because the Physical layer has already been stripped out.

If tried ping with length, we know that the maximum length is 1472, but why?

In here, we find:

The IEEE 802.3ac standard increased the maximum Ethernet frame size from 1518 bytes to 1522 bytes to accommodate the four-byte VLAN tag. Some network devices that do not support the larger frame size will process these frames successfully, but may report them as "baby giant" anomalies.

that the maximum size of a packet is 1522. Note this should be the size of the whole packet.

thus, 1522 - 8 - 14 - 20 - 8 = 1522 - 50 = 1472.

时间: 2024-10-10 09:25:28

Network: Why 1472B length of ICMP?的相关文章

Fedora-20上ping本机IP地址时的问题

在Fedora 20上写了一个简单的ping程序,创建原始套接字后没有设置任何选项,ping其他主机(NetBSD-1.0)的时候运行正常: [[email protected] network]# ./ping 192.168.1.114 PING 192.168.1.114: send packet(icmp): 08 00 cc 95 0d 4c 00 00 a5 a5 .....L.... a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 .......... a5 a5 a5

monit 监控

url http://mmonit.com/monit/documentation/monit.html Version 5.12 NAME SYNOPSIS DESCRIPTION WHAT TO MONITOR? GENERAL OPERATION Options Arguments THE MONIT CONTROL FILE LOGGING DAEMON MODE INIT SUPPORT INCLUDE FILES MONIT HTTPD Authentication Client c

计算机网络(一)

1.网络:由若干结点和连接这些结点的链路组成.网络中的结点可以是计算机.集线器.交换机或路由器组成. 2.互联网(Internet):网络和网络可以通过路由器连接起来,这样就构成了一个覆盖范围更大的网络. 3.因特网(internet):因特网是世界上最大的互联网络.习惯上把连接在因特网上的计算机都成为主机. 4.ISP:因特网服务提供者,又称为因特网服务提供商. 5.计算机网络的:一些互联的.自治的计算机的集合. 6.计算机网络的分类: (1).按照网络的作用范围分类 a.广域网WAN:作用范

干货分享: 长达250页的Libvirt Qemu KVM的ppt,不实验无真相

<iframe height=570 width=100% scrolling="no" src="http://share.csdn.net/frame/9070" frameborder=0 allowfullscreen></iframe> 1. 概论 1.1 虚拟化的基本类型 无虚拟化 半虚拟化Paravirtualization 非硬件辅助全虚拟化 硬件辅助全虚拟化 实验一:查看系统是否支持硬件辅助虚拟化 1.2 KVM Qemu

devices-list

转自:https://www.kernel.org/pub/linux/docs/lanana/device-list/devices-2.6.txt LINUX ALLOCATED DEVICES (2.6+ version) Maintained by Torben Mathiasen <[email protected]> Last revised: 25 January 2005 This list is the Linux Device List, the official regi

打造最美HTML5 3D机房(第三季,新增资产管理、动环监控等效果)

原本以为这次的机房资产管理项目告一段落,可以歇一歇,哥还是太天真了.我们伟大的甲方又拿下了第二期的项目,誓把哥的才华发挥到极致啊.国庆长假也没正经休息几天,硬是给人折腾出了个demo,加上了容量管理.电源走线.告警巡航这些实用功能,以及温湿度.风向.门禁.视频监控效果.哥这就给大家秀一下成果,收收膝盖,找找存在感. 对了,第一次来看哥的童鞋,这里有前两篇的链接: 第一季:如何从零开始搭建基于HTML5和WebGL的3D机房场景 第二季:场景和功能的丰富,包括机柜.设备.走线.路径规划等功能 甲方

学习笔记-IP

重点纪要 IP协议笔记  IP(Internet Protocol) IP地址(IP address) 子网掩码(subnet mask) IP路由(IP router) IP 5类范围 A类 1-26 B类 128-191 C类 192-223 D类 224-239组播(多播) E类 240-254科研 子网掩码ABC类型IP默认子网掩码 A类 255.0.0.0 B类 255.255.0.0 C累 255.255.255.0 IP地址网段 A类 10.0.0.1-10.255.255.254

QXDM分析抓到的.isf文件

高通分析的中间结论如下: In MO log, the call is disconnected bynetwork with No user responding. In MT log, the UE is in LTE, whichshould be the MT CSFB call, so our LTE team will take a look at it from LTEPOV. 02-06.10-29_mo_not_reachable 02:24:07.862,cnmlog.c,7

ArcEngine异常编码速查(转)

序号 错误代码 错误描述 错误名称 0 HRESULT:0x80040201 "Failed to load a resource (string, icon, bitmap, etc)." LOADING_RESOURCE 1. HRESULT:0x80040202 The index passed was not within the valid range. INDEX_OUT_OF_RANGE 2. HRESULT:0x80040203 The operation is not