tc qdisc del dev ethx root
tc qdisc add dev ethx root handle 1: htb
tc class add dev ethx parent 1: classid 1:1 htb rate 30kbps
tc filter add dev ethx parent 1: prio 0 protocol ip handle 1 fw flowid 1:1
On Tue, 27 Jul 2004 20:07:37 -0400, nix4me <nix4me@cfl.rr.com>
wrote:> Hi,
>
> I am trying to figure out how to shape the following marked packets and
> limit them to a speed on 30KBytes. I have read the documentation but I
> am unsue of what to do.
>
> iptables -t mangle -A FTP-OUT -p tcp --dport 50000:51000 -j MARK
> --set-mark 1
>
> Mark
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/