Cisco路由器的rip动态路由配置

一 实验拓扑图

Cisco路由器的rip动态路由配置

二 实验目的

通过配置rip路由协议,实现不同网段主机之间的通信。

三 实验环境

GNS3,Windows10操作系统,SecureCRT8.0

四 实验过程

1.对路由器R1,R2,R3,R4进行接口ip配置:
R1: conf t
int f0/0
ip add 192.168.20.1 255.255.255.252
no shu
ex
int f0/1
ip add 192.168.30.1 255.255.255.252
no shu
ex
int f1/0
ip add 192.168.40.1 255.255.255.252
no shu
ex
R2: conf t
int f0/0
ip add 192.168.2.1 255.255.255.0
no shu
ex
int f0/1
ip add 192.168.20.2 255.255.255.252
no shu
ex
R3: conf t
int f0/0
ip add 192.168.3.1 255.255.255.0
no shu
ex
int f0/1
ip add 192.168.30.2 255.255.255.252
no shu
ex
R4: conf t
int f0/0
ip add 192.168.4.1 255.255.255.0
no shu
ex
int f0/1
ip add 192.168.40.2 255.255.255.252
no shu
ex

  1. 对路由器R1,R2,R3,R4进行rip路由配置:
    R1: router rip
    net 192.168.20.0
    net 192.168.30.0
    net 192.168.40.0
    ver 2
    no au
    end
    R2: router rip
    net 192.168.2.0
    net 192.168.20.0
    ver 2
    no au
    end
    R3: router rip
    net 192.168.3.0
    net 192.168.30.0
    ver 2
    no au
    end
    R4: router rip
    net 192.168.4.0
    net 192.168.40.0
    ver 2
    no au
    end
    查看路由表:
    sh ip rou
    R1
    Cisco路由器的rip动态路由配置
    R2
    Cisco路由器的rip动态路由配置
    R3
    Cisco路由器的rip动态路由配置
    R4
    Cisco路由器的rip动态路由配置

3.配置PC机上的ip:
PC1:ip 192.168.2.100 192.168.2.1
PC2:ip 192.168.4.100 192.168.4.1
PC3:ip 192.168.3.100 192.168.3.1

五 实验结果

三机相ping,都能ping通,实验完成。
Cisco路由器的rip动态路由配置
Cisco路由器的rip动态路由配置

六 实验总结

动态路由的特点:减少管理任务;但是占用了网络带宽。
我们在配置rip时,尽量使用Version2版本,具有:
无类路由协议
组播更新(224.0.0.9)
支持VLSM
自动汇总可关闭,可手工汇总
支持不连续子网