
--
今早測試了,QoS的部分除了FQ之外,CAKE已沒問題.接著放心穩用好幾年.

--
今晚已更正.正確這樣改無誤.

--
/queue type
add cake-flowmode=dual-dsthost cake-nat=yes kind=cake name=cake-rx
add cake-flowmode=dual-srchost cake-nat=yes kind=cake name=cake-tx
/queue simple
add max-limit=100M/40M name=cake-QoS queue=cake-rx/cake-tx target=\
pppoe-out1
--
/ip firewall filter
add action=fasttrack-connection chain=forward comment=Fasttrack \
connection-state=established,related hw-offload=yes
/queue type
add cake-flowmode=dual-dsthost cake-nat=yes kind=cake name=cake-rx
add cake-flowmode=dual-srchost cake-nat=yes kind=cake name=cake-tx
/queue tree
add bucket-size=0.01 max-limit=100M name=download packet-mark=no-mark \
parent=bridge1 queue=cake-rx
add bucket-size=0.01 max-limit=40M name=upload packet-mark=no-mark \
parent=pppoe-out1 queue=cake-tx
--
則FQ_Codel如下:
--
/queue type
add fq-codel-limit=1000 fq-codel-quantum=300 fq-codel-target=12ms \
kind=fq-codel name=fq_codel
/queue simple
add max-limit=100M/40M name=fq-codel-QoS queue=fq_codel/fq_codel target=\
pppoe-out1
--
/ip firewall filter
add action=fasttrack-connection chain=forward comment=Fasttrack \
connection-state=established,related hw-offload=yes
/queue type
add fq-codel-limit=1000 fq-codel-quantum=300 fq-codel-target=12ms \
kind=fq-codel name=fq_codel
/queue tree
add bucket-size=0.01 max-limit=100M name=fq_codel-rx packet-mark=no-mark \
parent=bridge1 queue=fq_codel
add bucket-size=0.01 max-limit=40M name=fq_codel-tx packet-mark=no-mark \
parent=pppoe-out1 queue=fq_codel
--
結論就是用FQ_Codel比較妥當.若真要用CAKE,我個人建議這樣改.如下:
/queue type
add cake-flowmode=dual-dsthost cake-nat=yes kind=cake name=cake-rx
add cake-flowmode=dual-srchost cake-nat=yes kind=cake name=cake-tx
/queue simple
add dst=pppoe-out1 max-limit=40M/100M name=cake-QoS queue=\
cake-tx/cake-rx target=192.168.88.0/24
人品是做人最好的底牌.
內文搜尋

X