找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: jia_ok

[其它] 是时候关帖了

  [复制链接]
发表于 2010-10-23 12:47:27 | 显示全部楼层
太夸张
routeros
回复

使用道具 举报

发表于 2010-10-23 12:59:30 | 显示全部楼层
怀疑的很啊~
routeros
回复

使用道具 举报

发表于 2010-10-23 13:17:24 | 显示全部楼层
看看
routeros
回复

使用道具 举报

发表于 2010-10-23 14:21:15 | 显示全部楼层
虾米啊
routeros
回复

使用道具 举报

发表于 2010-10-23 14:40:05 | 显示全部楼层
登陆~登陆 不错 不错~~~~~
routeros
回复

使用道具 举报

发表于 2010-10-23 15:02:58 | 显示全部楼层
偶是菜鸟 偶路过
routeros
回复

使用道具 举报

发表于 2010-10-23 15:31:15 | 显示全部楼层
路过
routeros
回复

使用道具 举报

发表于 2010-10-23 15:33:51 | 显示全部楼层
routeros
回复

使用道具 举报

发表于 2010-10-23 15:42:57 | 显示全部楼层
行不行啊
routeros
回复

使用道具 举报

发表于 2010-10-23 15:43:27 | 显示全部楼层
你就吹吧`~~
routeros
回复

使用道具 举报

 楼主| 发表于 2010-10-23 17:24:08 | 显示全部楼层
你信不信对我没影响,对你也没有损失。
routeros
回复

使用道具 举报

发表于 2010-10-23 20:08:26 | 显示全部楼层
呵呵要楼主的指导下,我试用感觉还不错,如果你ROS机器不错的话,就用DSCP之类,但如果CPU比较低的话用楼主这个是非常不错的,我加了一些HTB进去,我也发我的脚本出来让大家看看,请多多指教


/ip firewall filter
add action=drop chain=input comment=\
    "\BD\FB\D6\B9\CB\F9\D3\D0\B5\C4\CD\E2\B2\BF\C1\AC\BD\D3" disabled=no \
    src-address=!10.10.10.170-10.10.10.178
add action=drop chain=forward comment=\
    "\B6\AA\C6\FA\B7\C7\B7\A8\CA\FD\BE\DD\B0\FC" connection-state=invalid \
    disabled=no
add action=drop chain=forward comment=\
    "\CF\DE\D6\C6\C3\BF\B8\F6\D6\F7\BB\FATCP\C1\AC\BD\D3\CA\FD\CE\AA50\CC\F5" \
    connection-limit=50,32 disabled=no protocol=tcp
/ip firewall mangle
add action=change-mss chain=forward comment="" disabled=no new-mss=1440 \
    protocol=tcp tcp-flags=syn
add action=jump chain=prerouting comment=DNS disabled=no dst-port=53 \
    jump-target="\D7\EE\D3\C5\CF\C8\BC\B6" protocol=udp
add action=jump chain=prerouting comment=ping disabled=no jump-target=\
    "\D7\EE\D3\C5\CF\C8\BC\B6" protocol=icmp
add action=jump chain=prerouting comment="\D0\A1\B0\FC" connection-bytes=\
    0-128 disabled=no jump-target="\D3\CE\CF\B7" protocol=tcp
add action=jump chain=prerouting comment="\D0\A1\B0\FC" connection-bytes=\
    0-128 disabled=no jump-target="\D3\CE\CF\B7" protocol=udp
add action=jump chain=forward comment="ros\D4\B6\B3\CC" disabled=no \
    jump-target="\CD\F8\D2\B3" port=8291 protocol=tcp
add action=jump chain=prerouting comment="" content=.htm disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.php disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.png disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.html disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.cgi disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.xml disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.css disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.shtml disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.asp disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.js disabled=no dst-port=\
    80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.jsp disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.gif disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" content=.jpg disabled=no \
    dst-port=80 jump-target="\CD\F8\D2\B3" protocol=tcp
add action=jump chain=prerouting comment="" disabled=no dst-port=443 \
    jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" protocol=tcp
add action=jump chain=prerouting comment="" disabled=no dst-port=8000-8008 \
    jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" protocol=udp
add action=jump chain=prerouting comment="" content=.swf disabled=no \
    dst-port=80 jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" protocol=tcp
add action=jump chain=prerouting comment="QQ\CA\D3\C6\B5\C9\CF\B4\AB" \
    disabled=no jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" port=9000 protocol=udp
add action=jump chain=prerouting comment="QQ\CA\D3\C6\B5\C9\CF\B4\AB" \
    disabled=no jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" port=1433 protocol=tcp
add action=jump chain=prerouting comment="QQ\CA\D3\C6\B5\C9\CF\B4\AB" \
    disabled=no jump-target="\C1\C4\CC\EC\C8\ED\BC\FE" port=81 protocol=tcp
add action=jump chain=prerouting comment=p2p disabled=no jump-target=p2p p2p=\
    all-p2p
add action=jump chain=prerouting comment="\C6\E4\CB\FC\C9\CF\B4\AB" disabled=\
    no jump-target="\C6\E4\CB\FC"
add action=mark-packet chain="\C6\E4\CB\FC" comment="" disabled=no \
    new-packet-mark="\C6\E4\CB\FC" passthrough=no
add action=mark-packet chain=p2p comment="" disabled=no new-packet-mark=p2p \
    passthrough=no
add action=mark-packet chain="\C1\C4\CC\EC\C8\ED\BC\FE" comment="" disabled=\
    no new-packet-mark="\C1\C4\CC\EC\C8\ED\BC\FE" passthrough=no
add action=mark-packet chain="\CD\F8\D2\B3" comment="" disabled=no \
    new-packet-mark="\CD\F8\D2\B3" passthrough=no
add action=mark-packet chain="\D3\CE\CF\B7" comment="" disabled=no \
    new-packet-mark="\D3\CE\CF\B7" passthrough=no
add action=mark-packet chain="\D7\EE\D3\C5\CF\C8\BC\B6" comment="" disabled=\
    no new-packet-mark="\D7\EE\D3\C5\CF\C8\BC\B6" passthrough=no
routeros
回复

使用道具 举报

发表于 2010-10-23 20:09:13 | 显示全部楼层
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=450k name=queue1 parent=pppoe-out1 priority=1
/queue type
set default kind=pfifo name=default pfifo-limit=25
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=100
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 \
    sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 \
    red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=\
    5
add kind=pcq name=down pcq-classifier=dst-address pcq-limit=50 pcq-rate=\
    1000000 pcq-total-limit=1000
add kind=pcq name=up pcq-classifier=src-address pcq-limit=10 pcq-rate=60000 \
    pcq-total-limit=200
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
    0/0 max-limit=614k/6M name=PCQ parent=none priority=1 queue=up/down \
    target-addresses=10.10.10.0/24 total-queue=default-small
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue2 packet-mark="\D7\EE\D3\C5\CF\C8\BC\B6" parent=\
    queue1 priority=1 queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue3 packet-mark="\D3\CE\CF\B7" parent=queue1 \
    priority=2 queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue4 packet-mark="\CD\F8\D2\B3" parent=queue1 \
    priority=3 queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue5 packet-mark="\C1\C4\CC\EC\C8\ED\BC\FE" parent=\
    queue1 priority=4 queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue6 packet-mark=p2p parent=queue1 priority=7 \
    queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=350k name=queue7 packet-mark="\C6\E4\CB\FC" parent=queue1 \
    priority=8 queue=default-small
/queue interface
set lan queue=ethernet-default
set wan queue=ethernet-default
set pppoe-out1 queue=default
set bridge1 queue=default
set wlan1 queue=wireless-default
routeros
回复

使用道具 举报

发表于 2010-10-23 20:19:34 | 显示全部楼层
不要说15 用户了 就算是30用户  网页 QQ  完全有可能
但是 影视 就 ...  不要说全部IP同时PPS   就算是 5 IP 同时PPS 恐怕都有困难
routeros
回复

使用道具 举报

 楼主| 发表于 2010-10-23 20:45:33 | 显示全部楼层
回复 134# zaqxsw88888


   你的这个试了不错就用吧,但我看了你的PCQ和HTB有点先后不对,接口不对.好不好用是你自己的要求不同.
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-22 18:11 , Processed in 0.084600 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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