I need someone to tell me what is the different here :
I did this :
Code: Select all
/ip firewall mangle
add action=mark-packet chain=postrouting comment=Ping disabled=no \
new-packet-mark=Ping passthrough=no protocol=icmp
/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=20000000/20000000 name=Ping packet-marks=Ping parent=none \
priority=1 queue=default-small/default-small total-queue=default-small
But, when the shaped client upload and reach his limit it doesn't work , ping time on gateway start to be messy!
it is Inverse proportion.
prerouting works when upload
postrouting works when download
Finally I had to make another mangle mark and simple queue with "prerouting" to get around !
But I wanna know what is difference , and where is my mistake ??