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 ipv6 protocols

show ipv6 rip database

show ipv6 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

相关推荐
小程序设计17 分钟前
某师范学院网络规划与设计
网络·安全
可爱系程序猿1 小时前
WSD 打印机时好时坏:从发现服务、地址变化到 Standard TCP/IP 端口的迁移记录
网络·网络协议·tcp/ip·程序人生·电脑
蓝速科技3 小时前
便民服务大厅 AI 数字人一体机场景适配与落地指南丨蓝速科技
大数据·网络·数据结构·人工智能·自然语言处理·数据分析·运维开发
济南凡维4 小时前
CODESOFT中如何将标签保存为PDF文件
网络·人工智能·打印机·codesoft
德迅云安全杨德俊4 小时前
高防IP:构建“防护-加速-管控”三位一体的全链路安全体系
网络·安全·ddos
猫哥随身wifi4 小时前
随身WiFi 怎么选?2026 主流品牌随身 WiFi 对比与选购避坑参考
网络·人工智能·5g·智能手机
en.en..4 小时前
TCP套接字编程 完整流程解析(服务端 + 客户端)
网络
Quanqiucard5 小时前
“十五五”数字乡村建设提速,平安乡村监控物联网卡怎么选才稳定
网络·物联网
小程序设计5 小时前
5G移动网络中设备与设备通信技术研究
网络·安全
Cx330❀5 小时前
【Linux网络】网络层 IP 协议:从网段划分到内核源码解析
大数据·linux·服务器·网络·tcp/ip·性能优化·langchain