文档介绍:实验三网络层实验
将履行命令的结果填入下表:
中步骤2中的履行结果
NoARPEntriesFound
中步骤4中的履行结果
Interface:---0x2
个ICMP报文,分别属于哪些种类?对应的种类和代码
字段分别是什么?请剖析报文中的哪些字段保证了回送恳求报文和回送应答报文的一一对应?答:这些报文都是询问报文。详细来分,第1,3,5,7属于request种类,对应的字段为
Type:8
(Echo(ping)request);第2,4,6,8
网络层的Source和Destination
属于reply种类,对应的字段为Type:0(Echo(ping)reply)
字段保证了恳求报文和应答报文一一对应。
。
——在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)
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)
Code
0
Code
0
Checksum
0xe7ff[correct]
Checksum
0x5b02[correct]
Identifier(BE)
2560(0x0a00)
Identifier(BE)
2560(0x0a00)
Identifier(LE)
10(