RIP路由配置

RIP路由配置步骤与命令:

1.启用RIP路由:router rip

2.通告直连网络:network 直连网络

3.启用RIPv2版本:version 2

4.禁用自动汇总:no auto-summary

注意:静态路由通告远程网络,动态路由通告直连网络。


配置实例:

如下图,通过配置RIP动态路由使得网络畅通,使得PC001能与PC002通信。

配置步骤:

一、在R1路由器上启用RIP并通告直连网络。

R1(config)#router rip

R1(config-router)#network 192.168.30.0

R1(config-router)#network 192.168.10.0

R1(config-router)#version 2

R1(config-router)#no auto-summary

二、在R2路由器上启用RIP并通告直连网络。

R2(config)#router rip

R2(config-router)#network 192.168.10.0

R2(config-router)#network 192.168.20.0

R2(config-router)#version 2

R2(config-router)#no auto-summary

三、在R3路由器上启用RIP并通告直连网络。

R3(config)#router rip

R3(config-router)#network 192.168.20.0

R3(config-router)#network 192.168.40.0

R3(config-router)#version 2

R3(config-router)#no auto-summary

验证:

相关推荐
天才奇男子18 小时前
HAProxy高级功能全解析
linux·运维·服务器·微服务·云原生
小李独爱秋18 小时前
“bootmgr is compressed”错误:根源、笔记本与台式机差异化解决方案深度指南
运维·stm32·单片机·嵌入式硬件·文件系统·电脑故障
❀͜͡傀儡师19 小时前
centos 7部署dns服务器
linux·服务器·centos·dns
Dying.Light20 小时前
Linux部署问题
linux·运维·服务器
S190120 小时前
Linux的常用指令
linux·运维·服务器
萤丰信息20 小时前
AI 筑基・生态共荣:智慧园区的价值重构与未来新途
大数据·运维·人工智能·科技·智慧城市·智慧园区
小义_20 小时前
【RH134知识点问答题】第7章 管理基本存储
linux·运维·服务器
运维小欣20 小时前
Agentic AI 与 Agentic Ops 驱动,智能运维迈向新高度
运维·人工智能
_运维那些事儿21 小时前
VM环境的CI/CD
linux·运维·网络·阿里云·ci/cd·docker·云计算
Trouvaille ~1 天前
【Linux】UDP Socket编程实战(一):Echo Server从零到一
linux·运维·服务器·网络·c++·websocket·udp