当前位置:文档之家› 路由综合实验

路由综合实验

路由综合实验实验步骤:1.配置相关地址,确保直连网络的通信2.配置所有Serial接口时钟频率为64000,参考带宽为1544k3.配置EIGRP区域,AS号为100,并关闭自动汇总4.对R4的loopback接口实施手工汇总5.在R1上实施EIGRP非等价负载均衡6.根据拓扑所示,配置OSPF多区域7.在R6、R7之间配置MD5验证8.确保R5成为DR9在R4上配置静态默认路由,并配置EIGRP默认路由10.在R5上配置静态默认路由,并配置OSPF默认路由11.在R1、R2上实施HSRP,确保R2成为主路由器,虚拟地址为192.168.1.254,并对R2的Fa0/0接口进行跟踪12.确保EIGRP和OSPF两个区域通信,但不允许使用路由重分发配置第一步:R1的配置:Router>enableRouter#conf tRouter(config)#hostname R1R1(config)#int f0/0R1(config-if)#no shutdownR1(config-if)#ip add 192.168.12.1 255.255.255.0R1(config-if)#exitR1(config)#int f1/0R1(config-if)#no shutdownR1(config-if)#ip add 192.168.14.1 255.255.255.0R1(config-if)#endR1#show interface serial2/0Serial2/0 is administratively down, line protocol is down (disabled) Hardware is HD64570MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#int se2/0R1(config-if)#clock rate 64000R1(config-if)#bandwidth 1544R1(config-if)#no shR1(config-if)#ip add 192.168.13.1 255.255.255.0R1(config-if)#endR2的配置:Router#conf tRouter(config)#hostname R2R2(config)#int f0/0R2(config-if)#no shR2(config-if)#ip add 192.168.12.2 255.255.255.0R2(config-if)#int f1/0R2(config-if)#no shR2(config-if)#ip add 192.168.1.1 255.255.255.0R2(config-if)#endR3的配置:Router>enRouter#conf tRouter(config)#hostname R3R3(config)#int s2/0R3(config-if)#bandwidth 1544R3(config-if)#no shR3(config-if)#ip add 192.168.13.2 255.255.255.0R3(config-if)#int f1/0R3(config-if)#no shR3(config-if)#ip add 192.168.1.2 255.255.255.0R3(config-if)#endR4的配置:Router>enRouter#conf tRouter(config)#int f1/0Router(config-if)#no shRouter(config-if)#ip add 192.168.14.2 255.255.255.0 Router(config-if)#int f0/0Router(config-if)#no shRouter(config-if)#ip add 192.168.45.1 255.255.255.0 Router(config-if)#exRouter(config)#int loopback 0Router(config-if)#ip add 172.16.0.1 255.255.255.0 Router(config-if)#int loopback 1Router(config-if)#ip add 172.16.1.1 255.255.255.0 Router(config-if)#int loopback 2Router(config-if)#ip add 172.16.2.1 255.255.255.0 Router(config-if)#int loopback 3Router(config-if)#ip add 172.16.3.1 255.255.255.0 Router(config-if)#endR5的配置:Router>enRouter#conf tRouter(config)#int f0/0Router(config-if)#no shRouter(config-if)#ip add 192.168.45.2 255.255.255.0 Router(config-if)#int f1/0Router(config-if)#no shRouter(config-if)#ip add 192.168.56.1 255.255.255.0 Router(config-if)#endR6的配置:Router#conf tRouter(config)#hostname R6R6(config)#int f1/0R6(config-if)#no shR6(config-if)#ip add 192.168.56.2 255.255.255.0R6(config-if)#int se3/0R6(config-if)#no shR6(config-if)#ip add 192.168.67.1 255.255.255.0R6(config-if)#clock rate 64000R6(config-if)#bandwidth 1544R6(config-if)#endR7的配置:Router>enRouter#conf tRouter(config)#hostname R7R7(config)#int se3/0R7(config-if)#no shutdownR7(config-if)#ip add 192.168.67.2 255.255.255.0R7(config-if)#bandwidth 1544R7(config-if)#exR7(config)#int loopback 0R7(config-if)#ip add 192.168.7.1 255.255.255.0R7(config-if)#int loopback 1R7(config-if)#ip add 192.168.8.1 255.255.255.0R7(config-if)#end配置EIGRP区域,AS号为100,并关闭自动汇总R1的配置:R1#show ip int briefInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.12.1 YES manual up upFastEthernet1/0 192.168.14.1 YES manual up upSerial2/0 192.168.13.1 YES manual up upSerial3/0 unassigned YES unset administratively down down FastEthernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down downR1#conf tR1(config)#router eigrp 100R1(config-router)#network 192.168.12.0R1(config-router)#network 192.168.13.0R1(config-router)#network 192.168.14.0R1(config-router)#no auto-summaryR1(config-router)#endR2的配置:R2>enR2#show ip int briefInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.12.2 YES manual up upFastEthernet1/0 192.168.1.1 YES manual up upSerial2/0 unassigned YES unset administratively down downSerial3/0 unassigned YES unset administratively down down FastEthernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down downR2#conf tR2(config)#router eigrp 100R2(config-router)#network 192.168.1.0R2(config-router)#network 192.168.12.0R2(config-router)#passive-interface f1/0R2(config-router)#endR3的配置:R3#enR3#conf tR3(config)#do show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 unassigned YES unset administratively down downFastEthernet1/0 192.168.1.2 YES manual up upSerial2/0 192.168.13.2 YES manual up upSerial3/0 unassigned YES unset administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downR3(config)#router eig 100R3(config-router)#network 192.168.1.0R3(config-router)#network 192.168.13.0R3(config-router)#no auto-summaryR3(config-router)#passive-interface fa1/0R3(config-router)#endR4的配置:Router>enRouter#conf tRouter(config)#do show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.45.1 YES manual up upFastEthernet1/0 192.168.14.2 YES manual up upSerial2/0 unassigned YES unset administratively down downSerial3/0 unassigned YES unset administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downLoopback0 172.16.0.1 YES manual up upLoopback1 172.16.1.1 YES manual up upLoopback2 172.16.2.1 YES manual up upLoopback3 172.16.3.1 YES manual up upRouter(config)#router eig 100Router(config-router)#network 192.168.14.0Router(config-router)#%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.14.1 (FastEthernet1/0) is up: new adjacencyRouter(config-router)#network 192.168.45.0Router(config-router)#network 172.16.0.0 0.0.3.255Router(config-router)#no auto-summary%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.14.1 (FastEthernet1/0) resync: summary configuredRouter(config-router)#end在R1上实施EIGRP非等价负载均衡R1>show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not set172.16.0.0/24 is subnetted, 4 subnetsD 172.16.0.0 [90/156160] via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.1.0 [90/156160] via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.2.0 [90/156160] via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.3.0 [90/156160] via 192.168.14.2, 00:44:19, FastEthernet1/0D 192.168.1.0/24 [90/30720] via 192.168.12.2, 00:57:18, FastEthernet0/0 C 192.168.12.0/24 is directly connected, FastEthernet0/0C 192.168.13.0/24 is directly connected, Serial2/0C 192.168.14.0/24 is directly connected, FastEthernet1/0D 192.168.45.0/24 [90/30720] via 192.168.14.2, 00:44:19, FastEthernet1/0按拓扑所示,R1到192.168.1.0网段,有两条线路,但路由表显示是通过R2。

相关主题