Re: [LARTC] strang htb message HTB: mindelay=2560,report it please!

2003-02-13 Thread Stef Coene
On Friday 14 February 2003 04:45, hm wrote: > hi all > i am getting the following message continuosly scrolling on my > console > > i have linux redhat 8.0 kernel 2.4.18-14 > > the message is > > HTB: mindelay=2560, report it please ! > > is there anyone who can tell me why its happening.

[LARTC] HOWTO correction re multiple uplinks/providers

2003-02-13 Thread Rod Roark
In section 4.2 the HOWTO describes creating new routing tables, like this: ip route add $P1_NET dev $IF1 src $IP1 table T1 ip route add default via $P1 table T1 ip route add $P2_NET dev $IF2 src $IP2 table T2 ip route add default via $P2 table T2 However these tables are incomplete. For example

RE: [LARTC] tcng and network processor

2003-02-13 Thread Chris Clark
I see that Bivio uses a network processor with TCNG, but I can't find any more details... There are no whitepapers on the website. Werner (or anyone else at Bivio), are you able to provide any details? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Chr

[LARTC] tcng and network processor

2003-02-13 Thread Chris Clark
I am considering a project to translate tcc output (C code or external interface) to network processor code, so that the NP can do the actual traffic shaping. I have a platform using the Intel IXP1200 NP on a PCI card, which functions as a NIC for the host PC running Linux. This approach would redu

Re: [LARTC] API using cbq / tc ?

2003-02-13 Thread mingching.tiew
I have yet uploaded fwstat-0.89 to http://www.geocities.com/mctiew/ffw/fwstat-0.89.tgz This version of fwstat supports collection and charting of tc class/qdisc and iptables firewall rules. A) For 'floppyfw', it is plug and play. Absolutely no configuration needed. Just copy 'fwstatp.bz2'

[LARTC] strang htb message HTB: mindelay=2560,report it please!

2003-02-13 Thread hm
hi all     i am getting the following message continuosly scrolling on my console   i have linux redhat 8.0 kernel 2.4.18-14   the message is   HTB: mindelay=2560, report it please !    is there anyone who can tell me why its happening. thanx in advance.   regds hm      

Re: [LARTC] quantum value for voip

2003-02-13 Thread Mathieu Deziel
Sorry, I sent it in HTML the first time. Here it is again in text format. To minimize latency, (which is probably what you want for voip traffic), give the class a high priority. Make sure it never reaches its configured rate. If it does, you will see that the latency increases. If you think it

Re: [LARTC] quantum value for voip

