左边路由器:
system-view
sysname r1
interface gi 0/0
ip address 10.1.1.1 30
quit
interface lo0
ip address 192.168.10.1 24
ip route-static 172.16.1.0 24 10.1.1.2
ip route-static 10.1.1.4 30 10.1.1.2
中间路由器:
system-view
sysname r2
interface gi 0/0
ip address 10.1.1.2 30
quit
interface gi 0/1
ip address 10.1.1.5 30
ip route-static 192.168.10.0 24 10.1.1.1
ip route-static 172.16.1.0 24 10.1.1.6
右边路由器:
system-view
sysname r3
interface gi 0/0
ip address 10.1.1.6 30
quit
interface lo0
ip address 172.16.1.1 24
ip route-static 192.168.10.0 2410.1.1.5
ip route-static 10.1.1.0 30 10.1.1.5
原文地址:https://www.cnblogs.com/wjssg12138/p/10894856.html
时间: 2024-11-10 19:24:41