实验拓扑图:

RIP路由协议实验_路由表

IOU1的配置

Configure terminal

Interface Ethernet 0/0

Duplex full

Ip address 10.0.10.1 255.255.255.0

No shutdown

Exit

Interface loopback 0

Ip address 192.168.10.1 255.255.255.0

No shutdown

Exit

Interface loopback 1

Ip address 172.16.10.1 255.255.255.0

No shutdown

Exit

Router rip

Network 172.16.10.0

Network 192.168.10.0

Network 10.0.10.0

Exit

IOU2的配置

Configure terminal

Interface Ethernet 0/0

Duplex full

Ip address 10.0.10.2 255.255.255.0

No shutdown

Exit

Interface Ethernet 0/1

Duplex full

Ip address 10.0.12.1 255.255.255.0

No shutdown

Exit

Interface loopback 0

Ip address 192.168.20.1 255.255.255.0

No shutdown

Exit

Interface loopback 1

Ip address 172.16.20.1 255.255.255.0

No shutdown

Exit

Router rip

Network 10.0.10.0

Network 10.0.12.0

Network 192.168.20.0

Network 172.16.20.0

Exit

IOU3的配置

Configure terminal

Interface Ethernet 0/0

Duplex full

Ip address 10.0.12.2 255.255.255.0

No shutdown

Exit

Interface loopback 0

Ip address 192.168.30.1 255.255.255.0

No shutdown

Exit

Interface loopback 1

Ip address 172.16.30.1 255.255.255.0

No shutdown

Exit

Router rip

Network 192.168.30.0

Network 172.16.30.0

Network 10.0.12.0

Exit

查看show配置:

使用show ip protocols查看路由协议信息

RIP路由协议实验_路由表_02

使用show IP route查看路由表

RIP路由协议实验_路由协议_03


在每台IOU上关闭路由汇总功能,并提升RIP版本

Router rip

Version 2

No auto-summary

Exit

再次使用show IP route查看路由表

RIP路由协议实验_路由表_04

使用show ip protocols查看路由协议信息

RIP路由协议实验_路由协议_05