2003-02-13 Thread Mathieu Deziel
To minimize latency, (which is probably what you want for voip traffic), give the class a high priority. Make sure it never reaches its configured rate.  If it does, you will see that the latency increases. If you think it might reach its configured rate, than use a policing filter before the

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Brad Davidson
On Thu, 13 Feb 2003 at 11:46:55, Stef Coene wrote: > > I used htb.init (http://freshmeat.net/projects/htb.init/) to make my > rules, > > so I'm pretty sure they should be OK. > But still you can configure a class with a too low rate. I know. I've seen one error message in the past regarding a too

Re: [LARTC] Monitoring....

2003-02-13 Thread Ming-Ching Tiew
My suggestion is for you to do this, insert the 'filtering' rules into the INPUT/OUTPUT/FORWARD chains, eg iptables -I FORWARD -p tcp --dport 22 -j mychain iptables -I INPUT -p tcp -- -j mychain iptables -I OUTPUT -p udp -- -j mychain . and so on, and for mychain,

Re: [LARTC] two routes 1 network card

2003-02-13 Thread Martin A. Brown
Willy, : hey guys I have a situation here I have 1 network card with 2 diferrent : networks each with diferent speeds. What I want to do is have the : networks to work separately for some reason I can't get that to happend : for some reason it uses only the default network when I try either IP

Re: [LARTC] cbq and htb working together...

2003-02-13 Thread Michal Kustosik
On Thu, Feb 13, 2003 at 11:33:33PM +0100, Stef Coene wrote: > On Thursday 13 February 2003 22:55, Michal Kustosik wrote: > > Is it possible to use cbq and htb together on one dev? > > > > something like this: > > > > [...] > > $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000

Re: [LARTC] Monitoring....

2003-02-13 Thread Stef Coene
> Thanks Stef. > But I've tried to see your examples and all graphs are broken. There are > no images at all. Can you fix that??? http://home.docum.org/qos/snmp.html or do you mean an other page ? (http://home.docum.org/stef.coene/qos/gui/rrd.html is an old page that has indeed broken images). >

Re: [LARTC] cbq and htb working together...

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 22:55, Michal Kustosik wrote: > Is it possible to use cbq and htb together on one dev? > > something like this: > > [...] > $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 > > $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \

[LARTC] cbq and htb working together...

2003-02-13 Thread Michal Kustosik
Is it possible to use cbq and htb together on one dev? something like this: [...] $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \ rate 100Mbit weight 10Mbit prio 8 allot 1514 cell 8 maxburst 5 avp

Re: [LARTC] Monitoring....

2003-02-13 Thread Nelson Guedes Paulo Junior
On Thu, 13 Feb 2003, Stef Coene wrote: > On Thursday 13 February 2003 20:35, Nelson Guedes Paulo Junior wrote: > > On Thu, 13 Feb 2003, Stef Coene wrote: > > > On Thursday 13 February 2003 18:49, Nelson Guedes Paulo Junior wrote: > > > > Hi all, > > > > > > > > Just shape my connection isn't enoug

Re: [LARTC] routing C class with route2

2003-02-13 Thread Martin A. Brown
Martin, I am guessing that you are asking: Can an IP in a subnet defined on one interface can be used on a separate interface on the same linux box? The short answer is yes. : ip addr add 99.some.ip.198/32 dev eth0 (eth0 is the interface on witch : the IPs come in - the whole class) ip ad

Re: [LARTC] I need some help with u32 filter

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 14:24, Remus wrote: > Hello, > > This is my ADSL connection : > > ADSL 512k/256k > > | eth0 > > > > | Linux box aka fw | - > > > > | eth1 > > the firewall has smtp and pop3 servers running (I have no sp

Re: [LARTC] Monitoring....

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 20:35, Nelson Guedes Paulo Junior wrote: > On Thu, 13 Feb 2003, Stef Coene wrote: > > On Thursday 13 February 2003 18:49, Nelson Guedes Paulo Junior wrote: > > > Hi all, > > > > > > Just shape my connection isn't enough. I need to monitoring what's > > > happening, for

[LARTC] routing C class with route2

2003-02-13 Thread Tester
Here's the situation. My ISP routes all C class to specific IP ( that IP is from another class) and I got cisco router who has that IP on whitch all C class is routed. On the other port of the cisco router all IPs of this C class are awaliable. Some poor attempt to graphicaly show you.. ISP's ro

[LARTC] two routes 1 network card

2003-02-13 Thread Willy Alvarez
hey guys I have a situation here  I have 1 network card with 2 diferrent networks  each with diferent speeds. What I want to do is have the networks to work separately  for some reason I can't get that to happend for some reason it uses only the default network when I try either IP.  Please h

Re: [LARTC] Monitoring....

2003-02-13 Thread Nelson Guedes Paulo Junior
On Thu, 13 Feb 2003, Stef Coene wrote: > On Thursday 13 February 2003 18:49, Nelson Guedes Paulo Junior wrote: > > Hi all, > > > > Just shape my connection isn't enough. I need to monitoring what's > > happening, for example, I need to now if my users are downloading too > > much, if they are us

[LARTC] cbq+sfq and DSCP marking

2003-02-13 Thread Maria Joana Urbano
Hi, I am a little confused about traffic control at egress + DSCP marking. Suppose I have a home router and set three different traffic classes at the egress interface in a similar way to what wondershaper (cbq version) does: tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 10mbit

Re: [LARTC] Monitoring....

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 18:49, Nelson Guedes Paulo Junior wrote: > Hi all, > > Just shape my connection isn't enough. I need to monitoring what's > happening, for example, I need to now if my users are downloading too > much, if they are using too much ftp or if thei are ussing too much > SSH.

Re: [LARTC] API using cbq / tc ?

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 09:30, devik wrote: > > > in minutes resolution etc... > > > > Storing the value is no problem, but showing. If don't think it's such a > > good idea to refresh a webpage and relaod (and draw) the graphs on it > > each second. So rrd for long term overview, java (of VB

Re: [LARTC] API using cbq / tc ?

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 11:36, [EMAIL PROTECTED] wrote: > I know MRTG runs perl script to keep things working for all > platforms. My question is, does MRTG run C program ? > I last work on perl script some 5 years ago, almost forgotten > everything about perl script. Perl is easy. Download s

Re: [LARTC] Ingress

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 11:20, Andreas Wright wrote: > Hi, > > I was not able to install ingress qdisc as below > > tc qdisc add dev eth0 handle : ingress > > also tried tc qdisc add dev eth0 ingress > > Both cases it says invalid argument. > > What could be the problem ? Have you ingress

Re: [LARTC] quantum value for voip

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 17:00, Victor Cassar wrote: > Thanks Stef > > Yep i missunderstood the quantum concept (it´s clear > now), but since my voip class was configured with > enough bw this doesn´t matter > > Reading more on docum.org, i find hte possible cause > of the delays i was using sf

Re: [LARTC] prio qdisc problem

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 17:53, Esteban wrote: > Hello there, > I'm trying to do some prio qdisc, but it doesn't seem to work. > Can anybody tell me why ??? > here is my simple prio qdisc script: > > > > OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000" > IPTABLES="/usr/local

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Stef Coene
On Thursday 13 February 2003 10:34, Brad Davidson wrote: > On Thu, 13 Feb 2003 at 00:41:54, Stef Coene wrote: > > On Thursday 13 February 2003 08:10, Brad Davidson wrote: > > I had the same problem. I uncomment the DEFINE statement. But logging > > there numbers, means there is something miss wit

[LARTC] Monitoring....

2003-02-13 Thread Nelson Guedes Paulo Junior
Hi all, Just shape my connection isn't enough. I need to monitoring what's happening, for example, I need to now if my users are downloading too much, if they are using too much ftp or if thei are ussing too much SSH. Other things that are relevant are Media Streaming, MP3 Downloading and Web Tra

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Brad Davidson
On Thu, 13 Feb 2003 at 01:58:53, Brad Davidson wrote: > I'm looking at the code in htb_dump, which appears to be what's called to get > statistics information by the tc application. It looks to me like if you have > debug enabled, as part of the stats collecting routine, it calls htb_debug_dump >

[LARTC] multiple route tables dude, the packet travel.

2003-02-13 Thread Luis Miguel Cruz Miranda
I have here this configuration into a script: $ip rule add from 10.10.10.64/26 lookup 30 $ip rule add to 10.10.10.64/26 lookup 31 $ip route add 10.10.10.64/26 via 10.10.10.126 table 31 $ip route add 0.0.0.0/0 via 10.1.0.254 table 30 $ip rule add from 192.168.0.0/24 lookup 60 $ip rule add to 192.1

Re: [LARTC] quantum value for voip

2003-02-13 Thread Victor Cassar
Thanks Stef Yep i missunderstood the quantum concept (it´s clear now), but since my voip class was configured with enough bw this doesn´t matter Reading more on docum.org, i find hte possible cause of the delays i was using sfq (128p queue) on the leaf i removed sfq from the voip class I will t

[LARTC] prio qdisc problem

2003-02-13 Thread Esteban
Hello there, I'm trying to do some prio qdisc, but it doesn't seem to work. Can anybody tell me why ??? here is my simple prio qdisc script: OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000" IPTABLES="/usr/local/bin/iptables.static" INTERNAL=eth0 EXTERNAL=eth1 tc qdisc del

[LARTC] I need some help with u32 filter

2003-02-13 Thread Remus
Hello, This is my ADSL connection : ADSL 512k/256k | eth0 | Linux box aka fw | - | eth1 the firewall has smtp and pop3 servers running (I have no spare PC for email server, byt just for home use it is OK) Could somebody check my

Re: [LARTC] API using cbq / tc ?

2003-02-13 Thread mingching.tiew
I know MRTG runs perl script to keep things working for all platforms. My question is, does MRTG run C program ? I last work on perl script some 5 years ago, almost forgotten everything about perl script. - Original Message - From: "Stef Coene" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>;

[LARTC] Ingress

2003-02-13 Thread Andreas Wright
Hi, I was not able to install ingress qdisc as below tc qdisc add dev eth0 handle : ingress also tried tc qdisc add dev eth0 ingress Both cases it says invalid argument. What could be the problem ? AndreasWith Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

[LARTC] (rtattr *opt) ???

2003-02-13 Thread Lars Landmark
Hi; I have been reading code in order to understand how relations between kernel and user-space is working. But I do not understand how this rtattr struct work. What I would like to know is how I can send a message in user-space and parse this data in kernel. Function rtattr_parse, rta_payloa

[LARTC] Patch for arping

2003-02-13 Thread sabat
This is probably the wrong forum for this, a small patch for arping. However: - the guy who wrote arping, part of iputils, also wrote iproute2 - that guy is pretty much unreachable -- or I have to presume so, because his ftp site, the main site for his work, has been broken for months now - I

Re: [LARTC] API using cbq / tc ?

2003-02-13 Thread devik
> > in minutes resolution etc... > Storing the value is no problem, but showing. If don't think it's such a good > idea to refresh a webpage and relaod (and draw) the graphs on it each second. > So rrd for long term overview, java (of VB) for real time overview. ah now I finally see your reason :

Re: [LARTC] HTB debug info in kernel log

2003-02-13 Thread Brad Davidson
On Thu, 13 Feb 2003 at 00:41:54, Stef Coene wrote: > On Thursday 13 February 2003 08:10, Brad Davidson wrote: > I had the same problem. I uncomment the DEFINE statement. But logging there > numbers, means there is something miss with your htb setup and has nothing to > do with you asking for sta

Re: [LARTC] u32 filter rules

2003-02-13 Thread Remus
Hi, Maybe I gave no examples what I want, sorry. I have the outgoing trafic rules for the 3 local IPs (some rate, ceil and etc) and I can browse or do whereever from Internet side speed. But for the local net of these 3 IPs (ports smb, smtp and pop3) I would like to have 99Mbit speed. I use the h