CCNA,RIP协议
时间:2025-02-22
时间:2025-02-22
cisco CCNA RIP 协议
路由信息协议 RIP
深圳职业技术学院计算机系网络专业
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
教学目标( 教学目标( Objectives )
1. 动态路由(Dynamic Routing) 动态路由( ) 2. 距离向量路由协议( Distance Vector Protocol) 距离向量路由协议( ) 3.管理距离和度量值 管理距离和度量值 ( Administrative Distance and Metric) ) 4. 路由信息协议(RIP) 路由信息协议( ) 5. RIP配置(Configing RIP) 配置( 配置 ) 6. 路由环路( Routing Loops ) 路由环路(
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
路由器怎样传递数据包 (How routers route packets from source to destination )
1.拆包 拆包(remove the data link layer address) 拆包 2.查表 查表(refer to the routing table) 查表 3.打包 打包(encapsulating a new frame) 打包 4.转发 转发(forwarding the packet) 转发
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
动态路由(Dynamic Routing) 动态路由( )
适应拓扑结构的变化 Adapting to topology change© 2006, Shenzhen Polytechnic. All rights reserved.4
cisco CCNA RIP 协议
动态路由协议分类 (Classes of Dynamic Routing Protocols) )
Distance Vector:rip : 距离向量
B C D A
Hybrid Routing:eigrp 混合路由B C D A
Link State:ospf 链路状态
如何衡量路径的好坏呢© 2006, Shenzhen Polytechnic. All rights reserved.
?5
cisco CCNA RIP 协议
管理距离( 管理距离(Administrative Distance) )管理距离用于衡量其作为路由信息源的可信度。 管理距离用于衡量其作为路由信息源的可信度。 A measure of the reliability of the route 管理距离越低 路由选择协议的可信度越高 管理距离越低,路由选择协议的可信度越高。I need to send a packet to Network E. Both router B and C will get it there. Which route is best? Router A
A lower value for the administrative distance indicates the more reliable route
Router B
RIP Administrative Distance=120
IGRP Administrative Distance=100
E© 2006, Shenzhen Polytechnic. All rights reserved.
Router C
Router D6
cisco CCNA RIP 协议
默认管理距离 (Default Administrative Distance) )路由选择协议 Routing Protocol 直连的接口 (connected) static EIGRP IGRP OSPF RIP 管理距离 AD 0 1 90 100 110 120
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
度量值( 度量值( Metric )度量值越小 路径就越好 度量值越小,路径就越好。 A lower value for the metric indicates the more reliable route 度量因素( 度量因素(factors for metric): ): 带宽( 带宽(Bandwidth) ) 延迟( 延迟(Delay) ) 负载( 负载(Load) ) 可靠性( ) 可靠性(Reliability) 跳数( 跳数(Hop Count) )
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
用度量值选择最佳路径 (Selecting Best Route with Metrics) )A 56 RIP Hop count 跳数 T1 56 IGRP Bandwidth Delay Load Reliabil
ity MTU T1 B
© 2006, Shenzhen Polytechnic. All rights reserved.
cisco CCNA RIP 协议
Case Study 1根据管理距离和度量值对路径由好到坏排序: 根据管理距离和度量值对路径由好到坏排序:
1. [120/2] 2. [120/2] 3. [100/35556] 4. [90/1288] 5. [90/19999]© 2006, Shenzhen Polytechnic. All rights reserved.
4 5 3 2 110
cisco CCNA RIP 协议
距离向量路由协议 (Distance Vector Routing Protocols) )
B C Distance—多远 多远 Vector—方向 方向 A
D
D
C
B
A
Routing Table
Routing Table
Routing Table
Routing Table
Pass periodic copies of routing table to neighbor routers and accumulate distance vectors 定期拷贝路由表给邻居路由器, 定期拷贝路由表给邻居路由器,并累积向量© 2006, Shenzhen Polytechnic. All rights reserved.11
cisco CCNA RIP 协议
距离向量—发现路由 距离向量 发现路由 (Distance Vector— Discovering Routes) )10.1.0.0E0
10.2.0.0 AS0 S0
10.3.0.0 BS1 S0
10.4.0.0 CE0
Routing Table 10.1.0.0 10.2.0.0 E0 S0 0 0
Routing Table 10.2.0.0 10.3.0.0 S0 S1 0 0
Routing Table 10.3.0.0 10.4.0.0 S0 E0 0 0
路由器从邻居那里发现到目的的最佳路径 Routers discover the best path to destinations from each neighbor© 2006, Shenzhen Polytechnic. All rights reserved.12
cisco CCNA RIP 协议
距离向量—发现路由 距离向量 发现路由 (Distance Vector— Discovering Routes)10.1.0.0E0
10.2.0.0 AS0 S0
10.3.0.0 BS1 S0
10.4.0.0 CE0
Routing Table 10.1.0.0 10.2.0.0 10.3.0.0 E0 S0 S0 0 0 1
Routing Table 10.2.0.0 10.3.0.0 10.4.0.0 10.1.0.0 S0 S1 S1 S0 0 0 1 1
Routing Table 10.3.0.0 10.4.0.0 10.2.0.0 S0 E0 S0 0 0 1
路由器从邻居那里发现到目的的最佳路径 Routers discover the best path to destinations from each neighbor© 2006, Shenzhen Polytechnic. All rights reserved.13
cisco CCNA RIP 协议
距离向量—发现路由 距离向量 发现路由 (Distance Vector— Discovering Routes) )10.1.0.0E0
10.2.0.0 AS0 S0
10.3.0.0 BS1 S0
10.4.0.0 CE0
Routing Table 10.1.0.0 10.2.0.0 10.3.0.0 10.4.0.0 E0 S0 S0 S0 0 0 1 2
Routing Table 10.2.0.0 10.3.0.0 10.4.0.0 10.1.0.0 S0 S1 S1 S0 0 0 1 1
Routing Table 10.3.0.0 10.4.0.0 10.2.0.0 10.1.0.0 S0 E0 S0 S0 0 0 1 2
路由器从邻居那里发现到目的的最佳路径 Routers discover the best path to destinations from each neighbor© 2006, Shenzhen Polytechnic. All …… 此处隐藏:4155字,全部文档内容请下载后查看。喜欢就下载吧 ……