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

相关推荐
Escalating_xu23 分钟前
【Linux 网络编程】五种 I/O 模型与非阻塞 I/O:从“等数据”到正确处理 EAGAIN
java·linux·网络
默|笙2 小时前
【Linux网络】传输层协议TCP(3)滑动窗口、流量控制
linux·网络·tcp/ip
xiaoye-duck2 小时前
《C++ 项目:手写大模型接入 SDK》ChatGPT接口设计(中):全量响应实现和测试
网络·c++·语言模型·chatgpt
无言听风雨丶4 小时前
systemd 与信号 / 僵尸进程:Linux 进程管理的底层逻辑与排错
linux·服务器·网络
SDWAN_Cheap4 小时前
BGP是什么,广播IP是什么?两个容易混淆的概念拆解
网络·tcp/ip·bgp·广播ip
程序员JerrySUN4 小时前
PCIe Gen5 SSD 为什么读得快、写得慢?从存储原理到 Linux 性能实测
linux·服务器·网络
guizhoumen5 小时前
net core下WebSocket请求总是断开的解决方案
网络·websocket·网络协议
HKT_China5 小时前
香港电讯河套区创新科技中心暨AI机楼揭幕,以网络基建助力北部都会区发展
网络·ai
云边云科技_云网融合5 小时前
案例分享 | 某运动零售品牌多云治理实战:一套框架解决权限失控、网络混乱与成本黑箱
网络·零售
Liuqy-056 小时前
IO模型与并发服务器
服务器·网络·select·多线程·epoll·并发服务器·io多路复用