争怎路由网:是一个主要分享无线路由器安装设置经验的网站,汇总WiFi常见问题的解决方法。

eNSP浮动静态路由(ensp浮动静态路由及负载均衡)

时间:2024/11/30作者:未知来源:争怎路由网人气:


拓扑图

1、配置各个设备的IP地址。


PC1


PC2

AR1:

system-view

[Huawei]interface GigabitEthernet 0/0/2

[Huawei-GigabitEthernet0/0/2]ip address 192.168.1.254 24

[Huawei-GigabitEthernet0/0/2]interface GigabitEthernet 0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 100.100.1.1 24

[Huawei-GigabitEthernet0/0/1]interface GigabitEthernet 0/0/0

[Huawei-GigabitEthernet0/0/0]ip address 150.150.1.1 24

[Huawei]ip route-static 192.168.2.0 24 100.100.1.2

[Huawei]ip route-static 192.168.2.0 24 150.150.1.2 preference 70 //配置静态浮动路由



AR2:

system-view

[Huawei]interface GigabitEthernet 0/0/0

[Huawei-GigabitEthernet0/0/0]ip address 150.150.1.2 24

[Huawei]interface GigabitEthernet 0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 10.20.1.1 24

[Huawei]ip route-static 192.168.1.0 24 150.150.1.1

[Huawei]ip route-static 192.168.2.0 24 10.20.1.2

AR3:

system-view

[Huawei]interface GigabitEthernet 0/0/0

[Huawei-GigabitEthernet0/0/0]ip address 10.20.1.2 24

[Huawei-GigabitEthernet0/0/0]interface GigabitEthernet 0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 100.100.1.2 24

[Huawei-GigabitEthernet0/0/1]interface GigabitEthernet 0/0/2

[Huawei-GigabitEthernet0/0/2]ip address 192.168.2.254 24

[Huawei]ip route-static 192.168.1.0 24 100.100.1.1

[Huawei]ip route-static 192.168.1.0 24 10.20.1.1 preference 70


PC跟着路由



关键词:eNSP浮动静态路由(ensp浮动静态路由及负载均衡)




Copyright © 2012-2018 争怎路由网(http://www.zhengzen.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版