资源预览内容
第1页 / 共7页
第2页 / 共7页
第3页 / 共7页
第4页 / 共7页
第5页 / 共7页
第6页 / 共7页
第7页 / 共7页
亲,该文档总共7页全部预览完了,如果喜欢就下载吧!
资源描述
OSPF多区域配置实训名称】配置OSP F多区域。实训目的】配置OSP F多区域,理解OSP F层次型网络的特点。背景描述】本实训拓扑图中有3台路由器,路由器在区域0和区域1中,路由器B在区域0和区域30,路 由器C在区域30。【需求分析】需要基于本拓扑图实现OSP F多区域的配置,并理解OSP F实现层次型网络的优点。实训拓扑】实训的拓扑图,如图11-1所示。172.24.1.124a m.iiaj.ac24 72.iaj.0T24 OSPFOSPF Atm压阳比苗843诂4、1狛.11良|19-2.1 SgJ.I.J*OSPF Area 3D图11-1实训设备】路由器 3台预备知识】路由器基本配置知识、OSPF。实训原理】配置OSP F路由协议,实现多区域路由。实训步骤】步骤1在路由器上配置IP地址。RA#config tRA(config)# interface FastEthernet 0/0RA(config-if)#ip address 192.168.1.2 255.255.255.0RA(config)#interface Loopback 0RA(config-if)#ip address 172.16.0.1 255.255.255.0RA(config)#interface Loopback 1RA(config-if)#ip address 172.16.1.1 255.255.255.0RA(config)#interface Loopback 2RA(config-if)#ip address 172.16.2.1 255.255.255.0 RA(config)#interface Loopback 3RA(config-if)#ip address 172.16.3.1 255.255.255.0 RA(config)#interface Loopback 4RA(config-if)#ip address 172.16.4.1 255.255.255.0 RB#config tRB(config)# interface FastEthernet 0/0 RB(config-if)#ip address 192.168.1.1 255.255.255.0 RB(config)#interface FastEthernet 0/1RB(config-if)#ip address 192.168.2.1 255.255.255.0 RB(config)#interface Loopback 0RB(config-if)#ip address 172.24.1.1 255.255.255.0 RB(config)#interface Loopback 1RB(config-if)#p address 192.168.3.1 255.255.255.0 RC#config tRC(config)# interface FastEthernet 0/0 RC(config-if)#ip address 192.168.2.2 255.255.255.0 RC(config)#interface Loopback 0RC(config-if)#ip address 172.24.2.1 255.255.255.0 RC(config)#interface Loopback 1RC(config-if)#ip address 199.0.0.10 255.255.255.240步骤2配置OSPF。RA(config)# router ospf 10RA(config-router)#network 172.16.0.0 0.0.0.255 area 1RA(config-router)#network 172.16.1.0 0.0.0.255 area 1RA(config-router)#network 172.16.2.0 0.0.0.255 area 1RA(config-router)#network 172.16.3.0 0.0.0.255 area 1RA(config-router)#network 172.16.4.0 0.0.0.255 area 1RA(config-router)#network 192.168.1.0 0.0.0.255 area 0 RB(config)# router ospf 10RB(config-router)#network 172.24.1.0 0.0.0.255 area 0RB(config-router)#network 192.168.1.0 0.0.0.255 area 0RB(config-router)#network 192.168.2.0 0.0.0.255 area 30RB(config-router)#network 192.168.3.0 0.0.0.255 area 0 RC(config)# router ospf 10RC(config-router)#network 172.24.2.0 0.0.0.255 area 30RC(config-router)#network 192.168.2.0 0.0.0.255 area 30步骤3 验证测试。用命令 show ip route 和 sh ip ospf neighbor来验证配置。RA#show ip routeCodes: C - connected, S - static, R - RIP B - BGPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate defaultGateway of last resort is no setC 172.16.0.0/24 is directly connected, Loopback 0C 172.16.0.1/32 is local host.C 172.16.1.0/24 is directly connected, Loopback 1C 172.16.1.1/32 is local host.C 172.16.2.0/24 is directly connected, Loopback 2C 172.16.2.1/32 is local host.C 172.16.3.0/24 is directly connected, Loopback 3C 172.16.3.1/32 is local host.C 172.16.4.0/24 is directly connected, Loopback 4C 172.16.4.1/32 is local host.O 172.24.1.1/32 110/1 via 192.168.1.1, 00:03:13, FastEthernet 0/0O IA 172.24.2.1/32 110/2 via 192.168.1.1, 00:00:35, FastEthernet 0/0C 192.168.1.0/24 is directly connected, FastEthernet 0/0C 192.168.1.2/32 is local host.O IA 192.168.2.0/24 110/2 via 192.168.1.1, 00:03:13, FastEthernet 0/0 O 192.168.3.1/32 110/1 via 192.168.1.1, 00:03:13, FastEthernet 0/0 RC#show ip routeCodes: C - connected, S - static, R - RIP B - BGPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter areacandidate defaultGateway of last resort is 0.0.0.0 to network 0.0.0.0S* 0.0.0.0/0 is directly connected, Loopback 1O IA 172.16.0.0/24 110/2 via 192.168.2.1, 00:02:49, FastEthernet 0/0O IA 172.16.1.0/24 110/2 via 192.168.2.1, 00:02:49, FastEthernet 0/0O IA 172.16.2.0/24110/2 via192.168.2.1,00:02:49,FastEthernet0/0OIA172.16.3.0/24110/2 via192.168.2.1,00:02:49,FastEthernet0/0OIA172.16.4.0/24110/2 via192.168.2.1,00:02:49,FastEthernet0/0OIA172.24.1.0/24110/1 via192.168.2.1,00:02:49,FastEthernet0/0C172.24.2.0/24 isdirectly connected, Loopback0C172.24.2.1/32 islocal host.OIA192.168.1.0/24110/2 via192.168.2.1,00:02:49, FastEthernet0/0C192.168.2.0/24 isdirectly connected, FastEthernet0/0C192.168.2.2/32 islocal host.OIA192.168.3.0/24110/1 via192.168.2.1,00:02:49, FastEthernet0/0C199.0.0.0/28 is directly connected, Loopback1C199.0.0.10/32 islocal host.RB#show ip ospf neighborOSPF process 10:Neighbor ID Pri
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号