拓扑如下:
配置静态路由,使得PC1可以ping通PC3。
R1:
interface Ethernet0/0/0ip address 124.16.8.1 255.255.255.0
#
interface Ethernet0/0/1ip address 110.69.70.1 255.255.255.0
#
#
ip route-static 172.16.3.0 255.255.255.0 Ethernet0/0/1 110.69.70.2
#
R2:
#
interface Ethernet0/0/0ip address 110.69.70.2 255.255.255.0
#
interface Ethernet0/0/1ip address 172.16.3.1 255.255.255.0
#
#
ip route-static 124.16.8.0 255.255.255.0 Ethernet0/0/0 110.69.70.1
#