金科·教育
R5(config)#
network 5.5.5.5 0.0.0.0 area 0 network 99.99.99.0 0.0.0.15 area 0 network 148.148.148.0 0.0.0.255 area 148
R6(config)#
network 6.6.6.6 0.0.0.0 area 0 network 36.36.36.0 0.0.0.255 area 36 network 99.99.99.0 0.0.0.15 area 0
R3(config)#
network 3.3.3.3 0.0.0.0 area 36 network 23.23.23.0 0.0.0.255 area 23 network 36.36.36.0 0.0.0.255 area 36
R2(config)#
network 23.23.23.0 0.0.0.255 area 23
需求三:模拟帧中继环境,PVC如图所示(现实中这由ISP提供商提供)。
第~ 6 ~页
金科·教育
使用R7模拟作为帧中继交换机建立两条PVC虚链路,R5出口的DLCI号为806,R4出口的DLCI号为604,R6出口的DLCI号为608/604.
R7(config-if)#
frame-relay switching //需要封装成帧中继交换机 interface Serial2/0 encapsulation frame-relay
frame-relay intf-type dce //模拟ISP需要将帧中继接口类型改为dce frame-relay route 806 interface Serial2/2 608
interface Serial2/1 encapsulation frame-relay frame-relay intf-type dce
frame-relay route 406 interface Serial2/2 604
interface Serial2/2 encapsulation frame-relay frame-relay intf-type dce
frame-relay route 604 interface Serial2/1 406
第~ 7 ~页
金科·教育
frame-relay route 608 interface Serial2/0 806
需求四:将与帧中继相连的三个事务所配置成广播型,共子网:99.99.99.0/28,其中dental_ho(R66)事务所的路由器做为永久性DR,且采用子接口方式。
1) 帧中继默认为NBMA(非广播)类型网络,需要将R6,R4,R5帧中继接口网络类型改为广播
型:
R6(config)#int s2/2
R6(config-if)# ip ospf network broadcast
R4(config)#int s2/1
R4(config-if)# ip ospf network broadcast
R5(config)#int s2/0
R5(config-if)# ip ospf network broadcast
2) 共子网:99.99.99.0/28其中dental_ho(R66)事务所的路由器做为永久性DR,且采用子
接口方式:
R6(config)# interface Serial2/2 no ip address
第~ 8 ~页
金科·教育
encapsulation frame-relay // 子接口要开启多点链路主接口需要封装帧中继
interface Serial2/2.1 multipoint //将子接口网络类型改为多点 ip address 99.99.99.3 255.255.255.240
ip ospf priority 100 // 修改接口优先级使其成为DR frame-relay map ip 99.99.99.1 604 broadcast frame-relay map ip 99.99.99.2 608 broadcast
R4(config)# interface Serial2/1
ip address 99.99.99.1 255.255.255.240 encapsulation frame-relay ip ospf network broadcast
frame-relay map ip 99.99.99.3 406 broadcast
R5(config)# interface Serial2/0
ip address 99.99.99.2 255.255.255.240 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0
frame-relay map ip 99.99.99.3 806 broadcast
第~ 9 ~页
金科·教育
需求五:按照图示配置OSPF区域,其中crowns(R55),root_canals(R44),pain_center(R11)之间的区域要配置成完全末梢区域。
1) 区域148需要配置完全末节区域即过滤三类LSA(network LSA)又过滤五类LSA
(External LSA)。
R1(config-router)#area 148 stub //将R1设为末节区域
R4(config-router)#area 148 stub no-summary // ABR(R4,R5)设为完全末节区域
R5(config-router)#area 148 stub no-summary
R1#show ip rout
Gateway of last resort is 148.148.148.1 to network 0.0.0.0
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0 148.148.0.0/24 is subnetted, 1 subnets
第~ 10 ~页