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

相关推荐
爱学习的章鱼哥39 分钟前
计算机网络|| 路由器和交换机的配置
网络·计算机网络·智能路由器
互联科技报1 小时前
声网对话式AI用于在线辅导,体验超出预期
网络
Hello.Reader3 小时前
ngx_http_limit_conn_module精准连接控制
网络·网络协议·http
qq_386322694 小时前
华为网路设备学习-21 IGP路由专题-路由过滤(filter-policy)
前端·网络·学习
firshman_start11 小时前
第十五章,SSL VPN
网络
Johnstons11 小时前
AnaTraf:深度解析网络性能分析(NPM)
前端·网络·安全·web安全·npm·网络流量监控·网络流量分析
落——枫11 小时前
路由交换实验
网络
Johny_Zhao11 小时前
K8S+nginx+MYSQL+TOMCAT高可用架构企业自建网站
linux·网络·mysql·nginx·网络安全·信息安全·tomcat·云计算·shell·yum源·系统运维·itsm
小诸葛的博客12 小时前
华为ensp实现跨vlan通信
网络·华为·智能路由器
稳联技术12 小时前
Ethercat转Profinet网关如何用“协议翻译术“打通自动化产线任督二脉
linux·服务器·网络