[LARTC] Tutorial: Setting up a server with multiple internet connections

2005-02-02 Thread Nguyen Dinh Nam
I know people are using nano-howto (http://www.ssi.bg/~ja/nano.txt) to configure a multihomed server, but I don't like it's approach, and it doesn't offer a complete solution, especially, AFAIK, nano-howto doesn't tell you to bind each TCP connection to just one up-link, so connections will los

[LARTC] What does flowid:1 mean here?

2005-02-02 Thread CcM
Hi, I got the following lines from 'Linux Advanced Routing & Traffice Control HOWTO' and got confused!   iptables -A PREROUTING -i $INDEV -t mangle -p tcp --syn \ -j MARK --set-mark 1 tc qdisc add dev $INDEV handle : ingress tc filter add dev $INDEV parent : protocol

Re: [LARTC] Anyone have the userguide's tc script and the corresponding ethloop input files?

2005-02-02 Thread CcM
Thanks a lot, it's really a good way, I'll try it!   Stef Coene <[EMAIL PROTECTED]> wrote: On Monday 31 January 2005 04:26, CcM wrote:> I'm trying to get picture from ethloop and gnuplot. But the output seems> weird. I still do not know why and want some examples.>> Thanks in advance.This is the on

Re: [LARTC] Issue with using using tc api

2005-02-02 Thread sanjeev ravindran
Thank you so much for ur response Stephen, Ya, I found that dlopen tries to load q_htb.so.. and it fails.. I tried to locate q_htb.so in my rh9 machiene.. but i couldnt locate it.. Could you let me know how build q_htb.so standalone ?? Thanks in advance, With best regards, Sanjeev Ravindran

[LARTC] Kernel panic when using wrr qd

2005-02-02 Thread Maciej Szymański
For some time now im trying to get to know what causes such configuration of QOS (kernel 2.4.25-2.4.28 + IMQ patch and ofcourse wrr): -- WRR_MAX_CLASSES=200 DEV_IN=imq0 ifconfig $DEV_IN down ifconfig $DEV_IN up tc qdisc add dev ${DEV_IN} handle 1:0 root htb default 10 tc class add dev ${DEV_IN} pa

[LARTC] PRIO / CBQ / HTB queue drop algorithm

2005-02-02 Thread rsenykoff
Hello all. I've been struggling to QoS VoIP at our site and have a successful implementation at this point. Basically I had to set aside enough bandwidth for VoIP by placing all other traffic behind an HTB (multiple classes and queues behind it). Everything is fine. Here's the diagram:          

Re: [LARTC] Issue with using using tc api

2005-02-02 Thread Stephen Hemminger
On Thu, 03 Feb 2005 00:42:52 +0800 "sanjeev ravindran" <[EMAIL PROTECTED]> wrote: > Hi , > > I'm trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could > compile it with my stub program and got the executable. However, when i try > to create an htb qdisc i get the following e

Re: [LARTC] Issue with using using tc api

2005-02-02 Thread Dan Siemon
On Thu, 2005-03-02 at 00:42 +0800, sanjeev ravindran wrote: > I'm trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could > compile it with my stub program and got the executable. However, when i try > to create an htb qdisc i get the following error : Unknown qdisc "htb", henc

Re: [LARTC] doubts: cross compiling iproute2

2005-02-02 Thread Stephen Hemminger
On Wed, 2 Feb 2005 09:48:02 -0800 (PST) js si <[EMAIL PROTECTED]> wrote: > i tried to cross compile iproute2 on a linux machine using a cross compiler > for ppc750. i have some questions: > > 1) make tries to execute tc/normal, tc/paretonormal, tc/pareto to make > distribution files like norm

Re: [LARTC] How to bond pppoe links

2005-02-02 Thread Rene Gallati
Damjan wrote: [..] But for help, I have found the nano-howto extremely useful. http://www.ssi.bg/~ja/nano.txt I think this will work... I've made some preliminary tests, a simple multipath default route: ip route add default proto static nexthop dev ppp0 nexthop dev ppp1 and I saw packets going

Re: [LARTC] How to bond pppoe links

2005-02-02 Thread Damjan
> Yes it is possible, though it may make only sense iff you have several > clients behind the gateway (since for example http is a stateless > protocol where most often every single picture and page is fetched using > another tcp connection and if you balance it always, you are constantly > swi

[LARTC] doubts: cross compiling iproute2

2005-02-02 Thread js si
i tried to cross compile iproute2 on a linux machine using a cross compiler for ppc750. i have some questions:   1) make tries to execute tc/normal, tc/paretonormal, tc/pareto to make distribution files like normal.dist because i am cross compiling the object files can't be executed. will it suff

