欢迎来到天天文库
浏览记录
ID:47984332
大小:33.51 KB
页数:3页
时间:2020-01-18
《路由重发布》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、路由器重发布的实验教程,个人总结如有错误请指正。路由器规划:R1:S0/2:10.10.10.1255.255.255.0F0/0:10.10.40.2255.255.255.0R2:S0/2:10.10.10.2255.255.255.0F0/0:10.10.20.1255.255.255.0Loopback0:192.168.20.1255.255.255.0R3:S0/2:10.10.30.1255.255.255.0F0/0:10.10.20.2255.255.255.0R4:S0/2:10.10.30.2255.25
2、5.255.0F0/0:10.10.40.1255.255.255.0Loopback0:192.168.40.1255.255.255.0具体步骤:08_R1:#ints0/2#ipaddress10.10.10.1255.255.255.0#physical_layerspeed64000(该命令用于DCE端,需要判断08或者09为DCE)#intf0/0#ipaddress10.10.40.2255.255.255.009_R2:#ints0/2#ipaddress10.10.10.2255.255.255.0#intf
3、0/0#ipaddress10.10.20.1255.255.255.0#exit#intloopback0(不太确定loopback和0之间有空格没有)#ipaddress192.168.20.1255.255.255.010_R3:#ints0/2#ipaddress10.10.30.1255.255.255.0#physical_layerspeed64000(该命令用于DCE端,需要判断08或者09为DCE)#intf0/0#ipaddress10.10.20.2255.255.255.011_R4:(需查看S0/2或
4、S0/3哪个的line状态是up,使用showinterface命令,假设为s0/2)#ints0/2#ipaddress10.10.30.2255.255.255.0#intf0/0#ipaddress10.10.40.1255.255.255.0#exit#intloopback0#ipaddress192.168.40.1255.255.255.0各个路由器IP地址配置完成以后,测试连通性,若各个路由器能成功连接,则继续配置路由协议:08_R1:#routerospf100#network10.10.10.0255.25
5、5.255.0area0#exit#routerrip#version2#noauto-summary#network10.10.40.0255.255.255.009_R2:#routerospf100#network10.10.10.0255.255.255.0area0#network10.10.20.0255.255.255.0area0#network192.168.20.1255.255.255.010_R3:#routerospf100#network10.10.20.0255.255.255.0area0#ex
6、it#routerrip#version2#noauto-summary(这最好使用TAB键自动补全)#network10.10.30.0255.255.255.011_R4:#routerrip#version2#noauto-summary(这最好使用TAB键自动补全)#network10.10.30.0255.255.255.0#network10.10.40.0255.255.255.0#network192.168.40.0255.255.255.0各个路由器的路由协议配置完成以后,配置R1的路由重发布。08_R1:
7、#config#routerospf100#redistributerip#redistributeconnect#exit#routerrip#redistributeospf100#redistributeconnect路由器重发布完成,使用showiproute查看路由信息
此文档下载收益归作者所有