1.建立如下图所示的拓扑,使用copper cross-over线连接

数据包分片原理粗解

2.配置ip地址

如图所示(desktop下ip configuration)
数据包分片原理粗解
数据包分片原理粗解

3.配置转换器的信息

数据包分片原理粗解
代码:
enable
configure ter
interface gigabitEthernet 0/0
ip address 10.1.1.1 255.255.255.0
no shutdown
Router(config-if)#
exit
interface gigabitEthernet 0/1
ip address 10.2.2.1 255.255.255.0
no shutdown

4.查看路由器Connection的吉比特以太网接口gigabitEtherent0/0的MTU参数

输入show interface gigabitEtherent0/0,可知为1500比特
数据包分片原理粗解

5.配置发送的信件

数据包分片原理粗解

设置一个3600字节的数据包(大于路由器的MTU值)

6.最后我们点击Apply Changes再点击右边的Capture/Forward

数据包分片原理粗解
然后我们发现左上角分了三节数据包分片原理粗解
打开info下的方块
数据包分片原理粗解
数据包分片原理粗解

数据包分片原理粗解
可以看到id都为0x2,说明它们是同一个数据包。
前两节的总长度为1500但最后一节的总长度为668 意义:600是因为3600减去两个1500 68是三个报头和ICMP报文8字节

相关文章:

  • 2021-06-10
  • 2021-11-21
  • 2021-04-05
  • 2021-04-02
  • 2021-05-28
  • 2021-05-29
猜你喜欢
  • 2021-07-20
  • 2021-05-08
  • 2021-07-05
  • 2021-09-13
  • 2021-04-29
相关资源
相似解决方案