找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3405|回复: 3

[策略设置] ROS3.2电信固定IP双线分流问题???

[复制链接]
发表于 2010-9-29 17:50:31 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 cuiyl888 于 2010-9-29 17:52 编辑

/ip address add address=192.168.1.250/255.255.255.0 interface=Lan comment=lan
/ip dns set primary-dns=218.30.19.40 secondary-dns=61.134.1.4 allow-remote-requests=yes
/ip firewall nat add action=masquerade chain=srcnat src-address=192.168.1.0/255.255.255.0
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1500
/ip address add address=10.10.10.10/255.255.255.252 interface=Wan1 comment="1"
/ip firewall mangle add chain=prerouting src-address=192.168.1.1-192.168.1.110 action=mark-routing new-routing-mark=1 comment=1
/ip route add gateway=10.10.10.11 routing-mark=1 comment=1
/ip address add address=20.20.20.20/255.255.255.240 interface=Wan2 comment="2"
/ip firewall mangle add chain=prerouting src-address=192.168.1.111-192.168.1.254 action=mark-routing new-routing-mark=2 comment=2
/ip route add gateway=20.20.20.21 routing-mark=2 comment=2



现在问题是Wan1正常,Wan2电信测速很慢,迅雷下载正常,IE下载也不行。请教各位大虾什么问题。好像Wan2自动限速了一样
routeros
 楼主| 发表于 2010-9-29 18:07:54 | 显示全部楼层
回复 1# cuiyl888


    刚才又tracert看了下Wan2跟踪不到路由。

未命名.jpg
routeros
回复

使用道具 举报

发表于 2010-9-30 10:15:24 | 显示全部楼层
錯誤太多了
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1500      <------改1440   1500是最大值理論上無法使用的

/ip firewall mangle add chain=prerouting src-address=192.168.1.1-192.168.1.110 action=mark-routing new-routing-mark=1 comment=1  passthrough=yes <--加這個後續處理動作

/ip route add gateway=10.10.10.11 routing-mark=1 comment=1
改成這樣--->add dst-address=0.0.0.0/0 gateway=10.10.10.11  comment="1"     check-gateway=ping  routing-mark=1

/ip address add address=192.168.1.250/255.255.255.0 interface=Lan comment=lan
192.168.1.250    <--改192.168.1.0  才能與這一段銜接啊 /ip firewall nat add action=masquerade chain=srcnat src-address=192.168.1.0/255.255.255.0

那個Wan-2的改法一樣..........!
routeros
回复

使用道具 举报

发表于 2010-9-30 11:36:23 | 显示全部楼层
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-7 02:34 , Processed in 0.057885 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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