实验目的:
To learn about the details of IP (Internet Protocol). IP is the network layer protocol used throughout the Internet. We will examine IP version 4, since it is ubiquitously deployed, while the IP version 6 is partly deployed. IP is covered in §5.6.1 to §5.6.3 of your text. Review those sections before doing this lab
实验过程:
Tracert命令:
tracert 命令被广泛用于网络故障处理和网络性能分析。执行该命令后,Windows 系统会自动进行路由跟踪,并打印出许多节点信息。在输出中,列出了路由跟踪时经过的每个网络节点的 IP 地址以及路由延迟。第一列包含跟踪的网络节点的序号,第二列指示往返时间,第三列指示路由跟踪过程中接收到每个节点的 IP 地址。
-
1.Capture a Trace
在wireshark中捕获报文如下
过滤器使用tcp port 80 捕获数据包
-
2.Inspect the trace
Version:版本号,0100,即为ipv4
Header length:IP报头长度,20字节
Differentiation Services:包含位标志,表示数据包是否应该是处理路由器的服务质量和拥塞指示。
Total Length:IP包总长,这里是40字节。
Identifier:用于分组片段,当一个大的IP数据包作为多个更小的片段发送,称为片段。Flags和Fragment:偏移量字段,也与碎片相关。观察它们共享字节。