实验要求
1,R4为ISP,其上只能配置IP地址;R4与其他所有直连设备间均使用公有IP
2,R3-R5/6/7为MGRE环境,R3为中心站点;
3,整个OSPF环境IP基于172.16.0.0/16划分;
4,所有设备均可访问R4的环回;
5,减少LSA的更新量,加快收敛,保障更新安全;
6,全网可达
ip规划
172.16.0.0 16 --借位 3
172.16.000 00000.00000000
172.16.000 00000.00000000 --19
172.16.0.0 19---骨干 0---24/25/26
172.16.000 00000.00000000 24
area 0
172.16.000 00011.00000000 24
172.16.0.0 24--骨干链路(P2P骨干)/30
172.16.00000000.000001 00
172.16.0.0 30
172.16.0.4 30
172.16.0.8 30
.。。。
172.16.1.0 24--骨干链路(MA骨干)/29
172.16.1.00000 000
172.16.1.0 29
172.16.1.8 29
172.16.1.16 29
。。。
172.16.2.0 24
172.16.3.0 24
172.16.4.0 24
172.16.5.0 24
。。。
172.16.001 00000.00000000 --19
172.16.32.0 19--区域1
172.16.32.0 24--P2P
172.16.32.0 30
172.16.32.4 30
172.16.32.8 30
172.16.33.0 24 --MA
172.16.33.0 29
172.16.33.8 29
172.16.33.16 29
172.16.33.24 29
172.16.34.0 24--用户
172.16.35.0 24
...
172.16.64.0 19--区域2
172.16.64.0 24 P2P
172.16.64.0 30
172.16.64.4 30
172.16.64.8 30
172.16.64.12 30
172.16.65.0 24--MA
172.16.65.0 29
172.16.65.8 29
172.16.65.16 29
172.16.66.0 24
172.16.67.0 24
172.16.96.0 19--区域3
172.16.96.0 24-P2P
172.16.96.0 30
172.16.96.4 30
172.16.97.0 24-MA
172.16.97.0 29
172.16.97.8 29
172.16.97.16 29
172.16.98.0 24
172.16.99.0 24
172.16.128.0 19--区域4
172.16.128.0 24 -P2P
172.16.128.0 30
172.16.128.4 30
172.16.129.0 24-MA
172.16.129.0 29
172.16.129.8 29
172.16.130.0 24
172.16.131.0 24
172.16.160.0 19--RIP
172.16.160.0 24
172.16.161.0 24
172.16.192.0 19
172.16.224.0 19
1.R4为ISP,其上只能配置IP地址;R4与其他所有直连设备间均使用公有IP
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
2,R3-R5/6/7为MGRE环境,R3为中心站点
Area 0的OSPF
Area 1的ospf
area 3的ospf
Area 4的OSPF(不同进程)
R12与R9上做重发布
OSPF路由汇总
域外路由汇总做特殊区域
Area 1做成Totally Stub Area
Area 2做成Totally NSSA
Area 3做成Totally NSSA做认证保障更新安全
接口认证
[r9]int g0/0/1
[r9-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher 123456
接口认证
[r10]int g0/0/0
[r10-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
区域认证
[r1]ospf 1
[r1-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 123456
区域认证
[r3]ospf 1
[r3-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 123456
区域认证
[r2]ospf 1
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]ospf authentication-mode md5 1 cipher 123456
空接口防环(优化)做NAT