Search This Blog

Tuesday, July 19, 2005

Re: TBF queuing and tc question

LeVA wrote:
> Yes, unfortunately we have to use an external D-LINK router, instead of a
> linux based pc. That router does not have the capability to control bandwidth
> rates, that is why I have to do it on my machine.

Mark the packets going to the router in iptables with something like
'iptables -t mangle -A PREROUTING -i <interface> -d <ip_router> -j MARK
--set-mark 5' and just shape those...

A quite powerful trafshap solution built into debian is HTB-queues,
documentation is good at the official page
http://luxik.cdi.cz/~devik/qos/htb/

regards

Martin

--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

No comments: