Router0:配置
Router0>en
Router0#conf t
Router0(config)#int f0/0
Router0(config-if)#ip 敏册谨姿枝add 192.168.1.254 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#int f0/1
Router0(config-if)#ip add 172.139.23.1 255.255.255.0
Router0(config-if)#no sh
Router0(config)#ip route 168.30.0.0 255.255.0.0 172.30.23.2
Router0(config)#interface FastEthernet0/1
Router0(config-if)#ip address 172.30.23.1 255.255.255.0
router1:配置
Router1>en
Router1#conf t
Router1(config)#int f0/1
Router1(config-if)#ip add 168.30.23.254 255.255.0.0
Router1(config-if)#int 桥基f0/0
Router1(config-if)#ip add 172.30.23.2 255.255.255.0
Router1(config-if)#no sh
Router1(config)#ip route 192.168.1.0 255.255.255.0 172.30.23.1
Router1(config)#int f0/1
Router1(config-if)#ip add 168.30.23.254 255.255.0.0
Router1(config-if)#no sh