江苏苏中建设集团股份有限公司网站,宜昌市住房和城乡建设局网站,建设摩托车110报价大全,室内设计联盟下载RIP动态路由配置RIP是使用最广泛的距离向量协议#xff0c;通过本次配置来理解RIP协议的传播、分析、挑选路由#xff0c;来实现路由发现、路由选择、路由切换等功能#xff0c;掌握RIP动态路由信息协议的配置方法。1.RIP配置环境与网络拓扑结构图实验设备#xff1a;3台CI… RIP动态路由配置 RIP是使用最广泛的距离向量协议通过本次配置来理解RIP协议的传播、分析、挑选路由来实现路由发现、路由选择、路由切换等功能掌握RIP动态路由信息协议的配置方法。 1.RIP配置环境与网络拓扑结构图 实验设备3台CISCO2500路由器每台有2个Serial口1个AUI口2台交换机以及2条直连双绞线4条DCE-DTE线1条Console线和两个AUI转RJ45转接器。 图2 RIP配置网络拓扑结构图 2.实验内容 配置路由器R1、R2和R3的各个接口IP地址在每个路由器上配置RIP路由协议然后用测试R1到R3的连通性。 3.实验步骤 1) 将R1的S0口与R2的S1口相连 R2的S0口与R3的S1口相连R1的E0口连接192.168.1.0网段R3的E1口连接192.168.4.0网段。 2) 配置路由器各接口的IP地址。 将串行电缆一端连接到R1路由器的console口上另外一端连接到计算机的com口上。启动超级终端程序Win98/2000/xp中作适当配置连接路由器。给路由器加电连续键入数个回车出现如下提示符显示路由器处于用户模式。 路由器R1的配置 R1 R1enable R1#configure terminal R1(config)#interface E0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface S0 R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1#write memory R1# copy running-config startup-config 路由器R2的配置 R2(config)#interface S1 R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface S0 R2(config-if)#ip address 192.168.3.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2#write memory R2# copy running-config startup-config 路由器R3的配置 R3(config)#interface S1 R3(config-if)#ip address 192.168.3.2 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface E0 R3(config-if)#ip address 192.168.4.1 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#exit R3#write memory R3# copy running-config startup-config 3) 配置RIP路由协议 R1enable R1#configure terminal R1(config)#route rip#选择RIP路由协议 R1(config-router)#network 192.168.1.0 R1(config-router)#network 192.168.2.0#所连接的网络号有2个网络号 R1(config-router)#end R1#copy running-config startup-config 路由器R2的配置 R2enable R2#configure terminal R2(config)#route rip R2(config-router)#network 192.168.2.0 R2(config-router)#network 192.168.3.0 R2#copy running-config startup-config 路由器R3的配置 R3enable R3#configure terminal R3(config)#route rip R3(config-router)#network 192.168.3.0 R3(config-router)#network 192.168.4.0 R3#copy running-config startup-config 4现在我们要测试线路的连通性。 测试线路连通性的方法有三种ping、traceroute和telnet。ping可以检测目的地是否可达trace不仅检测连通性还给出到达目的地所经过的路径telnet测试应用层软件的连通性。 下面分别用ping、traceroute和telnet三种方式在路由器R1上面测试到达路由器R3的E0口的连通性。 R1#ping 192.168.4.1 R1#traceroute 192.168.4.1 R1#telnet 192.168.4.1 转载于:https://blog.51cto.com/tczltczl/861973