Router0(config)#route rip
Router0(config-router)#network 192.168.1.0
Router0(config-router)#network 192.168.3.0 //Router0 直连的两个网络
Router1(config)#route rip
Router1(config-router)#network 192.168.2.0
Router1(config-router)#network 192.168.3.0 //Router0 直连的两个网络
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 192.168.3.2, 00:00:11, Serial2/0
C 192.168.3.0/24 is directly connected, Serial2/0
R 192.168.1.0/24 [120/1] via 192.168.3.1, 00:00:15, Serial2/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
C 192.168.3.0/24 is directly connected, Serial2/0