Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Alejandro Bonilla <abonilla@linuxwireless.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Shaper...
Date: Fri, 01 Oct 2004 11:05:32 +0000	[thread overview]
Message-ID: <415D39FC.7010603@linuxwireless.org> (raw)

Hi,

    I'm trying shaper, 2.6.8 kernel, with almost all the QoS inherited 
in the kernel.
I have debian Sid, with latest everything, I could say.

I commented out CBQ_PROBE=" " to use Inherited kernel support.

Only problem is that the client, which is the test one, 192.168.10.10 
can still download at 100kb Per Second(My bandwidth)

router:~# cat /etc/shaper/cbq-160.down
DEVICE=eth0,100Mbit,10Mbit
RATE\x160Kbit
WEIGHT\x10Kbit
PRIO=5
RULE\x192.168.10.10

router:~# /etc/init.d/shaper compile
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 
1000 cell 8
/sbin/tc class change dev eth0 root cbq weight 10Mbit allot 1514

/sbin/tc class add dev eth0 parent 1: classid 1:160 cbq bandwidth 
100Mbit rate 160Kbit weight 10Kbit prio 5 allot 1514 cell 8 maxburst 20 
avpkt 1000 bounded
/sbin/tc qdisc add dev eth0 parent 1:160 handle 160 tbf rate 160Kbit 
buffer 10Kb/8 limit 15Kb mtu 1500
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match 
ip dst 192.168.10.10 classid 1:160

echo "shaper."

Starting CBQ traffic shaping: RTNETLINK answers: No such file or directory
shaper.


Thanks!!!
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2004-10-01 11:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=415D39FC.7010603@linuxwireless.org \
    --to=abonilla@linuxwireless.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox