文档介绍:精品文档
精品文档
1
精品文档
..
实验三 网络层实验
将执行命令的结果填入下表:
中步骤2
中的执行结果
NoARPEntriesFound
中步骤4
中的执行结果
Interfa分别是什么?请分析报文中的哪些字段保证了回送请求报文和回送应答报文的一一对应?
答:这些报文都是询问报文。具体来分,第 1,3,5,7属于request类型,对应的字段为 Type:8
(Echo(ping)request);第2,4,6,8属于reply类型,对应的字段为 Type:0(Echo(ping)reply)。
网络层的 Source和Destination字段保证了请求报文和应答报文一一对应。
——在PCA和PCB上启动Wireshark软件进行报文截获,运行pingtest程序,设置地址掩码请求报文参数,分析截获报文填写下表:
地址掩码请求报文 地址掩码应答报文
ICMP字段名
字段值
ICMP字段名
字段值
Type
17(Addressmask
Type
18(Addressmask
request)
reply)
Code
0
Code
0
Checksum
0xe3ff[correct]
Checksum
0xe3fe[correct]
Identifier(BE)
2560(0x0a00)
Identifier(BE)
2560(0x0a00)
Identifier(LE)
10(0x000a)
Identifier(LE)
10(0x000a)
Sequence
256(0x0100)
Sequence
256(0x0100)
number(BE)
number(BE)
精品文档
精品文档
7
精品文档
Sequence
1(0x0001)
Sequence
1(0x0001)
number(LE)
number(LE)
Addressmask
Addressmask
(0x00000000)
(0xffffff00)
——在PCA和PCB上启动Wireshark软件进行报文截获,运行pingtest程序,设置时间戳请求报文参数,分析截获报文填写下表:
时间戳请求报文 时间戳应答报文
ICMP字段名 字段值 ICMP字段名 字段值
Type 13 (Timestamp Type 14 (Timestamp
request) reply)
精品文档
精品文档
7
精品文档
;..
精品文档
精品文档
6
精品文档
..
Code
0
Code
0
Checksum
0xe7ff[correct]
Checksum
0x5b02[correct]
Identifier(BE)
2560(0x0a00)
Identifier(BE)
2560(0x0a00)
Identifier(LE)
10(0x000a)
Identifier(LE)
10(0x000a)
Sequence
2