Internet Protocol Version 4, Src: 192.168.1.1 (192.168.1.1), Dst: 192.168.1.2 (192.168.1.2)
0100 .... = Version: 4
----->版本(4位)
.... 0101 = Header Length: 20 bytes (5)
---->头部长度(4位)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT))
---->DS字段(6位)+ECN(2位)
Total Length: 60)
---->总长度(16位)
Identification: 0x9255 (37461))
---->标识(16位)
Flags: 0x02 (Don't Fragment))
---->标志(3位)
Fragment offset: 0)
---->分片偏移(13位)
Time to live: 128)
---->生存期(8位)
Protocol: ICMP (1))
---->协议(8位)
Header checksum: 0xe517 [validation disabled])
---->头部校验和(16位)
[Header checksum status: Unverified])
Source: 192.168.1.1 (192.168.1.1))
---->源IP地址(32位)
Destination: 192.168.1.2 (192.168.1.2))
---->
目的IP地址(32位)
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
版本号(4位) |
包含IP数据包的版本号,IPv4为
4
,IPv6为
6
,和IPv6相比,除版本字段位置相同以外再无其他字段相同,因此两个协议不能相互操作的。
在包的首位
定义出此字段区分不同的协议,以正确的协议解包。
|
头部长度(4位) |
单位:32bit(4字节)
正常值为5(即20个字节)
在解包时能够方便切割出头部
|
DS和ESN字段(8位) |
IPv4[RFC0791]的最初规范指定了一
|