Frame-relay 综合实验-3

实验拓扑:

试验要求: R1 R2 R3 通过 Frame-relay 相连, R2 R3 没有连接,形成一个 hub and spoke 网络拓扑, R1 上采用点对多点子接口, R2 R3 上采用点对点子接口。
试验目的:掌握 Frame-relay 点对多点子接口的配置方法。

试验配置:
R1 :(首先看能否利用 InverseARP 自动学习)
R1(config)#int s1/0
R1(config-if)#enca fram
R1(config-if)#no shu
R1(config-if)#exit
R1(config)#int s1/0.1 multipoint
R1(config-subif)#ip add 172.16.3.3 255.255.255.0
 
R2
R2(config)#int s1/0
R2(config-if)#enca fram
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int s1/0.1 point-to-point
R2(config-subif)#ip add 172.16.3.1 255.255.255.0
R2(config-subif)#fram interface-dlci 103
 
R3
R3(config)#int s1/0
R3(config-if)#enca fram
R3(config-if)#no shu
R3(config-if)#exit
R3(config)#int s1/0.1 point-to-point
R3(config-subif)#ip add 172.16.3.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 203
 
好了,让我们在 R1 上用 show fram map 察看:
R1#show fram map
 
R1#
什么也没看到,说明没有通过 InverseARP 学到 IP DLCI 的映射,也说明点对多点子接口无法通过 InverseARP 来自动学习,下面我们手动为 R1 点对多点子接口配置 frame-relay map
R1(config-subif)#frame-relay map ip 172.16.3.1 301 br
R1(config-subif)#frame-relay map ip 172.16.3.2 302 br
好了,用 show fram map 命令察看:
R1#show fram map
Serial1/0.1 (up): ip 172.16.3.1 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial1/0.1 (up): ip 172.16.3.2 dlci 302(0x12E,0x48E0), static,
              broadcast,
              CISCO, status defined, active
 
OK ,全部 active ping 测试一下:
R1#ping 172.16.3.1
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 192/230/288 ms
R1#
R1#ping 172.16.3.2
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 188/191/192 ms
全部都可以 ping 通,然后我们再来测试一下 spoke 路由器之间的连通性:
Router#ping 172.16.3.2
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 360/384/408 ms
 
可以直接 ping 通。。。
接下来我们把在 R1 点对多点子接口上手动配置的 frame map 命令删除:
R1(config-subif)#no frame-relay map ip 172.16.3.1 301 br
R1(config-subif)#no frame-relay map ip 172.16.3.2 302 br
只给他配置本地 DLCI 。。
R1(config-subif)#frame-relay interface-dlci 301
R1(config-subif)#frame-relay interface-dlci 302
完成后记住先要把 S1/0 接口 shutdown ,再 no shutdown ,然后才能在 show fram map 中看到变化:
R1#show fram map
Serial1/0.1 (up): ip 172.16.3.1 dlci 301(0x12D,0x48D0), dynamic,
              broadcast,, status defined, active
Serial1/0.1 (up): ip 172.16.3.2 dlci 302(0x12E,0x48E0), dynamic,
              broadcast,, status defined, active
看到了吗?用 fram map 命令配置的后面显示是 static ,而用 fram interface-dlci 命令配置的后面显示的是 dynamic 。然后验证连通性:
R1#ping 172.16.3.1
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 216/240/264 ms
通了,再测试 spoke 路由器之间的连通性:
Router#ping 172.16.3.2
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 336/373/428 ms
OK ,也通了!
 
实验总结:通过本试验重点掌握在 hub and spoke 网络拓扑中 hub 路由器点对多点子接口的配置方法。

你可能感兴趣的:(职场,休闲,frame-relay,综合实验-3)