欢迎来到天天文库
浏览记录
ID:39467839
大小:33.00 KB
页数:5页
时间:2019-07-04
《RIP路由重发与路由控制配制》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、RIP路由重发与路由控制配制【拓扑图】【实验目的】实现静态路由与RIP融合【实验设备】PC:2台路由:3台若干网线【IP设置】1、【PC——IP】PC1:192.168.10.2/24PC2:192.168.40.2/242、【R1——R4路由端口IP】R1F0/0:192.168.10.1/24F0/1:192.168.20.1/24R2F0/1:192.168.20.2/24F0/0:192.168.30.1/24R3F0/0:192.168.30.2/24F0/1:192.168.40.1/24【配制命令】【R-1】Router>enRouter
2、#confRouter(config)#hostnameR-1R-1(config)#inf0/0R-1(config-if)#ipadd192.168.10.1255.255.255.0R-1(config-if)#noshutdownR-1(config-if)#inf0/1R-1(config-if)#ipadd192.168.20.1255.255.255.0R-1(config-if)#noshutdownR-1(config-if)#exitR-1(config)#iproute192.168.30.0255.255.255.0192.16
3、8.20.2R-1(config)#iproute192.168.40.0255.255.255.0192.168.20.2R-1(config)#doshowiprouteC192.168.10.0/24isdirectlyconnected,FastEthernet0/0C192.168.20.0/24isdirectlyconnected,FastEthernet0/1S192.168.30.0/24[1/0]via192.168.20.2S192.168.40.0/24[1/0]via192.168.20.2【R-2】Router>enRout
4、er#confRouter(config)#hostnameR-2R-2(config)#inf0/1R-2(config-if)#ipadd192.168.20.2255.255.255.0R-2(config-if)#noshutdownR-2(config-if)#inf0/0R-2(config-if)#ipadd192.168.30.1255.255.255.0R-2(config-if)#noshutdownR-2(config-if)#exitR-2(config)#neR-2(config)#routeripR-2(config-rou
5、ter)#ve2R-2(config-router)#network192.168.30.0R-2(config-router)#exitR-2(config)#iproute192.168.10.0255.255.255.0192.168.20.1R-2(config)#routeripR-2(config-router)#ve2R-2(config-router)#redistributeconnectedR-2(config-router)#redistributestaticR-2(config-router)#doshowiprouteS19
6、2.168.10.0/24[1/0]via192.168.20.1C192.168.20.0/24isdirectlyconnected,FastEthernet0/1C192.168.30.0/24isdirectlyconnected,FastEthernet0/0R192.168.40.0/24[120/1]via192.168.30.2,00:00:11,【R-3】Router>enRouter#confRouter(config)#hostnameR-3R-3(config)#inf0/0R-3(config-if)#ipadd192.168
7、.30.2255.255.255.0R-3(config-if)#noshutdownR-3(config-if)#inf0/1R-3(config-if)#ipadd192.168.40.1255.255.255.0R-3(config-if)#noshutdownR-3(config-if)#exitR-3(config)#routeripR-3(config-router)#ve2R-3(config-router)#network192.168.30.0R-3(config-router)#network192.168.40.0R-3(conf
8、ig-router)#doshowiprouteR192.168.10.0/24[120/1]
此文档下载收益归作者所有