Re: [LARTC] Shaping only the interface bandwith

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 20 May 2003 01:01, Osgaldo Suanzes wrote:
> Hi again.
>
>     Sorry for bugging you so much!
>     But Im unable to add ESFQ to a HTB Class.
>
>     #tc qdisc add dev eth1 root handle 1: htb
>     #tc class add dev eth1 parent 1:  classid 1:1 htb rate 512kbit ceil
> 512kbit burst 2k
Remove the burst parameter so htb calculates the minimum burst for you.  2k is 
too low for burst.

>     #tc qdisc add dev eth1 parent 1:1 handle 10: esfq
>
>     The last line "is" probably completly Wrong!(dont know about the
> others) But I cant find an example on the net for this.
I think the line is ok.  Did you get any errors ?

>     I maybe need to add a filter, but how? and without matching Ip
> addresses.
If you want to put all traffic in 1:1 you can add default 1 if you add the htb 
qdisc.  This will redirect all non-classified traffic to clas 1:1.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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