要求
使用3个路由器组建一个网络,每个子网上的终端全网可达
拓扑结构
具体操作
R1
[R1]ip route-static 192.168.1.0 24 10.0.0.2
[R1]ip route-static 10.1.0.0 16 10.0.0.2
[R1]ip route-static 192.168.2.0 24 10.1.1.2
R2
[R2]ip route-static 192.168.0.0 24 10.0.0.1
[R2]ip route-static 192.168.2.0 24 10.1.1.2
R3
[R3]ip route-static 192.168.1.0 24 10.1.1.1
[R3]ip route-static 10.0.0.0 16 10.1.1.1
[R3]ip route-static 192.168.0.0 24 10.0.0.1
实验结果
pc1
pc2
pc3