华为路由电信网通双线接入(十六问题之三)

来源:百度知道 编辑:UC知道 时间:2024/06/01 18:23:55
光纤双线接入,固定IP各一个,网吧PC数量300台,电信IP为59.44.X.12 MASK255.255.255.248 gateway 59.44.X.129 DNS 59.44.X.200
网通IP为202.119.X.100 255.255.255.0 gateway 202.119.X.254 DNS 202.96.64.68,路由双WAN,一LAN,求三百台机器合理配置!只要路由的!
谢绝抄袭,谢绝复制粘贴,分只给有能力者!!
我是只想把我的分送给有能力者,华为的路由命令一样的你可以选择任一型号,但得能实现这个功能的

你这个主要就是负载分担这比较困难。
#
interface ethernet 0/0
de dianxin-wan
ip address 59.44.x.12 255.255.255.248
nat out 3000
#
interface ethernet 0/1
de wangtong-wan
ip address 202.119.x.100 255.255.255.0
nat out 3000
#
interface ethernet 0/0
de neiwang-lan
ip address 192.168.0.1 255.255.0.0
#
acl num 3000
rule per ip sou 192.168.0.0 0.0.255.255
#

以下是负载分担的 可能比较多

定义监测组,分别监测电信和网通网关:
进入系统视图,创建detect-group 1,监测电信网关:
<Quidway>system
System View: return to User View with Ctrl+Z.
[Quidway] detect-group 1
[Quidway-detect-group-1]
[Quidway-detect-group-1]detect-list 1 ip address 59.44.X.129
[Quidway-detect-group-1]quit

创建detect-group 1,监测网通网关:
[Quidway]detect-group 2
[Quidway-detect-group-2]detect-list 1 ip address 202.119.X.254
[Quidway-detect-group-2]quit
[Quidway]

2.2 配置两条默认路由互为备份