实验拓扑及网络规划:如上图
实验任务和目标:
任务1.按照实验要求连接拓扑。
任务2.完成所有网络基本IP配置【环回除外】,并测试网络联通性。
任务3.启动骨干区域AREA 0的OSPF进程。
任务4.启动末节区域AREA 1的OSPF进程。
任务5.启动完全末节区域AREA12的OSPF进程。
任务6.测试网络连通性,观察路由表,观察内置表,观察邻居表,观察BORD-ROUTER表【截图验证】
任务7.修改AREA 12的完全末节区域为标准区域,配置环回接口。
任务8.发布OSPF AS外部直连环回接口到OSPF AS中,并配置ROUTER 6的缺省路由,并测试ROUTER 7与ROUTER 6的环回连通性【截图验证】。
任务9.观察路由表,观察BORD-ROUTER表【截图验证】。
实验操作过程及配置说明:
任务1.按照实验要求连接拓扑。
任务2.完成所有网络基本IP配置【环回除外】,并测试网络联通性。
r1#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.1.1 YES manual up up
Serial0/1 192.168.1.5 YES manual up up
Serial0/2 192.168.1.9 YES manual up up
Serial0/3 10.1.1.2 YES manual up up
r2#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.1.2 YES manual up up
Serial0/1 192.168.1.6 YES manual up up
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
Ethernet1/0 unassigned YES unset administratively down down
Ethernet1/1 192.168.1.13 YES manual up up
Ethernet1/2 unassigned YES unset administratively down down
r3#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
Serial0/2 192.168.1.10 YES manual up up
Serial0/3 unassigned YES unset administratively down down
Ethernet1/0 unassigned YES unset administratively down down
Ethernet1/1 192.168.1.14 YES manual up up
Ethernet1/2 unassigned YES unset administratively down down
Ethernet1/3 unassigned YES unset administratively down down
r4#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.12.1 YES manual up up
Serial0/1 192.168.12.5 YES manual up up
Serial0/2 192.168.12.9 YES manual up up
Serial0/3 10.12.12.2 YES manual up up
r5#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.12.2 YES manual up up
Serial0/1 192.168.12.6 YES manual up up
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
Ethernet1/0 unassigned YES unset administratively down down
Ethernet1/1 192.168.12.13 YES manual up up
Ethernet1/2 unassigned YES unset administratively down down
Ethernet1/3 unassigned YES unset administratively down down
r6#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
Serial0/2 192.168.12.10 YES manual up up
Serial0/3 unassigned YES unset administratively down down
Ethernet1/0 unassigned YES unset administratively down down
Ethernet1/1 192.168.12.14 YES manual up up
Ethernet1/2 unassigned YES unset administratively down down
Ethernet1/3 unassigned YES unset administratively down down
r7#show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset administratively down down
Serial0/1 10.1.1.1 YES manual up up
Serial0/2 10.12.12.1 YES manual up up
Serial0/3 unassigned YES unset administratively down down
任务3.启动骨干区域AREA 0的OSPF进程。
r7(config)#router ospf 10
r7(config-router)#router-id 7.7.7.7
r7(config-router)#network 10.1.1.1 0.0.0.0 a 0
r7(config-router)#network 10.12.12.1 0.0.0.0 a 0
r7(config-router)#end
r1(config)#router ospf 10
r1(config-router)#router-id 1.1.1.1
r1(config-router)#network 10.1.1.2 0.0.0.0 a 0
r1(config-router)#end
r4(config)#router ospf 10
r4(config-router)#router-id 4.4.4.4
r4(config-router)#network 10.12.12.2 0.0.0.0 a 0
r4(config-router)#end
任务4.启动末节区域AREA 1的OSPF进程。(stub)
r1(config)#router ospf 10
r1(config-router)#network 192.168.1.1 0.0.0.0 area 1
r1(config-router)#network 192.168.1.5 0.0.0.0 area 1
r1(config-router)#network 192.168.1.9 0.0.0.0 area 1
r1(config-router)#network 10.1.1.2 0.0.0.0 area 0
r1(config-router)#area 1 stub
r2(config)#router ospf 10
r2(config-router)#network 192.168.1.2 0.0.0.0 area 1
r2(config-router)#network 192.168.1.6 0.0.0.0 area 1
r2(config-router)#network 192.168.1.13 0.0.0.0 area 1
r2(config-router)#area 1 stub
r3(config)#router ospf 10
r3(config-router)#network 192.168.1.10 0.0.0.0 area 1
r3(config-router)#network 192.168.1.14 0.0.0.0 area 1
r3(config-router)#area 1 stub
r1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 2 subnets
O 10.12.12.0 [110/128] via 10.1.1.1, 00:46:23, Serial0/3
C 10.1.1.0 is directly connected, Serial0/3