资源描述
.
试题代码:2.2.1
试题名称:帧中继上的RIP
规定用时:50分钟
1、操作条件
(1) Cisco路由器若干台。
(2) 各设备已连入网络。
操作拓扑
构建拓扑图
# Simple lab
autostart = false
[localhost]
[[7200]]
image = C:\Program Files\Dynamips\images\unzip-c7200-js-mz.123-20.bin
ram = 96
nvram = 96
disk0 = 64
disk1 = 64
npe = npe-400
cnfg = None
confreg = 0x2102
mmap = false
#idlepc = 0x60490168(3640)
#idlepc = 0x6068802c
exec_area = 16
[[ROUTER R1]]
model = 7200
[[ROUTER R3]]
model = 7200
s1/0 = R1 S1/0
S1/1 = R4 S1/1
S1/2 = R5 S1/2
[[ROUTER R4]]
model = 7200
[[ROUTER R5]]
model = 7200
2、操作内容
现有若干台路由器(路由器名称分别为R1、R3、R4、R5)组成的网络,请为各设备进行配置,以实现帧中继的功能。具体操作如下:
(1) 预配置:根据要求,将路由器R3模拟成帧中继交换机,并创建两条帧中继交换表。(在DCE端口设置时钟频率128000,本地管理接口类型cisco)。
R3#
R3#config t
R3(config)#frame-relay switching
R3(config)#int s0/3/1
R3(config-if)#encapsulation frame-relay
R3(config-if)#clockrate 128000
R3(config-if)#frame-relay intf-type dce
R3(config-if)#frame-relay lmi-type cisco
R3(config-if)#frame-relay route 104 interface s0/2/1 401
R3(config-if)#frame-relay route 105 interface s0/2/0 501
R3(config-if)#no shutdown
R3(config-if)#end
R3#
R3#config t
R3(config)#int s0/2/1
R3(config-if)#encapsulation frame-relay
R3(config-if)#clockrate 128000
R3(config-if)#frame-relay intf-type dce
R3(config-if)#frame-relay lmi-type cisco
R3(config-if)#frame-relay route 401 interface s0/3/1 104
R3(config-if)#no shutdown
R3(config-if)#end
R3#
R3#config t
R3(config)#int s0/2/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#clockrate 128000
R3(config-if)#frame-relay intf-type dce
R3(config-if)#frame-relay lmi-type cisco
R3(config-if)#frame-relay route 501 interface s0/3/1 105
R3(config-if)#no shutdown
R3(config-if)#end
R3#
(2) 在R1上设置帧中继基本配置,关闭IARP自动映射,并使用静态映射创建PVC指向R4和R5。
R1#
R1#conf t
R1(config)#int s0/0/1
R1(config-if)#ip address 192.168.123.1 255.255.255.0
R1(config-if)#encapsulation frame-relay
R1(config-if)#frame-relay lmi-type cisco
R1(config-if)#no shutdown
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#frame-relay map ip 192.168.123.4 104 broadcast
R1(config-if)#frame-relay map ip 192.168.123.5 105 broadcast
R1(config-if)#end
R1#
(3) 在R4上设置帧中继基本配置,关闭IARP自动映射,并使用静态映射创建PVC指向R1。
R4#
R4#conf t
R4(config)#int s0/2/0
R4(config-if)#ip address 192.168.123.4 255.255.255.0
R4(config-if)#encapsulation frame-relay
R4(config-if)#frame-relay lmi-type cisco
R4(config-if)#no shutdown
R4(config-if)#no frame-relay inverse-arp
R4(config-if)#frame-relay map ip 192.168.123.1 401 broadcast
R4(config-if)#end
R4#
(4) 在R5上设置帧中继基本配置,关闭IARP自动映射,并使用静态映射创建PVC指向R1。
R5#
R5#conf t
R5(config)#int s0/2/0
R5(config-if)#ip address 192.168.123.5 255.255.255.0
R5(config-if)#encapsulation frame-relay
R5(config-if)#frame-relay lmi-type cisco
R5(config-if)#no shutdown
R5(config-if)#no frame-relay inverse-arp
R5(config-if)#frame-relay map ip 192.168.123.1 501 broadcast
R5(config-if)#end
R5#
(5) 在R1,R4,R5上创建环回接口并运行RIP路由协议。
R1#
R1#conf t
R1(config)#
R1(config)#int loopback 0
R1(config-if)#ip address 1.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#router rip
R1(config-router)#network 1.0.0.0
R1(config-router)#network 192.168.123.0
R1(config-router)#no auto
R1(config-router)#end
R1#
R4#
R4#conf t
R4(config)#
R4(config)#int loopback 0
R4(config-if)#ip address 4.4.4.4 255.255.255.0
R4(config-if)#exit
R4(config)#router rip
R4(config-router)#network 4.0.0.0
R4(config-router)#network 192.168.123.0
R4(config-router)#end
R4#
R5#
R5#conf t
R5(config)#
R5(config)#int loopback 0
R5(config-if)#ip address 5.5.5.5 255.255.255.0
R5(config-if)#exit
R5(config)#router rip
R5(config-router)#network 5.0.0.0
R5(config-router)#network 192.168.123.0
R5(config-router)#end
R5#
3、操作要求
(1) 将路由器R3配置成帧中继交换机正确。
(2) 在R1上配置帧中继正确。
(3) 在R4上配置帧中继正确。
(4) 在R5上配置帧中继正确。
(5) 在R1上启用路由协议RIP正确。
(6) 在R4上启用路由协议RIP正确。
(7) 在R5上启用路由协议RIP正确。
1.
展开阅读全文