Hi

I'm trying to configure simple traffic control using TBF. I actually had
it working in my old computer (which died last week) using kernel 2.6.x
but when I try to configure it with 2.6.14, I get no results.

I configured all the kernel options needed to run this (according to the
howto in the iproute2 page:
http://snafu.freedom.org/linux2.2/iproute-notes.html#syntcqtbf)

coltrane linux # grep CONFIG_NET_ESTIMATOR .config
CONFIG_NET_ESTIMATOR=y
coltrane linux # grep CONFIG_NET_SCH_TBF .config
CONFIG_NET_SCH_TBF=m
coltrane linux # grep CONFIG_NET_SCHED .config
CONFIG_NET_SCHED=y
coltrane linux # grep CONFIG_NET_QOS .config
CONFIG_NET_QOS=y

I loaded the sch_tbf kernel module:
coltrane linux # lsmod | grep tbf
sch_tbf                 5504  0

and I get the following result:

coltrane linux # tc qdisc show
qdisc pfifo_fast 0: dev eth0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev ppp0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
coltrane linux # # tc qdisc add dev ppp0 root tbf rate 85kbit latency
50ms burst 1540
coltrane linux # tc qdisc show
qdisc pfifo_fast 0: dev eth0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev eth3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev ppp0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1

The second "show" command should reflect the changes I've made but it
doesn't. also I see nothing in the logs.

any ideas?

Bye
-- 
Haim

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to