配置IP
R1:Ethernet0/0/0 11.1.1.1 24
R2: Ethernet0/0/0 11.1.1.2 24
Ethernet0/0/1 11.1.2.1 24
Look back 11.1.1.1 30
Look back 11.1.1.5 30
R3: Ethernet0/0/0 11.1.2.2 24
Ethernet0/0/111.1.3.1 24
Look back 11.1.1.9 30
Look back 11.1.1.13 30
R4: Ethernet0/0/0 11.1.3.2 24
Ethernet0/0/1 11.1.4.2 24
Look back 11.1.1.17 30
Look back 11.1.1.21 30
Look back 100.1.1.1 24
R5:Ethernet0/0/0 11.1.1.3 24
Ethernet0/0/0 11.1.4.1 24
宣告
R1—R5:
rip 1
version 2
network 11.0.0.0
添加认证
R1:
interface E0/0/0
[1-Ethernet0/0/0]rip authentication-mode md5 usual 8888
R2:
interface E0/0/0
[1-Ethernet0/0/0]rip authentication-mode md5 usual 8888
R5:
interface E0/0/1
[1-Ethernet0/0/1] rip authentication-mode md5 usual 8888
(所有直连端口均要配置,且相同)
汇总
R2
interface g0/0/0
rip summary-address 11.11.1.0 255.255.255.248
interface g0/0/1
rip summary-address 11.11.1.0 255.255.255.248
R3
interface Ethernet0/0/0
ip address 11.1.2.2 255.255.255.0
rip summary-address 11.11.1.8 255.255.255.248
interface Ethernet0/0/1
ip address 11.1.3.1 255.255.255.0
rip summary-address 11.11.1.8 255.255.255.248
R4
interface Ethernet0/0/0
ip address 11.1.3.2 255.255.255.0
rip summary-address 11.11.1.16 255.255.255.248
interface Ethernet0/0/1
ip address 11.1.4.2 255.255.255.0
rip summary-address 11.11.1.16 255.255.255.248
缺省路由:
在边界路由器配置一条缺省指令,那么内网的路由器会自动生成一条指向边界路由器的缺省。
R4
rip 1
default-route originate
其余路由均会形成一个指向R4的缺省路由
加快收敛速度:
成比例修改计时器时间,切勿修改的过小,所有设备均需修改
[R1]rip 1
[R1-rip-1]version 2
[R1-rip-1]timers rip 15 90 60】