标签:gate ado 技术分享 ima int 图片 netmask process water
思科模拟器中配置静态路由:
pc1:
ip: 10.10.30.10
netmask: 24
gateway: 10.30.10.1
pc2:
ip: 10.10.40.10
netmask: 24
gateway: 10.30.40.1
Router1:
f0/0: 10.10.10.1/24
f0/1: 10.10.20.1/24
Router2:
f0/0: 10.10.10.2/24
f0/1: 10.10.30.1/24
Router3:
f0/0: 10.10.20.2/24
f0/1: 10.10.40.1/24
Router1配置:
> en
# conf t
# int f0/0
# ip ad 10.10.10.1 255.255.255.0
# no sh
# int f0/1
# ip ad 10.10.20.1 255.255.255.0
# no sh
# e
# ip route 10.10.30.0 255.255.255.0 10.10.10.2
# ip route 10.10.40.0 255.255.255.0 10.10.20.2
Router2配置:
> en
# conf t
# int f0/0
# ip ad 10.10.10.2 255.255.255.0
# no sh
# int f0/1
# ip ad 10.10.30.1 255.255.255.0
# no sh
# e
# ip route 10.10.20.0 255.255.255.0 10.10.10.1
# ip route 10.10.40.0 255.255.255.0 10.10.10.1
Router3配置:
> en
# conf t
# int f0/0
# ip ad 10.10.10.2 255.255.255.0
# no sh
# int f0/1
# ip ad 10.10.30.1 255.255.255.0
# no sh
# e
# ip route 10.10.10.0 255.255.255.0 10.10.20.1
# ip route 10.10.30.0 255.255.255.0 10.10.20.1
CSDN原文链接:https://blog.csdn.net/qq_34889607/article/details/86529755
标签:gate ado 技术分享 ima int 图片 netmask process water
原文地址:http://blog.51cto.com/14037369/2343934