找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4363|回复: 8

[限速] 100个q币。多线vlan接入,求客户机pppoe限速优化脚本

[复制链接]
发表于 2009-6-7 13:53:53 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 dalookda88 于 2009-6-7 14:34 编辑

ros是个2.927  4线ADSL,VLAN负载均衡.客户机全是PPPOE拔号。要求以下: [1]解决讯雷下载时打开网页慢的问题,网页和游戏优先。[2]限际客户机的带宽:空闲时段是80K/1.5M。繁忙时段是55K/750K.
VLAN.jpg Route List.jpg
lan:192.168.2.0/24
pool:10.10.10.0/24

繁忙时段是17-24
空闲时段是24-17
100个q币这样有诚意点。
本人是菜乌,希望会的朋友帮帮忙,qq号:381927614
routeros
发表于 2009-6-7 15:04:17 | 显示全部楼层
本帖最后由 WGHBOY 于 2009-6-7 15:09 编辑

很难达到要求,要不光纤就没人拉了,下面装个panabit就行了,求人也没用
routeros
回复

使用道具 举报

发表于 2009-6-7 15:30:39 | 显示全部楼层
做得挺不错,呵呵
routeros
回复

使用道具 举报

发表于 2009-6-7 15:48:14 | 显示全部楼层
诚意不是靠钱来横量的!!!!
解决讯雷下载时打开网页慢的问题?

/ queue typeset default name="default" kind=pfifo pfifo-limit=50set ethernet-default name="ethernet-default" kind=pfifo pfifo-limit=50set wireless-default name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514set synchronous-default name="synchronous-default" kind=red red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000set hotspot-default name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514add name="PCQ_Down" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000add name="PCQ_Up" kind=pcq pcq-rate=64000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000add name="default-small" kind=pfifo pfifo-limit=2000/ queue simpleadd name="PCQ_Main" target-address=192.168.1.0/24 dst-address=0.0.0.0/0 \interface=all parent=none direction=both priority=8 queue=PCQ_Up/PCQ_Down limit-at=0/0 \max-limit=512000/2000000 total-queue=default-small disabled=noadd name="Slow" target-address=192.168.1.0/24 dst-address=0.0.0.0/0 \interface=all parent=PCQ_Main packet-marks=mark_slow direction=both priority=8 \queue=PCQ_Up/PCQ_Down limit-at=0/0 max-limit=256000/1250000 total-queue=default-small \disabled=noadd name="Fast" target-address=192.168.1.0/24 dst-address=0.0.0.0/0 \interface=all parent=PCQ_Main packet-marks=mark_fast direction=both priority=1 \queue=PCQ_Up/PCQ_Down limit-at=0/0 max-limit=512000/2000000 total-queue=default-small \disabled=noadd name="Midd" target-address=192.168.1.0/24 dst-address=0.0.0.0/0 \interface=all parent=PCQ_Main packet-marks=mark_midd direction=both priority=5 \queue=PCQ_Up/PCQ_Down limit-at=0/0 max-limit=256000/2000000 total-queue=default-small \disabled=no/ ip firewall mangleadd chain=prerouting action=mark-packet new-packet-mark=mark_slow passthrough=yes comment="Mark All" disabled=noadd chain=prerouting protocol=tcp dst-port=8291 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="winbox" disabled=noadd chain=prerouting protocol=icmp action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="DNS" disabled=noadd chain=prerouting protocol=udp dst-port=53 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="" disabled=noadd chain=prerouting protocol=tcp dst-port=8139 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment=" " disabled=noadd chain=prerouting protocol=tcp dst-port=7709 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="" disabled=noadd chain=prerouting protocol=tcp dst-port=7711 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="" disabled=noadd chain=prerouting protocol=tcp dst-port=8601 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="" disabled=noadd chain=prerouting protocol=tcp dst-port=22220-22230 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="" disabled=noadd chain=prerouting protocol=udp dst-port=8000-8008 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="QQ" disabled=noadd chain=prerouting protocol=udp dst-port=27000-27100 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="games CS" disabled=noadd chain=prerouting protocol=tcp dst-port=443 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="games qq https " disabled=noadd chain=prerouting protocol=tcp dst-port=6020-6100 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="games zhengtu" disabled=noadd chain=prerouting protocol=tcp dst-port=9010-9020 action=mark-packet new-packet-mark=mark_fast passthrough=yes comment="games wendao" disabled=noadd chain=prerouting src-address=192.168.1.0/24 protocol=tcp dst-port=80 src-address-list=!src2 action=add-src-to-address-list address-list=src1 \address-list-timeout=3s comment="TimeOut1" disabled=noadd chain=prerouting src-address=192.168.1.0/24 protocol=tcp dst-port=80 action=add-src-to-address-list address-list=src2 address-list-timeout=3h \comment="TimeOut2" disabled=noadd chain=prerouting dst-address=192.168.1.1 protocol=tcp dst-port=9999 action=add-src-to-address-list address-list=handlimit address-list-timeout=1h \comment="        " disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.gif action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="AutoWeb80" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.jpg action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.htm action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.html action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.asp action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.aspx action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting protocol=tcp dst-port=80 content=.php action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=no  add chain=prerouting protocol=tcp dst-port=80 content=.swf action=add-dst-to-address-list address-list=web80 address-list-timeout=5m comment="" \disabled=noadd chain=prerouting dst-address-list=web80 aaction=mark-packet new-packet-mark=mark_midd passthrough=yes comment="AutoWeb80" disabled=noadd chain=prerouting src-address-list=web80 add chain=prerouting dst-address-list=web80 action=mark-packet new-packet-mark=mark_midd passthrough=yes comment="" disabled=noadd chain=prerouting dst-address-list=web80 action=mark-packet new-packet-mark=mark_midd passthrough=yes comment="" disabled=no
routeros
回复

使用道具 举报

发表于 2009-6-7 15:51:37 | 显示全部楼层
大哥,有诚意的就不要发那么乱,我也想看看
routeros
回复

使用道具 举报

 楼主| 发表于 2009-6-7 17:13:45 | 显示全部楼层
大哥~太乱了,看不明白。。。
routeros
回复

使用道具 举报

发表于 2009-6-7 17:56:18 | 显示全部楼层
多线平衡有几个致命点要注意的,否则一条满了,其它闲着
routeros
回复

使用道具 举报

发表于 2009-6-8 03:07:27 | 显示全部楼层
楼主不是普通人物,好复杂的东西呀。不然您分流吧……
routeros
回复

使用道具 举报

发表于 2009-6-8 06:36:57 | 显示全部楼层
迅雷和WEB浏览不好区分吧,即使用包大小也无法完美区分的,WEB浏览图片和FLASH基本都大包。打开图片和FLASH不快别人一样会觉得慢。PANABIT是不错的方案,就是要加个机器,呵呵
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-9 10:02 , Processed in 0.142899 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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