马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
同样的配置,双线同网关的均衡不行,不同网关的行!但是我在VM里虚拟时同网关的可以的,换成真实的ADSL后就,这样了,同网关的不可以负载均衡,只有一条有流量还有一条好像有上传没下载. 但是不同网关的两条ADSL则可以负载均衡,配置都没有改,只是换了一条ADSL和ADSL的帐号.实在找不到问题了,请高手帮小弟看看,谢谢.
我在IP-ADDRESS里加了这个东东的address=network=broadcast 我头都搞大了,我这里只有一条ADSL的网关是不同的.详细的图和说明看请看附件的内容,谢谢
:set status [/interface get [/interface find
name=("pppoe-out" . $i)] running]
:set new-address [/ip address get [/ip address find dynamic=yes interface=("pppoe-out" . $i)] address]
:set new-address [:pick $new-address 0 ([:len $new-address] -3)]
:set assign-address [/ip address get [/ip address find dynamic=no interface=("pppoe-out" . $i)] address]
:set assign-address [:pick $assign-address 0 ([:len $assign-address] -3)]
:if ($assign-address != $new-address) do={ /ip address set [/ip address find dynamic=no interface=("pppoe-out" . $i)] address=$new-address network=$new-address broadcast=$new-address
/ip route set [/ip route find comment=$i] gateway=$new-address
/ip fir nat set [/ip fir nat find comment=$i] to-addresses=$new-address
:set Default-routing $new-address
/ip route set [/ip route find comment="Default-routing"] gateway=$new-address
PPPOE拨号设置我就不贴图了吧.两条ADSL的 “Add Default Route”前面的勾都去掉的.
[ 本帖最后由 luhong_1979 于 2008-4-29 12:22 编辑 ] |