实验拓扑
实验配置
R1(config)#interface f0/0
R1(config-if)#ip ad
R1(config-if)#ip address 172.168.1.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#no shutdown
R1(config-if)#interface f0/1
R1(config-if)#ip address 172.168.2.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#no shutdown
R2(config)#interface f0/0
R2(config-if)#ip add
R2(config-if)#ip address 172.168.3.1 255.255.255.0
R2(config-if)#no shu
R2(config-if)#no shutdown
R2(config-if)#interface f0/1
R2(config-if)#ip address 172.168.2.2 255.255.255.0
R2(config-if)#no shu
R2(config-if)#no shutdown
R2(config-if)#interface s0/0/0
R2(config-if)#ip address 202.112.10.1 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R3(config)#interface f0/0
R3(config-if)#ip ad
R3(config-if)#ip address 59.64.128.1 255.255.255.0
R3(config-if)#no shu
R3(config-if)#no shutdown
R3(config-if)#interface s0/0/0
R3(config-if)#ip address 202.112.10.2 255.255.255.252
R3(config-if)#no shu
R3(config-if)#no shutdown
R1(config)#router rip
R1(config-router)#passive-interface f0/0
R2(config-router)#passive-interface f0/0
R1(config-router)#network 172.168.1.0
R1(config-router)#network 172.168.2.0
R2(config)#router rip
R2(config-router)#net
R2(config-router)#network 172.168.2.0
R2(config-router)#network 172.168.3.0
R2(config)#ip route 0.0.0.0 0.0.0.0 202.112.10.2
R3(config)#ip route 0.0.0.0 0.0.0.0 202.112.10.1
R3(config)#