Page 1 of 1

How I Can Set ICMP Ping at Same Latency

Posted: Mon Nov 26, 2007 9:36 am
by ashraf
I want to Set ICMP Ping Stable and same for user when they giving Download. Because I saw when user Gave any download then Ping latency varied due to of His Limit bandwidth. So How I can assign same Ping latency during They using Full bandwidth. So Any One Can Suggest Me about this.

Re: How I Can Set ICMP Ping at Same Latency

Posted: Mon Nov 26, 2007 12:05 pm
by sergejs
Use mangle and queues.
Mangle to mark packets that belong to ICMP (pings), queues to set highest priority for ICMP traffic over other traffic (queue for ICMP priority=1 and queue for other traffic priority=8).

Re: How I Can Set ICMP Ping at Same Latency

Posted: Mon Nov 26, 2007 5:43 pm
by ashraf
Dear Sergejs,

I tried to follow ur Suggest Can U confirm me is it Ok which i Gaven Bellow. If Ok Then Rule not Worked. So If i Did wrong suggest me again


At Mangle =" chain=prerouting protocol=icmp action=mark-packet new-packet-mark=ICMP passthrough=no '

At queue Tree = " name="ICMP" parent=global-in packet-mark=ICMP limit-at=64000 queue=ethernet-default priority=1 max-limit=64000 burst-limit=0 burst-threshold=0 burst-time=0s '

Re: How I Can Set ICMP Ping at Same Latency

Posted: Mon Nov 26, 2007 7:53 pm
by t3rm
Make sure on mangle, you put ICMP on top of the rule you shape for your client.
Or make it the first in line.

Re: How I Can Set ICMP Ping at Same Latency

Posted: Tue Nov 27, 2007 4:49 am
by unlimitedme
sergejs,

can this scenario being applied in a bridge wireless networks?

thanks