100个q币。多线vlan接入,求客户机pppoe限速优化脚本
本帖最后由 dalookda88 于 2009-6-7 14:34 编辑ROS是个2.9274线ADSL,VLAN负载均衡.客户机全是PPPOE拔号。要求以下: 解决讯雷下载时打开网页慢的问题,网页和游戏优先。限际客户机的带宽:空闲时段是80K/1.5M。繁忙时段是55K/750K.
lan:192.168.2.0/24
pool:10.10.10.0/24
繁忙时段是17-24
空闲时段是24-17
100个q币这样有诚意点。
本人是菜乌,希望会的朋友帮帮忙,qq号:381927614 本帖最后由 WGHBOY 于 2009-6-7 15:09 编辑
很难达到要求,要不光纤就没人拉了,下面装个panabit就行了,求人也没用 做得挺不错,呵呵 诚意不是靠钱来横量的!!!!
解决讯雷下载时打开网页慢的问题?
/ 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=noadd 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 大哥,有诚意的就不要发那么乱,我也想看看 大哥~太乱了,看不明白。。。 多线平衡有几个致命点要注意的,否则一条满了,其它闲着 楼主不是普通人物,好复杂的东西呀。不然您分流吧…… 迅雷和WEB浏览不好区分吧,即使用包大小也无法完美区分的,WEB浏览图片和FLASH基本都大包。打开图片和FLASH不快别人一样会觉得慢。PANABIT是不错的方案,就是要加个机器,呵呵
页:
[1]