静态路由
手动指定下一跳 格式: ip route-static [目标网段] [目标子网掩码] [下一跳]
配置IP地址 R1静态路由 ip route-static 192.168.30.0 24 192.168.20.2 ip route-static 192.168.40.0 24 192.168.20.2 R2静态路由 ip route-static 192.168.10.0 24 192.168.20.1 ip route-static 192.168.40.0 24 192.168.30.2 R3静态路由 ip route-static 192.168.20.0 24 192.168.30.1 ip route-static 192.168.10.0 24 192.168.30.1
PC1ping通PC2