网络设备配置与管理第4章

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

z––RIPIGRP––X.25–ISDN––CDP–PPPPAPCHAP–(OS)–zconnected–zstatic–zdynamic–192.168.0.1192.168.1.2192.168.2.1192.168.0.0R1R2192.168.3.0R3s1s0e0s0s1e0192.168.1.1192.168.2.2192.168.3.1R1192.168.0.024192.168.0.1e0192.168.1.024192.168.1.1s0192.168.2.024192.168.1.2s0192.168.3.024192.168.1.2s0IPa.2621AConfigurationRouterenRouter#configtRouter(config)#hostname2621A2621A(Config)#interfacefa0/02621A(Config-if)#ipaddress172.16.10.1255.255.255.02621A(Config-if)#noshuta.2621AConfiguration2621A#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B–BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E–EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefault,U-per-userstaticroute,o-ODR,P-periodicdownloadedstaticrouteT-trafficengineeredrouteGatewayoflastresortisnotset172.16.0.0/24issubnetted,1subnetsC172.16.10.0isdirectlyconnected,FastEthernet0/02621A#2501A172.16.10.0e0172.16.10.22501A172.16.20.0s0172.16.20.1b.2501AConfigurationRouterenRouter#configtRouter(config)#hostname2501A2501A(config)#inte02501A(config-if)#ipaddress172.16.10.2255.255.255.02501A(config-if)#noshut2501A(config-if)#ints02501A(config-if)#ipaddress172.16.20.1255.255.255.02501A(config-if)#noshutb.2501AConfiguration2501A#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,2subnetsC172.16.20.0isdirectlyconnected,Serial0C172.16.10.0isdirectlyconnected,Ethernet02501A#2501B172.16.20.0s0172.16.20.22501B172.16.40.0s1172.16.40.12501B172.16.30.0e0172.16.30.1c.2501BConfigurationRouterenRouter#configtRouter(config)#hostname2501B2501B(config)#inte02501B(config-if)#ipaddress172.16.30.1255.255.255.02501B(config-if)#noshut2501B(config-if)#ints02501B(config-if)#ipaddress172.16.20.2255.255.255.02501B(config-if)#clockrate640002501B(config-if)#noshut2501B(config-if)#ints12501B(config-if)#ipaddress172.16.40.1255.255.255.02501B(config-if)#clockrate640002501B(config-if)#noshutDCEDTE:Showcontrollerserial0c.2501BConfiguration2501B#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,3subnetsC172.16.40.0isdirectlyconnected,Serial1C172.16.30.0isdirectlyconnected,Ethernet0C172.16.20.0isdirectlyconnected,Serial02501B#2501C172.16.40.0s0172.16.40.22501C172.16.50.0e0172.16.50.1d.2501CConfigurationRouterenRouter#configtRouter(config)#hostname2501C2501C(config)#inte02501C(config-if)#ipaddress172.16.50.1255.255.255.02501C(config-if)#noshut2501C(config-if)#ints02501C(config-if)#ipaddress172.16.40.2255.255.255.02501C(config-if)#noshutd.2501CConfiguration2501C#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,2subnetsC172.16.50.0isdirectlyconnected,Ethernet0C172.16.40.0isdirectlyconnected,Serial02501C#2621A(Config)#iproute172.16.20.0255.255.255.0172.16.10.22621A(Config)#iproute172.16.30.0255.255.255.0172.16.10.22621A(Config)#iproute172.16.40.0255.255.255.0172.16.10.22621A(Config)#iproute172.16.50.0255.255.255.0172.16.10.2a.2621AThefollowingnetworksmustbeconfiguredintheroutingtable:z172.16.20.0z172.16.30.0z172.16.40.0z172.16.50.0a.2621A2621A#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,5subnetsS172.16.50.0[1/0]via172.16.10.2S172.16.40.0[1/0]via172.16.10.2S172.16.30.0[1/0]via172.16.10.2S172.16.20.0[1/0]via172.16.10.2C172.16.10.0isdirectlyconnected,FastEthernet0/02621A#b.2501AThefollowingstaticroutesmustbeconfiguredonthe2501Arouter:z172.16.30.0z172.16.40.0z172.16.50.02501A(Config)#iproute172.16.30.0255.255.255.0172.16.20.22501A(Config)#iproute172.16.40.0255.255.255.0172.16.20.22501A(Config)#iproute172.16.50.0255.255.255.0172.16.20.2b.2501A2501A#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,5subnetsS172.16.50.0[1/0]via172.16.20.2S172.16.40.0[1/0]via172.16.20.2S172.16.30.0[1/0]via172.16.20.2C172.16.20.0isdirectlyconnected,Serial0C172.16.10.0isdirectlyconnected,Ethernet02501A#c.2501BOnlytworoutersneedtobeadded:z172.16.10.0z172.16.50.0.2501B(Config)#iproute172.16.10.0255.255.255.0172.16.20.12501B(Config)#iproute172.16.50.0255.255.255.0172.16.40.2c.2501B2501B#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,5subnetsS172.16.50.0[1/0]via172.16.40.2C172.16.40.0isdirectlyconnected,Serial1C172.16.30.0isdirectlyconnected,Ethernet0C172.16.20.0isdirectlyconnected,Serial0S172.16.10.0[1/0]via172.16.20.12501B#d.2501CTheroutingtableneedstoknowaboutnetworksz172.16.10.0z172.16.20.0z172.16.30.02501C(Config)#iproute172.16.10.0255.255.255.0172.16.40.12501C(Config)#iproute172.16.20.0255.255.255.0172.16.40.12501C(Config)#iproute172.16.30.0255.255.255.0172.16.40.1d.2501C2501C#shiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,Gatewayoflastresortisnotset172.16.0.0/24issubnetted,5subnetsC172.16.50.0isdirectlyconnected,Ethernet0C172.16.40.0isdirectlyconnected,Serial0S172.16.30.0[1/0]via172.16.40.1S172.16.20.0

1 / 123
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功