[LARTC] VQs in Gred!

2004-12-28 Thread Zhenyu Wu
Hello, We know, VQs are used in Gred to offer different schedulers, in order to make clear what the VQs are, I have read the sch_gred.c in net/sched/. In the function gred_enqueue(), at first it will find the VQ(q) according to the lower four bits of the skb->tc_index, then some parameters of t

Re: [LARTC] Weighted packet shaping?

2004-12-28 Thread Mark Williams (MWP)
> >Ok... > >Using your script gave the following (from 17:30 onwards): > > > >http://www.overclockers.com.au/~mwp/temp/tc-1hour-yours.png > > This is strange I just tested again and it works for me. > > http://www.jessingale.dsl.pipex.com/tc-speed-1.png > > Blue is lowest with rate 20kbit green

Re: [LARTC] Weighted packet shaping?

2004-12-28 Thread Andy Furniss
Mark Williams (MWP) wrote: Ok... Using your script gave the following (from 17:30 onwards): http://www.overclockers.com.au/~mwp/temp/tc-1hour-yours.png This is strange I just tested again and it works for me. http://www.jessingale.dsl.pipex.com/tc-speed-1.png Blue is lowest with rate 20kbit green n

Re: [LARTC] htb and iptables marked packets question

2004-12-28 Thread Francisco Pereira
Hi. Felipe Ceglia wrote: Hi folks, I have a strange situation. When I add branches to the tree, everything goes to the default class. The error might be obvious, but I cannot find it. I would really appreciate your help. I think it's the expected behaviour. this works, nothing goes to "1:": p

Re: [LARTC] htb and iptables marked packets question

2004-12-28 Thread Stef Coene
On Monday 27 December 2004 16:27, Felipe Ceglia wrote: > Hi folks, > > I have a strange situation. When I add branches to the tree, everything > goes to the default class. > The error might be obvious, but I cannot find it. I would really appreciate > your help. > MARK set 0x1c This is in hex. P

Re: [LARTC] failover strategies - failing open vs. failing closed.

2004-12-28 Thread Stef Coene
On Tuesday 28 December 2004 14:29, Kelly Jeglum wrote: > I'd like to setup a box with 2 NICs as a firewall which will also rate > limits outbound traffic. What happens when/if that box hangs or is > rebooted? > > I'd like a solution that when there is a failure, traffic can still go > through the

Re: [LARTC] Newb question: tc shedulers on 2 interfaces

2004-12-28 Thread Stef Coene
On Tuesday 28 December 2004 18:46, Patrich Björklund wrote: > Hi all! I'm new to this list, and hope for some clarity in this matter: > > I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My > following tc syntaxes. > > # eth0 internet scheduleing are: > > tc qdisc add dev eth0 root

[LARTC] Newb question: tc shedulers on 2 interfaces

2004-12-28 Thread Patrich Björklund
Hi all! I'm new to this list, and hope for some clarity in this matter: I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My following tc syntaxes. # eth0 internet scheduleing are: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb

Re: [LARTC] failover strategies - failing open vs. failing closed.

2004-12-28 Thread Francisco Pereira
Mensaje citado por Kelly Jeglum <[EMAIL PROTECTED]>: > I'd like to setup a box with 2 NICs as a firewall which will also rate > limits outbound traffic. What happens when/if that box hangs or is > rebooted? > > I'd like a solution that when there is a failure, traffic can still go > through the b

[LARTC] Simple case here!

2004-12-28 Thread Amit Vyas
Hi All, I want to setup a machine to connect to internet at a limited rate of 64 kbps. That machine is connected to a switch. so my LAN and Internet both comes from the same eth0. How can I limit only the internet access from this machine to 64kbps and still using 100mbps for LAN I am trying to

Re: [LARTC] failover strategies - failing open vs. failing closed.

2004-12-28 Thread Amit Vyas
Hi All, I want to setup a machine to connect to internet at a limited rate of 64 kbps. That machine is connected to a switch. so my LAN and Internet both comes from the same eth0. How can I limit only the internet access from this machine to 64kbps and still using 100mbps for LAN I am trying to

[LARTC] failover strategies - failing open vs. failing closed.

2004-12-28 Thread Kelly Jeglum
I'd like to setup a box with 2 NICs as a firewall which will also rate limits outbound traffic. What happens when/if that box hangs or is rebooted? I'd like a solution that when there is a failure, traffic can still go through the box even though the firewall and rate limiting functions will no l

[LARTC] htb and iptables marked packets question

2004-12-28 Thread Felipe Ceglia
Hi folks, I have a strange situation. When I add branches to the tree, everything goes to the default class. The error might be obvious, but I cannot find it. I would really appreciate your help. this works, nothing goes to "1:": ##

Re: [LARTC] Weighted packet shaping?

2004-12-28 Thread Mark Williams (MWP)
> Mark Williams (MWP) wrote: > > >> > >>Are you sure that FTP is going to class 22 and not default - > >> > >>tc -s qdisc ls dev $INTERFACE or tc -s class ls dev $INTERFACE will show > >>counters. > > > > > >I am. I graph using "tc -s qdisc show dev ppp0" with rrdtool. > > Ahh, I assume you patc