题目
地址配置
R1:
R2:
R3:
R4:
R5:
R6:
R7:
R8:
R9:
R10:
R11:
R12:
私网通及LSDB优化
R1:
ospf 1 router-id 1.1.1.1
area 0.0.0.1
network 172.16.1.1 0.0.0.0
network 172.16.123.0 0.0.0.255
stub
R2:
ospf 1 router-id 2.2.2.2
area 0.0.0.1
network 172.16.2.1 0.0.0.0
network 172.16.123.0 0.0.0.255
stub
R3:
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 172.16.200.0 0.0.0.255
area 0.0.0.1
network 172.16.3.1 0.0.0.0
network 172.16.123.0 0.0.0.255
stub no-summary
R5:
ospf 1 router-id 5.5.5.5
area 0.0.0.0
network 172.16.5.0 0.0.0.255
network 172.16.200.0 0.0.0.255
R6:
ospf 1 router-id 6.6.6.6
area 0.0.0.0
network 172.16.6.0 0.0.0.255
network 172.16.200.0 0.0.0.255
area 0.0.0.2
network 172.16.61.0 0.0.0.255
nssa no-summary
R7:
ospf 1 router-id 7.7.7.7
area 0.0.0.0
network 172.16.7.0 0.0.0.255
network 172.16.200.0 0.0.0.255
area 0.0.0.3
network 172.16.78.0 0.0.0.255
nssa no-summary
R8:
ospf 1 router-id 8.8.8.8
area 0.0.0.3
network 172.16.8.0 0.0.0.255
network 172.16.78.0 0.0.0.255
network 172.16.89.0 0.0.0.255
nssa
R9:
ospf 1 router-id 9.9.9.9
import-route ospf 2
area 0.0.0.3
network 172.16.89.0 0.0.0.255
nssa
ospf 2
default-route-advertise
area 0.0.0.4
network 172.16.9.0 0.0.0.255
network 172.16.91.0 0.0.0.255
R10:
ospf 1 router-id 10.10.10.10
area 0.0.0.4
network 172.16.10.0 0.0.0.255
network 172.16.91.0 0.0.0.255
R11:
ospf 1 router-id 11.11.11.11
area 0.0.0.2
network 172.16.11.0 0.0.0.255
network 172.16.61.0 0.0.0.255
network 172.16.111.0 0.0.0.255
nssa
R12:
ospf 1 router-id 12.12.12.12
import-route rip 1
area 0.0.0.2
network 172.16.111.0 0.0.0.255
nssarip 1
version 2
network 172.16.0.0
公网通
R3:
[R3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R3-Serial4/0/0]nat outbound 2000
R5:
[R5-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R5-Serial4/0/0]nat outbound 2000
R6:
[R6-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R6-Serial4/0/0]nat outbound 2000
R7:
[R7-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R7-Serial4/0/0]nat outbound 2000
LSDB优化结果