Re: [LARTC] cbq ip range?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 07, 2001 at 12:10:53PM -0300, billy wrote:
> What do you meen for "same flowid"?
> and is there a cbq-howto? if it is, where can I find it?

That's my setup:

tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth0 parent 10:0 classid 10:10 cbq bandwidth 100Mbit \
  rate 512kbit allot 1514 weight 100kbit prio 5 maxburst 1 avpkt 1000 bounded
tc qdisc add dev eth0 parent 10:10 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \
  ip src xxx.xxx.2.0/28 flowid 10:10
tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \
  ip src xxx.xxx.1.3 flowid 10:10

here xxx.xxx.1.3 is customers linux router/squid proxy, which also
generates traffic, as do their other addresses (.2.0/28).

flowid == classid, AFAIK.

This works for me. I don't know the correct wording for all this stuff, so
please bare with me ;-]

bye,

-- 
Borut
borut.mrak@xxxxxx
-----------------
Booze is the answer.  I don't remember the question.



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux