当前位置:网站首页>HNU计网实验:实验四 应用层和传输层协议分析(PacketTracer)
HNU计网实验:实验四 应用层和传输层协议分析(PacketTracer)
2022-06-25 21:32:00 【HNU岳麓山大小姐】
说些什么
意义不明的实验增加了!
基本上就是对着那些代码敲就行了…就,挺浪费时间的…
实验目的
通过本实验,熟悉PacketTracer的使用,学习在PacketTracer中仿真分析应用层和传输层协议,进一步加深对协议工作过程的理解。
实验内容
研究应用层和传输层协议
从 PC 使用 URL 捕获 Web 请求,运行模拟并捕获通信,研究捕获的通信。
Wireshark 可以捕获和显示通过网络接口进出其所在 PC 的所有网络通信。Packet Tracer 的模拟模式可以捕获流经整个网络的所有网络通信,但支持的协议数量有限。我们将使用一台 PC 直接连接到 Web 服务器网络,并捕获使用 URL 的网页请求。
任务 1:从 PC 使用 URL 捕获 Web 请求。
步骤 1. 运行模拟并捕获通信。 进入 Simulation(模拟)模式。单击 PC。在 Desktop(桌面)上打开 Web Browser(Web 浏览器)。在浏览器中访问服务器的web服务(服务器的IP地址请自己设置)。单击 Go(转到)将会发出 Web 服务器请求。最小化 Web 客户端配置窗口。Event List(事件列表)中将会显示两个数据包:将 URL 解析为服务器 IP 地址所需的 DNS 请求,以及将服务器 IP 地址解析为其硬件 MAC 地址所需的 ARP 请求。
单击 Auto Capture/Play(自动捕获/播放)按钮以运行模拟和捕获事件。收到 “No More Events”(没有更多事件)消息时单击 OK(确定)。
步骤 2. 研究捕获的通信。 在 Event List(事件列表)中找到第一个数据包,然后单击 Info(信息)列中的彩色正方形。单击事件列表中数据包的 Info(信息)正方形时,将会打开 PDU Information(PDU 信息)窗口。此窗口将按 OSI 模型组织。在我们查看的第一个数据包中,注意 DNS 查询(第 7 层)封装在第 4 层的 UDP 数据段中,等等。如果单击这些层,将会显示设备(本例中为 PC)使用的算法。查看每一层发生的事件。
打开 PDU Information(PDU 信息)窗口时,默认显示 OSI Model(OSI 模型)视图。此时单击 Outbound PDU Details(出站 PDU 详细数据)选项卡。向下滚动到此窗口的底部,您将会看到 DNS 查询在 UDP 数据段中封装成数据,并且封装于 IP 数据包中。
查看 PDU 信息,了解交换中的其余事件。
边栏推荐
- Get the root directory of the package at compile time from buildreoot
- MySQL is slow to add indexes_ Why is your SQL so slow? Why is your MySQL index invalid?
- VFS appears when mounting a file system from an SD card: cannot open root device "mmcblk1p2“
- Xshell mouse configuration
- [buucry] sensor (Manchester code)
- Molecular dynamics - basic characteristics of molecular force field
- Canoe learning notes (3)
- What is DNS (domain name server)? (Powercert animated videos)
- Getting started and using postman
- Command 'GCC' failed with exit status 1 when PIP install mysqlclient
猜你喜欢

ASC - DAY2

CANoe. Diva operation guide TP layer test

1.1-mq visual client preliminary practice

Writing manuals using markdown

How testers write functional test cases

Local Yum source production
![[nailing scenario capability package] smart office phone](/img/ec/c2f342a54ab69d8b834a8a1c8f8a01.jpg)
[nailing scenario capability package] smart office phone

QT method of exiting application (exe)
![[summary] 2021unctf Campus (cry & MISC)](/img/b1/8c4fb9c6d4f1b89361c0487762cdbd.jpg)
[summary] 2021unctf Campus (cry & MISC)

Soft test intermediate simple notes
随机推荐
Invalid bound statement (not found): com. qf. mapper. PassengerMapper. findByPassengerId
1.1-mq visual client preliminary practice
Understand two major web development patterns
05 configuring network parameters
couldn‘t be accessed by user ‘_ apt‘
multiplication table
[summary] 2021unctf Campus (cry & MISC)
Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing Bing
1.0-mq getting started and using
On merging and sorting
Installing and configuring redis under Linux
After osx-kvm modifies EFI, oc: failed to load configuration, osx-kvm generates opencore Qcow2 reports an error, libguestfs: error: source '
Winget: the "Winget" item cannot be recognized as the name of cmdlet, function, script file or runnable program. Win11 Winget cannot be used to solve this problem
The SH runtime directly reported an error syntax error near unexpected token ` $'. \r‘
Docker failed to remotely access 3306 after installing MySQL
"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
Differences between modems and routers (powercert animated videos)
Basic knowledge of software engineering required for soft test
PHP runtime and memory consumption statistics code
JS__ Inheritance mode, namespace, object enumeration__ Duyi