[LARTC] Deleting queueing discipline on the fly: what happens to packetsstill in the buffer?

2003-01-22 Thread Emmanuel Guiton
Hei! I have to write an application which will modify classes' parameters and queueing disciplines on the fly. But I do not want to loose any packet. Therefore I wonder how tc manages with queued packets while deleting a class. Are the packets deleted or are they first sent and the queue is

Re: [LARTC] how to determine tcp rate classifying packet info

2003-01-22 Thread Jesper Kold-Hansen
Well red the doc on the cues. I know on the HTB que, there is a rate and a coil setting. The rate is the rate at wich the packegges are sendt in kbyte, and the coil is a burst funktion, so if you set the coil and the rate at the same speed you vil get a specifik rate that your packagges are send.

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Catalin BOIE
I have a 2 tree configuration. Here is an example script: #!/bin/bash tc=/sbin/tc $tc qdisc del dev eth0 root $tc qdisc add dev eth0 root handle 1: htb default 30 $tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit $tc class add dev eth0 parent 1:1 classid 1:10 htb rate 40Mbit

[LARTC] [BUG?] hashes - prio is not respected

2003-01-22 Thread Catalin BOIE
Hello! Seems that if I add two filters in a hash node, prio doesn't matter anymore. It's a known bug? Long story: If I do this: echo ** jumptables... echo *** 800: link 1: $tc filter add dev $dev parent 1: prio 1 u32 match ip nofrag hashkey mask 0xff00 at 16 link 1: echo

[LARTC] Configuring a redundant ethernet connection

2003-01-22 Thread Doug Kingston
I am interested in setting up a host with dual ethernet connections to the same IP subnet (but different switches) for redundancy. We need reasonably transparent failover if an interface fails. In studying the existing HOWTO documents and other stuff produced by Google, it looks like the

Re: [LARTC] Configuring a redundant ethernet connection

2003-01-22 Thread Martin A. Brown
Doug, : I am interested in setting up a host with dual ethernet connections to : the same IP subnet (but different switches) for redundancy. We need : reasonably transparent failover if an interface fails. Linux supports channel bonding which should do what you want. There is little

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Stef Coene
Thanks for your answers. Indeed after digging more into documentation (the docum.org one is great) we got more less logs. But our logs werent flooded with quantum related messages but with that kernel assertion thing. If nobody cant help me here Ill try to contact Mr Martin Devera directly. So

Re: [LARTC] Configuring a redundant ethernet connection

2003-01-22 Thread Jose Luis Domingo Lopez
On Wednesday, 22 January 2003, at 10:07:32 -0600, Martin A. Brown wrote: : I am interested in setting up a host with dual ethernet connections to : the same IP subnet (but different switches) for redundancy. We need : reasonably transparent failover if an interface fails. Linux supports

Re: [LARTC] HTB flooding my kernel logs

2003-01-22 Thread Mihai RUSU
Hi Stef On Wed, 22 Jan 2003, Stef Coene wrote: So the quantum errors are gone? Yes, thanks again for the tips Help ? :) A htb qdisc attached to a htb class is useless and will only eat cpu cycles. Stef What do you mean ? They seem to work just fine. Im no interested in any effect

[LARTC] throttle

2003-01-22 Thread Vipul Ved Prakash
Hi Folks, I just released throttle, a high-level interface to tc I wrote a couple of years ago. It's available from http://vipul.net/code.html#throttle I wrote this for a plug-n-play traffic shaping device I built at an ISP I was working with at that time and haven't had the opportunity to work