[LARTC] Issue with using using tc api

2005-02-02 Thread sanjeev ravindran
Hi , I'm trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could compile it with my stub program and got the executable. However, when i try to create an htb qdisc i get the following error : Unknown qdisc "htb", hence option "default" is unparsable However, if i use the tc t

Re: [LARTC] iproute2 compilation problem

2005-02-02 Thread Remus
That have worked for me. Thanks Remus Just edit your Makefile where you find a line like this: --- cut here --- # Path to db_185.h include DBM_INCLUDE:=/usr/include --- and here --- with: #Path to db_185.h include DBM_INCLUDE:=/usr/include/db4/db_185.h Compile and you'll be fine :) ___

[LARTC] Packet Level Load Balance inbound/outbound success with nth and route

2005-02-02 Thread Joe Nuts
First of all, I'd like to thank Andy Furniss for his direction and for helping me get a working example up and running. For the following set up to work, you will need a linux computer at the ISP (server), a linux computer at the client location (client), and some a public range of IP's you plan t

Re: [LARTC] iproute2 compilation problem

2005-02-02 Thread go0ogl3
On Wed, 2 Feb 2005 15:11:34 -, Remus <[EMAIL PROTECTED]> wrote: > Gypsy, > > I was missing only db31-3-1-17-i486-1, but after it install I still > get the same errors. > > Regards > > Remus > > > > Remus wrote: > >> > >> Hi folks, > >> > >> I just tried to compile the latest (current) ipro

Re: [LARTC] iproute2 compilation problem

2005-02-02 Thread Remus
Gypsy, I was missing only db31-3-1-17-i486-1, but after it install I still get the same errors. Regards Remus Remus wrote: Hi folks, I just tried to compile the latest (current) iproute2 and got these errors: arpd.c:19:20: db_185.h: No such file or directory ==SNIP== make[1]: *** [arpd] Error 1

[LARTC] Best way to drop avg packet size?

2005-02-02 Thread Ed Wildgoose
I am testing VoIP via SIP on my local network and despite a careful setup to prioritise the voip packets I am still getting some small amounts of breakup when the system is under stress. I already my patches to HTB to get it to understand ADSL bandwidth (so I know that this is being accounted f

Re: [LARTC] iproute2 compilation problem

2005-02-02 Thread gypsy
Remus wrote: > > Hi folks, > > I just tried to compile the latest (current) iproute2 and got these errors: > > arpd.c:19:20: db_185.h: No such file or directory ==SNIP== > make[1]: *** [arpd] Error 1 > make[1]: Leaving directory > `/home/iproute2/new/Source/Orig/iproute2-050124/misc' > make: ***

[LARTC] iproute2 compilation problem

2005-02-02 Thread Remus
Hi folks, I just tried to compile the latest (current) iproute2 and got these errors: arpd.c:19:20: db_185.h: No such file or directory arpd.c:42: error: parse error before '*' token arpd.c:42: warning: type defaults to `int' in declaration of `dbase' arpd.c:42: warning: data definition has no type

Re: [LARTC] can't understand strange PRIO behaviour

2005-02-02 Thread Viktor Horvath
On Wed, 2005-02-02 at 04:50 +0100, Andreas Klauer wrote: [...] > I don't know if it is a bug or whatever, but PRIO doesn't like alien > filters. You may only put traffic into a class of the qdisc you attached > the filter to. At least this is how it works on my machine (2.4 kernel). Thanks a lot

Re: [LARTC] combining fw and u32

2005-02-02 Thread Adolf Nepolean Raj
hai.. I want to know about packer separation. Tell me the links and some source codes. That will be helpful for my project. ___ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] combining fw and u32

2005-02-02 Thread Catalin(ux aka Dino) BOIE
On Tue, 1 Feb 2005, richard lucassen wrote: On Tue, 1 Feb 2005 17:18:14 +0200 (EET) "Catalin(ux aka Dino) BOIE" <[EMAIL PROTECTED]> wrote: As this machine will be upgraded in the coming months, I'll put 2.6.11 on it. And which version do you call "new iproute2"? If you download it _now_, you'll be

[LARTC] Fwd: why there is any traffic in default class?

2005-02-02 Thread Denis Kot
no one know? -- Forwarded message -- From: Denis Kot <[EMAIL PROTECTED]> Date: Mon, 31 Jan 2005 11:43:36 +0200 Subject: why there is any traffic in default class? To: lartc@mailman.ds9a.nl I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: