[LARTC] (no subject)

Edmund Turner eturner@monash.edu.my
Fri, 31 Oct 2003 13:10:55 +0800


Thanks Stef!!!
Regards
edmund

-----Original Message-----
From: Stef Coene [mailto:stef.coene@docum.org] 
Sent: Thursday, October 30, 2003 6:12 PM
To: eturner@monash.edu.my; lartc@mailman.ds9a.nl
Subject: Re: [LARTC] (no subject)

On Thursday 30 October 2003 06:51, Edmund Turner wrote:
> Hey everyone,
>
> I tried to mark traffic based on per subnet as to the usual per ip.
> Example:
> Tc class add dev eth0 parent 1:11 htb rate 400kbit ceil 500kbit prio4
> Tc filter add dev eth0 parent 1:0 protocol ip prio 7 u32 dst
> 192.168.0.0/24 classid 1:11
>
> After I enter this command, I did not get any errors.
> Does this mean that EACH IP belonging to that subnet will have a
maximum
> rate of 400kbit?
No.

> Or does it mean that ALL the IPs in that subnet have a total of
400kbit?
Yes.

Stef

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