Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP.

Similar presentations


Presentation on theme: "© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP."— Presentation transcript:

1 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP

2 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-2 Outline Overview RIP Features RIPv1 and RIPv2 Comparison Dynamic Routing Configuration Tasks Dynamic Routing Configuration RIP Configuration RIP Configuration Verification RIP Configuration Troubleshooting Summary

3 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-3 RIP Version 1 的特征 有类, 不支持 VLSM Broadcast 更新 不支持认证 最大 6 条路径负载均衡 (default = 4) 用 Hop-count metric 选择最佳路径 路由器每 30s 发送更新

4 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-4 RIPv1 and RIPv2 比较 RIPv1RIPv2 Routing protocolClassfulClassless Supports variable-length subnet mask?NoYes Sends the subnet mask along with the routing update? NoYes Addressing typeBroadcastMulticast Defined in …RFC 1058 RFCs 1721, 1722, and 2453 Supports manual route summarization?NoYes Authentication support?NoYes

5 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-5 路由配置 – 选择路由协义 – 指定网络接口 IP 路由协议配置任务

6 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-6 选种一种 IP routing protocol Router(config)# router protocol [keyword] 对于每种 IP routing 进程手工配置命令 指派将会用于路由更新转发的物理直连网络 Router(config-router)# network network-number 动态路由协议配置

7 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-7 启动 RIP routing 进程 Router(config)# router rip Router(config-router)# network network-number 选择参与的直连网络 network number 需要是主类网络号 RIP 配置

8 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-8 RIP 配置示例

9 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-9 验证 RIP 配置

10 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-10 显示 IP Routing Table

11 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-11 debug ip rip Command

12 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-12 RIPv2 的特征 Defined in RFC 1721, 1722, and 2453 是一个无类路由协议 Multicasts 代替 broadcasts 更新 ,使用组播地址 224.0.0.9 带子网掩码更新,因此支持 VLSM 支持手工路由汇总 (summarization) and 无类域间路由 (classless interdomain routing (CIDR)) 支持 ( Message Digest 5 (MD5) ) or 明文 (clear text) 认证 RIPv2 is the same as RIPv1 with the following exceptions:

13 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-13 Router(config)# router rip 启动 RIP routing 进程时, 缺省的是 version 1 RIPv2 配置命令 Router(config-router)# version 2 在路由模式下指派为 RIPv2 Router(config-router)# network network-number 指派参与的直连网络 network number 需要主类网络号

14 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-14 Router(config-if)# ip rip send | receive version 1 | 2 or 1 2 Router(config-if)# ip rip send | receive version 1 | 2 or 1 2 接口下指定此接口哪个版的 RIP 信息将会被发送和接收 RIPv2 Configuration Commands (Cont.) Router(config-if)# ip summary-address rip network mask 在接口下启用 RIP 路由手动汇总 在 RIP 路由模式下用 no auto-summary 命令关闭路由自动 汇总

15 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-15 RIPv2 Configuration Example

16 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-16

17 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-17

18 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-18 Summary RIP is a distance vector routing protocol that uses hop count as the matrix for route selection and broadcasts updates every 30 seconds. RIPv1 uses classful routing protocol; RIPv2 uses classless routing protocol. RIPv2 supports VLSM, manual route summarization, and authentication; RIPv1 does not. To enable a dynamic routing protocol, first a routing protocol is selected, then IP network numbers are assigned without values being specified (except OSPF). The router command starts the routing process. The network command allows the routing process to determine which interfaces will participate in sending and receiving the routing updates.

19 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-19 Summary (Cont.) The router RIP command selects RIP as the routing protocol. The network command identifies a participating attached network. The show ip commands display information about routing protocols and the routing table. The debug ip rip command displays information on RIP routing transactions.

20 © 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-20


Download ppt "© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP."

Similar presentations


Ads by Google