59909 发表于 2011-1-9 12:20:50

:(:(:(

wszf1993 发表于 2011-1-24 00:39:48

学习下!

805333 发表于 2011-1-31 00:08:04

又是要回复的,哎

84068466 发表于 2011-3-15 16:43:58

又要回复?

y81891972 发表于 2011-3-20 22:54:50

感谢分享。。。。

y81891972 发表于 2011-3-20 22:55:56

没钱了:'):'):')

soilfish 发表于 2011-3-21 09:18:56

下回来看一下...

xp787 发表于 2011-4-1 11:11:05

ddddddddddddddddddddddddddddssss

fjfhgqjo66 发表于 2011-4-1 20:05:48

看看!学习一下啊

wanyy99999 发表于 2011-4-2 16:02:09

下来看看 看看

gdec2004 发表于 2011-5-26 10:26:01

先回复。 。 再下载。 。。

kingofsdtw 发表于 2011-6-10 16:30:01

感謝分享

~絕對要下的

kingofsdtw 发表于 2011-6-10 16:39:15

/ip firewall mangle

//preroute udp
add action=mark-packet chain=prerouting comment="\B7\C0UDP\B9\A5\BB\F7" \
    disabled=no dst-port=0-65535 new-packet-mark=udp passthrough=yes \
    protocol=udp

//preroute accept       
add action=accept chain=prerouting comment="\CD\E2\BD\D3\CF\DE\CB\D9" \
    connection-mark=nolimit disabled=no

//preroute sr192.168.0.245/253 new-connection-mark=nolimit
add action=mark-connection chain=prerouting comment=\
    "\C5\C5\B3\FD\B7\FE\CE\F1\C6\F7\CF\DE\CB\D9" disabled=no \
    new-connection-mark=nolimit passthrough=yes src-address=\
    192.168.0.245-192.168.0.253

//preroute sr192.168.1.245/253       new-connection-mark=nolimit
add action=mark-connection chain=prerouting comment=\
    "\C5\C5\B3\FD\B7\FE\CE\F1\C6\F7\CF\DE\CB\D9" disabled=no \
    new-connection-mark=nolimit passthrough=yes src-address=\
    192.168.1.245-192.168.1.253

//forward p2p         new-connection-mark=p2pCOM
add action=mark-connection chain=forward comment="P2P\CF\DE\D6\C6" disabled=\
    no new-connection-mark=p2pCOM p2p=all-p2p passthrough=yes

//forward P2p new-packet-mark=p2p*passthrough=yes <--這行有點問題
add action=mark-packet chain=forward comment="P2P\CF\DE\D6\C6" \
    connection-mark=p2pCOM disabled=no new-packet-mark=p2p passthrough=yes
*
//dorward other        new-packet-mark=all-mark
add action=mark-packet chain=prerouting comment=\
    "\B1\EA\BC\C7\CB\F9\D3\D0\CA\FD\BE\DD\B0\FC" disabled=no new-packet-mark=all-mark passthrough=yes

kingofsdtw 发表于 2011-6-10 17:09:12

/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
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=PCQUP pcq-classifier=src-address pcq-limit=50 pcq-rate=\
    1000000 pcq-total-limit=2000
add kind=pcq name=PCQ49M pcq-classifier=dst-address pcq-limit=50 pcq-rate=\
    1000000 pcq-total-limit=2000
add kind=pcq name=PCQ45M pcq-classifier=dst-address pcq-limit=50 pcq-rate=\
    2800000 pcq-total-limit=2000
add kind=pcq name=PCQ35M pcq-classifier=dst-address pcq-limit=50 pcq-rate=\
    15000000 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10

/queue tree
//name p2pW packet-mark=p2p parent=wan
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
    2000000 max-limit=2000000 name=p2pW packet-mark=p2p parent=wan priority=8 \
    queue=default

//name name=p2pL packet-mark=p2p parent=Lan
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
    2000000 max-limit=2000000 name=p2pL packet-mark=p2p parent=Lan priority=8 \
    queue=default

       
//name=PCQUP packet-mark=all-mark parent=global-out max-limit=0 queue=PCQUP
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=0 name=PCQUP packet-mark=all-mark parent=global-out priority=8 \
    queue=PCQUP

//name PCQ35M packet-mark=all-markparent=global-in max-limit=0 queue=PCQ35M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=0 name=PCQDown35M packet-mark=all-mark parent=global-in \
    priority=8 queue=PCQ35M

//name=PCQDown45M packet-mark=all-mark parent=global-in max-limit=0 queue=PCQ45M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=yes limit-at=0 \
    max-limit=0 name=PCQDown45M packet-mark=all-mark parent=global-in \
    priority=8 queue=PCQ45M

//name=PCQDown49M packet-mark=all-mark parent=global-in max-limit=0 queue=PCQ49M
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=yes limit-at=0 \
    max-limit=0 name=PCQDown49M packet-mark=all-mark parent=global-in \
    priority=8 queue=PCQ49M

看不出切換35M/45M/49M差別在哪 Q_Q!

syhandwork 发表于 2011-10-13 13:47:56

下载看看。
页: 15 16 17 18 19 20 21 22 23 24 [25] 26 27
查看完整版本: ROS PCQ简单教程带代码/。2.X 3.X 4.X