一、题目要求
二、拓扑设计
三、配置路由器
然后在R3,5,6,7,之间建立MGRE
R3作为站点,其他为分支
站点配置
配置OSPF
/R1和R2同时放弃选举
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ospf dr-priority 0
[r1]ospf 1
[r1-ospf-1]area 1
[r1-ospf-1-area-0.0.0.1]stub
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ospf authe
[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ospf dr-priority 0
[r2]ospf 1
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]stub
[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 123
[r8]ospf 1 router-id 8.8.8.8
[r8-ospf-1]area 3
[r8-ospf-1-area-0.0.0.3]network 172.16.0.0 0.0.255.255
[r8]ospf 1
[r8-ospf-1]area 3
[r8-ospf-1-area-0.0.0.3]nssa no-summary
[r9]ospf 1 router-id 9.9.9.9
[r9-ospf-1]area 3
[r9-ospf-1-area-0.0.0.3]network 172.16.3.0 0.0.0.255
[r9-ospf-1-area-0.0.0.3]q
[r9-ospf-1]area 4
[r9-ospf-1-area-0.0.0.4]network 172.16.4.0 0.0.1.255
拆分成2个进程
[r9-ospf-1-area-0.0.0.4]undo network 172.16.4.0 0.0.0.255
[r9-ospf-1-area-0.0.0.4]q
[r9-ospf-1]ospf 2
[r9-ospf-2]area 4
[r9-ospf-2-area-0.0.0.4]network 172.16.4.0 0.0.0.255
[r9-ospf-2]q
[r9]ospf 1
[r9-ospf-1]import-route ospf 2
[r9-ospf-1]q
[r9]ospf 2
[r9-ospf-2]import-route ospf 1
[r9]ospf 1
[r9-ospf-1]asbr-summary 172.16.4.0 255.255.224.0
[r9]ospf 1
[r9-ospf-1]area 3
[r9-ospf-1-area-0.0.0.3]nssa no-summary
[r9-ospf-1]q
[r9]ospf 2
[r9-ospf-2]undo import-route ospf 1
[r10]ospf 1 router-id 10.10.10.10
[r10-ospf-1]area 4
[r10-ospf-1-area-0.0.0.4]network 172.16.0.0 0.0.255.255
[r10-ospf-1-area-0.0.0.4]
[r11]ospf 1 router-id 11.11.11.11
[r11-ospf-1]area 2
[r11-ospf-1-area-0.0.0.2]network 172.16.0.0 0.0.255.255
[r11]ospf 1
[r11-ospf-1]area 2
[r11-ospf-1-area-0.0.0.2]nssa no-summary
[r12]ospf 1 router-id 12.12.12.12
[r12-ospf-1]area 2
[r12-ospf-1-area-0.0.0.2]network 172.16.2.0 0.0.0.255
[r12-ospf-1-area-0.0.0.2]q
[r12-ospf-1]q
[r12]rip 1
[r12-rip-1]network 172.16.0.0