找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2438|回复: 5

[其它] 两条相同是10M的光纤如何分流?

[复制链接]
发表于 2007-3-20 19:45:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
我是ros2.927的软路由,我们本来是1根10M的,现在老板又拉了条10M的,想用两根合用,一条带一半的机器(我们这到晚上电信会拉掉网线,就是不能上网,可是通宵是块肥肉怎能不吃呢),到晚上的时候切换到另一根不断网的光纤做通宵,我想请教高手怎么弄分流(两根都是电信)。
请求高手指教,小弟很菜高手大哥帮帮忙啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
routeros
发表于 2007-3-20 23:41:46 | 显示全部楼层
以为是斑竹提问

原来是1个 盗版的
routeros
回复

使用道具 举报

发表于 2007-3-26 15:41:19 | 显示全部楼层
偶可以帮你做,远程,,加偶QQ7147423,或发email:sspdcybj@qq.com给偶,偶帮你
routeros
回复

使用道具 举报

发表于 2007-3-26 16:16:02 | 显示全部楼层
先做标记
comment="huiduan"
mangle  action=prerouting src-address=192.168.1.x-192.168.1.xx mark-routing newmark=1IP段

comment="buduan"
mangle  action=prerouting src-address=192.168.1.x1-192.168.1.xx1 mark-routing newmark=2IP段
wan1=1.1.1.2 网关1.1.1.1   wan2=2.2.2.2 网关2.2.2.1 不掉线的.
做好后.     ip route 添加网关...
新建一个..把网关打上1.1.1.1  下面有一个mark 的.这里选 1ip段    comment="duang"
新建一个..把网关打上2.2.2.1  下面有一个mark 的.这里选 2ip段 commnet="bug"
这样就分流了..

ip route  gateway=2.2.2.1 comment=" 1111"  disable=yes


断线改别的网关的话.
在netwath host里打上会断线的网关...up    事件  up1   ,down   事件down1
再在script...
up1
/ip firewall mangle enable [find comment=huiduan]   把标记恢复
/ip firewall mangle enable [find comment=buduan]
ip route  enable [find comment=duang]
ip route  enable [find comment=bug]
/ip route disable [find comment=1111]   

down1
/ip firewall mangle disable [find comment=huiduan]   把标记去掉.
/ip firewall mangle disable [find comment=buduan]

ip route  disable [find comment=duang]
ip route  disable [find comment=bug]
/ip route enable [find comment=1111]   通过一条不会断的光纤上网.

这样看看行不行......

[ 本帖最后由 zerostudy 于 2007-3-26 16:18 编辑 ]
routeros
回复

使用道具 举报

发表于 2007-3-26 16:43:45 | 显示全部楼层
2.9.27 不需要弄检测的
直接加路由,把容易掉线的先加。
掉了,自动用后面的
恢复了,会自动接上。
routeros
回复

使用道具 举报

发表于 2007-3-29 21:30:28 | 显示全部楼层
换做我,,我就设个时间段......
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-6 23:54 , Processed in 0.068705 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表