Google
  Web www.spinics.net

Re: Why does this script noet work (bandwidth, tc en u32)

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


On Tue, 19 Jun 2007, Frank Remetter wrote:

Hey,

# uplink
tc qdisc del dev eth1 root

tc qdisc add dev eth1 root handle 1: htb
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 1mbit ceil
10mbit tc filter add dev eth1 parent 1: protocol ip prio 1 u32 match
ip src 172.31.1.1 flowid 1:2

Could you elaborate on this? Which "other fifo qdisc" that maintains
statistics? Any hints on the right syntax?

i guess he is talking of e.g. sfq:
tc qdisc add dev eth1 parent 1:2 handle 2: sfq perturb 10

Yeah, that's what I meant. But forget I said it. According to the man page pfifo_fast "Does not maintain statistics and does not show up in tc qdisc ls." but I just noticed that it does so it doesn't make a difference.

Regards,
Mark.

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Bugtraq]     [Fedora Legacy]     [GCC Help]     [Yosemite News]     [Yosemite Photos]     [IP Tables]     [Netfilter Devel]     [Fedora Users]

Powered by Linux