1、搭建
首先在GNS上用c3600搭建这样一个图,运行通
2、配置IP
R1
conf t //R1
int f0/0
ip add 192.168.12.1 255.255.255.0
no shutdown
R2
conf t
int f0/0
ip add 192.168.12.2 255.255.255.0
no shutdownint f0/1
ip add 192.168.23.2 255.255.255.0
no shutdown
R3
conf t
int f0/0
ip add 192.168.23.3 255.255.255.0
no shutdown
3、配置路由协议
R1
router rip //R1(config)#
network 192.168.12.0
R2
router rip
network 192.168.12.0
network 192.168.23.0
R3
router rip
network 192.168.23.0
4、测试
从R1处pingR3的接口,成功ping通