文档详情

RIP路由配置.ppt

发布:2017-02-16约2.53千字共12页下载文档
文本预览下载声明
RIP路由配置 路由协议的基本概念与原理 路由根本问题是要解决什么? 数据转发的路径- 路由表(show ip route) 源地址:信息包所在的源地址; 目的地址:信息包所要达到的目的地址; 路由:所有可能的路径; 路由选择:选择最佳路径;并维护路由表,通过协议进行路由更新。 路由器只知道与其直接相连的网络或子网 路由协议:路由算法完成路由选择,传递信息,学习路由,更新路由表。 路由协议的类型: 内部网关协议(IGP);包括RIP,IGRP,OSPF,EIGRP,IS-IS等协议; 外部网关协议(BGP) 路由选择协议 在IGP中,RIP是个广泛使用的协议。 RIP 向量距离协议,用信息包所经过的网关来做距离的单位,超过15跳便无法到达。 IGRP是CISCO专用的路由协议,可以服务于大型互连网络,不受限于15跳的限制(100跳) RIP 概 述 Hop 计算 路由器每隔30秒更新 最多支持相同hop数的6条路径,实现负载均衡 RIP 配 置 激活RIP协议 RIP 配置举例 查看RIP信息 查看路由表 RIP的配置: 启用RIP: 通告网络,将A.B.C.D加入到路由器上的RIP路由进程中,并标识该网络为直接相连的网络。 2503(config)#router rip 2503(config-router)#network 192.168.2.0 2503(config-router)# 观察RIP的启用: 2503#show run 显示IP路由协议: 2503#show ip protocols 端口查看: 2503#show int s0 2503#show int Ethernet0 is up, line protocol is up 没问题! Serial0 is up, line protocol is down 请查看数据封装协议,时钟速率,是否激活 Serial0 is down, line protocol is down 物理线路故障 * Cisxo Education Solution * 19.2 kbps T1 T1 T1 Router(config)#router rip Router(config-router)#network network-number 选择直接连接的网络 必须是有效的网络 2.3.0.0 router rip network 172.16.0.0 network 10.0.0.0 router rip network 10.0.0.0 2.3.0.0 router rip network 192.168.1.0 network 10.0.0.0 172.16.1.1 S2 E0 S3 192.168.1.1 10.1.1.1 10.2.2.2 10.1.1.2 S2 S3 10.2.2.3 172.16.1.0 A B C 192.168.1.0 E0 RouterA#sh ip protocols Routing Protocol is rip Sending updates every 30 seconds, next due in 0 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial2 1 1 2 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 120 00:00:10 Distance: (default is 120) 172.16.1.1 S2 E0 S3 192.168.1.1 10.1.1.1 10.2.2.2 10.1.1.2 S2 S3 10.2.2.3 172.16.1.0 A B C 192.168.1.
显示全部
相似文档