Re: [LARTC] why so fast?

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 14 May 2003 12:02, sun reflex4 wrote:
> Hi Stef,
> is class 1:1 really a non-leaf class? It doesn't have any children.
Oops.  Indeed.
But you better create 1 root class and add 1:1 and 1:19 to that root class.
 
> I know your site, and actually it is the place, where I lerned all this
> stuff :)
Ok :)

> >    tc qdisc add dev eth0 root handle 1: htb default 19
> >
> >   tc class add dev eth0 parent 1: classid 1:1 htb rate 10bps ceil 10bps
> >   tc class add dev eth0 parent 1: classid 1:19 htb rate 15bps ceil 15bps
> >
> >   tc filter add dev eth0 parent 1: protocol ip handle 1 fw classid 1:1
> >
> >   iptables -t mangle -A OUTPUT -d 192.168.0.11 -j MARK --set-mark 1
> >#Compter B has ip 192.168.0.11
Can you check to see the tc counters to make sure the packets are ending in 
the class you want?

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