Community discussions

MikroTik App
 
EngAMoktar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
Joined: Fri Aug 15, 2008 7:18 pm

[Help] Mangle icmp prerouting & postrouting

Sat Apr 18, 2009 3:13 am

Hi all,
I need someone to tell me what is the different here :
I did this :
/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
for making ping non-shaping , so ping time on gateway should be normal like <1ms when the shaped client is downloading , it works fine
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 ??
 
EngAMoktar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
Joined: Fri Aug 15, 2008 7:18 pm

Re: [Help] Mangle icmp prerouting & postrouting

Mon Apr 20, 2009 3:40 pm

up
 
User avatar
taglio
Frequent Visitor
Frequent Visitor
Posts: 99
Joined: Wed Nov 12, 2008 4:55 pm
Location: Redama, Barcelona, Spain
Contact:

Re: [Help] Mangle icmp prerouting & postrouting

Tue Apr 21, 2009 11:44 am

prerouting works when upload
postrouting works when download

It's sure???

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot] and 47 guests