cbq resp. "tc"
To |
czdebian-l zavinac debian bod cz |
From |
Miroslav Zajic <Zajsoft zavinac Zajsoft bod NET> |
Date |
Thu, 08 Apr 2004 13:24:38 -0000 |
User-agent |
Internet Messaging Program (IMP) 3.2.2 |
Zdravim,
jelikoz jsem potreboval dynamicky ovladat traffic shaper, tak jsem rozpitval
cbq.init(az pote sem si vsimnul parametru compile :o) ), ale mam drobny
problem, nedari ze mi vytvorene classy, handly & spol. pote kdyz jsou k
nepotrebe opet zrusit.
tc class add dev eth2 parent 1: classid 1:0002 cbq bandwidth 1000Mbit rate
128Kbit weight 13Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
tc qdisc add dev eth2 parent 1:0002 handle 0002 tbf rate 128Kbit buffer 10Kb/8
limit 15Kb mtu 1500
tc filter add dev $eth parent 1:0 protocol ip prio 100 u32 match ip dst
192.168.0.81 classid 1:0002
V manualu od "tc" se sice pravi o "del" a "remove" ale nejak se mi to
nepodarilo
zprovoznit.
Mirek Zajic - Zajsoft
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Partial thread listing: