2021-10-29

本文详细介绍了RIP路由协议的配置,包括Loopback接口IP设置、版本2配置、接口间的简单口令认证、不同版本路由器之间的路由通告,以及如何通过silent接口抑制不必要的路由更新。适合深入理解RIP配置的网络管理员。
摘要由CSDN通过智能技术生成

rip基础配置

 

R1:

[R1]int LoopBack 0

[R1-LoopBack0]ip add 10.0.1.1 24

[R1-LoopBack0]int g 0/0/0

[R1-GigabitEthernet0/0/0]ip add 10.0.12.1 24

[R1]rip

[R1-rip-1]network 10.0.0.0

R2:

[R2]int LoopBack 0

[R2-LoopBack0]int g 0/0/0

[R2-GigabitEthernet0/0/0]ip add 10.0.12.2 24

[R2]rip

[R2-rip-1]network 10.0.0.0

接口认证

 

R1:

[R1]int g 0/0/0

[R1-GigabitEthernet0/0/0]ip add 192.168.10.254 24

[R1-GigabitEthernet0/0/0]int g 0/0/1

[R1-GigabitEthernet0/0/1]ip add 10.0.12.1 24

[R1]rip

[R1-rip-1]version 2

[R1-rip-1]network 192.168.10.0

[R1-rip-1]network 10.0.0.0

[R1]int g 0/0/1

[R1-GigabitEthernet0/0/1]rip authentication-mode simple plain huawei

##

R2:

[R2]int g 0/0/1

[R2-GigabitEthernet0/0/1]ip add 10.0.12.2 24

[R2-GigabitEthernet0/0/1]int g 0/0/0

[R2-GigabitEthernet0/0/0]ip add 192.168.20.254 24

[R2]rip

[R2-rip-1]version 2

[R2-rip-1]network 192.168.20.0

[R2-rip-1]network 10.0.0.0

[R2]int g 0/0/1

[R2-GigabitEthernet0/0/1]rip authentication-mode simple plain huawei

rip不同版本相互通告

 

R1:

[R1]int g 0/0/0

[R1-GigabitEthernet0/0/0]ip add 10.0.12.1 24

[R1-GigabitEthernet0/0/0]int g 0/0/1

[R1-GigabitEthernet0/0/1]ip add 192.168.10.254 24

[R1]rip

[R1-rip-1]network 10.0.0.0

[R1-rip-1]network 192.168.10.0

[R1]int g 0/0/0

[R1-GigabitEthernet0/0/0]rip version 2

R2:

[R2]int g 0/0/0

[R2-GigabitEthernet0/0/0]ip add 10.0.12.2 24

[R2-GigabitEthernet0/0/0]int g 0/0/1

[R2-GigabitEthernet0/0/1]ip add 192.168.20.254 24

[R2]rip

[R2-rip-1]network 10.0.0.0

[R2-rip-1]network 192.168.20.0

[R2-rip-1]version 2

抑制接口

 

R1:

[R1]int g 0/0/1

[R1-GigabitEthernet0/0/1]ip add 172.16.1.254 24

[R1]rip

[R1-rip-1]network 172.16.0.0

[R1-rip-1]silent-interface g 0/0/1

[R1-rip-1]peer 172.16.1.100

[R1-rip-1]peer 172.16.1.200

R2:

[R2]INT G 0/0/0

[R2-GigabitEthernet0/0/0]ip add 172.16.2.254 24

[R2-GigabitEthernet0/0/0]int g 0/0/1

[R2-GigabitEthernet0/0/1]ip add 172.16.1.100 24

[R2]rip

[R2-rip-1]network 172.16.0.0

[R2-rip-1]silent-interface g 0/0/0

[R2-rip-1]silent-interface g 0/0/1

[R2-rip-1]peer 172.16.1.254

[R2-rip-1]peer 172.16.1.200

R3:

[R3]int g 0/0/0

[R3-GigabitEthernet0/0/0]ip add 192.168.1.254 24

[R3-GigabitEthernet0/0/0]int g 0/0/2

[R3-GigabitEthernet0/0/2]ip add 172.16.1.200 24

[R3]rip

[R3-rip-1]network 172.16.0.0

[R3-rip-1]network 192.168.1.0

[R3-rip-1]silent-interface g 0/0/0

[R3-rip-1]silent-interface g 0/0/2

[R3-rip-1]peer 172.16.1.100

[R3-rip-1]peer 172.16.1.254

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值