人厄工营火 HEFEI UNIVERSITY OF TECHNOLOGY 上层协议类型 6B 6B 2B 46-1500B 4 B DMAC SMAC Type Data FCS P 0x0800 ·以太网帧中的Type字段值为0X0800,表示该帧的网络层协议为P协议。 age
Page 21 上层协议类型 DMAC SMAC Type Data FCS 6 B 6 B 2 B 46-1500 B 4 B 0x0800 IP ⚫ 以太网帧中的Type字段值为0X0800,表示该帧的网络层协议为IP协议
人厄工营火 HEFEI UNIVERSITY OF TECHNOLOGY 卩报文头部 20-60B P a Version DS Field Total Length ength Identification Flags Fragment Offset 固定长度 me to live Protocol Header Checksum 20 Bytes Source P Address Destination IP Address IP Options age
IP报文头部 Page 22 Version DS Field Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address IP Options 0 16 31 20 Bytes 固定长度 20-60 B IP Data Header Length
人厄工营火 HEFEI UNIVERSITY OF TECHNOLOGY 主机A 卩P包分片 主机B Version Header etal l ength Identification Flags Fragment Offset Time to live POCo ader checksum Source IP Address Destination IP Address IP Options ·标识符:识别属于同一个数据包的分片 标志:用于判断是否已经收到最后一个分片。0表示结束 ·片偏移字段:表示每个分片在原始报文中的位置 age
主机A IP包分片 主机 B Page 23 Version DS Field Total Length Header Checksum Source IP Address Destination IP Address IP Options Header Length Time to Live Protocol Identification Flags Fragment Offset • 标识符:识别属于同一个数据包的分片。 • 标志:用于判断是否已经收到最后一个分片。0表示结束 • 片偏移字段:表示每个分片在原始报文中的位置
人厄工营火 HEFEI UNIVERSITY OF TECHNOLOGY 生存时间 主机A 主机B TTL=255 TTL=254 TTL=253 Total Length Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source iP Address Destination IP Address IP Options Page 24
生存时间 主机A TTL=255 TTL=254 TTL=253 主机 B Page 24 Version DS Field Total Length Header Checksum Source IP Address Destination IP Address IP Options Header Length Identification Flags Fragment Offset Time to Live Protocol
人厄工营火 HEFEI UNIVERSITY OF TECHNOLOGY 协议号 P Protocol Data 6/17 TCP/UDP ICMP Total Length Length Identification Flags Fragment Offset Time to live Protocol Header Checksum Source iP Address Destination IP Address IP Options age
协议号 Page 25 IP Protocol Data 6/17 TCP/UDP 1 ICMP Version DS Field Total Length Header Checksum Source IP Address Destination IP Address IP Options Header Length Identification Flags Fragment Offset Time to Live Protocol