步骤二:在R1、R2 、R3上面配置静态IP/DLCI映射
R1(config)#int s0
R1(config-if)#frame-relay map ip 10.1.1.2 102
R1(config-if)#frame-relay map ip 10.1.1.3 103
R2(config)#int s0
R2(config-if)#frame-relay map ip 10.1.1.1 201
建立对地址与本地DLCI号的映射关系
R2(config-if)#frame-relay map ip 10.1.1.3 203
R3(config)#int s0
R3(config-if)#frame-relay map ip 10.1.1.1 301
R3(config-if)#frame-relay map ip 10.1.1.2 302
步骤三:使用show命令查看结果,并使用ping检测连通性
R1#show frame-relay map
Serial0 (up): ip 10.1.1.2 dlci 102(0x66,0x1860), static,
IETF, status defined, active
Serial0 (up): ip 10.1.1.3 dlci 103(0x67,0x1870), static,
IETF, status defined, active
由以上信息可得知,当前映射为手工静态映射
使用ping命令检测连通性:
R1#ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/60/80 ms
R1#ping 10.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/61/96 ms