Cisco IOS 设备上的 RIP 简要比较

RIP Implementations

RIPv1

Original RIP implementation, limited to classful routing(obsolete)

RIPv2

Introduced support for classless routing, authentication,triggered updates, and multicast announcements (RFC 2453)

RIPng (RIP Next Generation)

Extends RIPv2 to support IPv6 routing (RFC 2080); functions very similarly to RIPv2 and is subsequently as limited

Protocols Comparison

RIP version RIPv1 RIPv2 RIPng
IP version IPv4 IPv4 IPv6
Admin Distance 120 120 120
UDP Port 520 520 521
Classless No Yes Yes
Adv. Address Broadcast 224.0.0.9 FF02::9
Authentication None Plain, MD5 None

RIPv2 Configuration

! Enable RIPv2 IPv4 routing

router rip

version 2

! Disable RIPv2 automatic summarization

no auto-summary

! Designate RIPv2 interfaces by network

network network

! Identify unicast-only neighbors

neighbor IP-address

! Originate a default route

default-information originate

! Designate passive interfaces

passive-interface {interface | default}

! Modify timers

timers basic update invalid hold flush

RIPv2 Interface Configuration

! Configure manual route summarization

ip summary-address rip network mask

! Enable MD5 authentication (RIPv2 only)

ip rip authentication mode md5

ip rip authentication key-chain key-chain

RIPng Configuration

! Enable IPv6 routing

ipv6 unicast-routing

! Enable RIPng IPv6 routing

ipv6 router rip name

! Toggle split-horizon and poison-reverse

no\] poison-reverse \[no\] split-horizon ! Modify timers timers basic update invalid hold flush ## RIPng Interface Configuration ! Enable RIPng on the interface ipv6 rip name enable ! Configure manual route summarization ipv6 rip name summary-address prefix ## Attributes | Type | Distance Vector | |:---------------|:-------------------| | Algorithm | Bellman-Ford | | Admin Distance | 120 | | Metric | Hop count (max 15) | | Standard | RFCs 2080, 2453 | | Protocols | IPv4, IPv6 | | Transport | UDP | | Authentication | Plaintext, MD5 | | Multicast IP | 224.0.0.9/FF02::9 | ## Timer Defaults | Update | 30 sec | |:----------|:--------| | Flush | 240 sec | | Invalid | 180 sec | | Hold-down | 180 sec | ## Troubleshooting show ip\[v6\] protocols show ip\[v6\] rip database show ip\[v6\] route rip debug ip rip { database \| events } debug ipv6 rip \[interface

Terminology

Split Horizon

A rule that states a router may not advertise a route back to the neighbor from which it was learned

Route Poisoning

When a network becomes unreachable, an update with an infinite metric is generated to explicitly advertise the route as unreachable

Poison Reverse

A router advertises a network as unreachable through the interface on which it was learned

相关推荐
视觉震撼23 分钟前
RDP登录事件详细溯源分析脚本(兼容Windows PowerShell版本)
运维·网络·windows·网络安全·网络攻击模型·安全威胁分析·安全架构
是店小二呀34 分钟前
仓颉三方库开发实战:Simple HTTP Server 实现详解
网络·网络协议·http
北京耐用通信41 分钟前
从‘卡壳’到‘丝滑’:耐达讯自动化PROFIBUS光纤模块如何让RFID读写器实现‘零延迟’物流追踪?”
网络·人工智能·科技·物联网·网络协议·自动化
交换机路由器测试之路1 小时前
交换机路由器基础(四)--TCPIP四层模型及常见协议技术
网络·网络协议·路由器·交换机·tcp/ip模型
老蒋新思维1 小时前
借刘润之智,在 IP+AI 时代构筑战略 “增长方舟”|创客匠人
大数据·网络·人工智能·网络协议·tcp/ip·创客匠人·知识变现
多多*1 小时前
一个有 IP 的服务端监听了某个端口,那么他的 TCP 最大链接数是多少
java·开发语言·网络·网络协议·tcp/ip·缓存·mybatis
网硕互联的小客服1 小时前
Windows2008 如何禁用FSO?
运维·服务器·网络·windows·安全
打码人的日常分享1 小时前
智慧楼宇资料合集,智慧城市智慧社区智慧园区
大数据·网络·人工智能
普普通通的南瓜2 小时前
网站提示 “不安全”?免费 SSL 证书一键解决
网络·数据库·网络协议·算法·安全·iphone·ssl
Pailugou2 小时前
使用socket实现TCP服务端
服务器·网络·tcp/ip