欢迎来到天天文库
浏览记录
ID:1760477
大小:56.00 KB
页数:4页
时间:2017-11-13
《4.1配置静态路由实现区域网连通》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、案例4.1静态路由实现网络互连【案例描述】中北大学网络分散两个小区,拓扑图如下图所示。使用两台路由器分别表示分散校园网络中两个不同的园区区域:左边路由器连接的是西校区,右边路由器连接的是东校区。其中,园区网络的地址规划如下表所示。现使用网络线路直接连接起来,希望通过静态路由技术实现分散的校园网络系统互连互通。【教学目标】学习和掌握配置静态路由的方法,理解其应用场合。【使用设备】设备名称设备及端口的配置地址Router1F0172.16.1.254/24F1172.16.2.1/24Router2F1172.16.2.2/24F0172.16.3.254/24PC1172.16.1
2、.1/24PC2172.16.3.1/24【案例实施】步骤1在路由器Router上配置接口的ip地址Router1(config)#interfacefastEthernet0Router1(config-if)#ipaddress172.16.1.254255.255.255.0Router1(config-if)#noshutdownRouter1(config-if)#exitRouter1(config)#interfaceF1Router1(config-if)#ipaddress172.16.2.1255.255.255.0Router1(config-if)#nos
3、hutdown验证测试:验证路由器接口的配置Router1#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0172.16.1.254YESmanualupupFastEthernet1172.16.2.1YESmanualupupFastEthernet2unassignedYESunsetadministrativelydowndownFastEthernet3unassignedYESunsetadministrativelydowndownSerial0unassigned
4、YESunsetadministrativelydowndownSerial1unassignedYESunsetadministrativelydowndown可通过如下命令查看接口的状态Router1#showinterfacesFastEthernet1步骤2在路由器Router上配置接口的ip地址Router2(config)#interfacefastEthernet0Router2(config-if)#ipaddress172.16.3.254255.255.255.0Router2(config-if)#noshutdownRouter2(config)#inte
5、rfacefastEthernet1Router2(config-if)#ipaddress172.16.2.2255.255.255.0Router2(config-if)#noshutdown验证测试:验证接口的配置Router2#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0172.16.3.254YESmanualupupFastEthernet1172.16.2.2YESmanualupupFastEthernet2unassignedYESunsetadminist
6、rativelydowndownFastEthernet3unassignedYESunsetadministrativelydowndownSerial0unassignedYESunsetadministrativelydowndownSerial1unassignedYESunsetadministrativelydowndown步骤3确定路由器的直连网段和非直连网段。步骤4.1在路由器Router1上配置静态路由.Router1(config)#iproute172.16.3.0255.255.255.0172.16.2.2或Router1(config)#iproute
7、172.16.3.0255.255.255.0FastEthernet1验证测试:验证Router1上的静态路由的配置Router1#showiprouteCodes:C-connected,S-static,R-RIPO-OSPF,IA-OSPFinterareaE1-OSPFexternaltype1,E2-OSPFexternaltype2Gatewayoflastresortisnotset172.16.0.0/24issubnetted,3subnetsC172.16.
此文档下载收益归作者所有