[LARTC] htb & filter on classes

2002-04-29 Thread office
I am trying to do some simple filtering with htb and the following class hierarchy: 1: | 1:10 / \ 1:100 1:200 / \ 1:1000 ... Internal traffic should go to 1:200 and external traffic to 1:100 with further distinction based on dst ip made there. The probl

Re: [LARTC] howto spare the "tc filter" - lines with htb

2002-04-29 Thread Tobias Geiger
On Mon, Apr 29, 2002 at 04:59:33PM +0200, Patrick McHardy wrote: > Hi :) > > Tobias Geiger wrote: > >Hi, > > > >recently Martin explained, how to avoid these "tc filter" lines in our > >scripts. > >unfortunatly it doesn't work with my setup. > >i add a "dummy" tc filter - line: > > > >tc filter a

Re: [LARTC] howto spare the "tc filter" - lines with htb

2002-04-29 Thread Patrick McHardy
Hi :) Tobias Geiger wrote: > Hi, > > recently Martin explained, how to avoid these "tc filter" lines in our > scripts. > unfortunatly it doesn't work with my setup. > i add a "dummy" tc filter - line: > > tc filter add dev imq1 parent 10:0 protocol ip prio 1 handle 1 fw classid 10:10 > > which

[LARTC] howto spare the "tc filter" - lines with htb

2002-04-29 Thread Tobias Geiger
Hi, recently Martin explained, how to avoid these "tc filter" lines in our scripts. unfortunatly it doesn't work with my setup. i add a "dummy" tc filter - line: tc filter add dev imq1 parent 10:0 protocol ip prio 1 handle 1 fw classid 10:10 which of course works, but i have no fwmark "1", but

Re: [LARTC] Ultimate Traffic Conditioner

2002-04-29 Thread Martin Devera
> > > > This is a bug in 'tc filter show'. > > Is there a patch? no, only complete rewrite would help ;) ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] Ultimate Traffic Conditioner

2002-04-29 Thread Jan Coppens
- Original Message - From: "bert hubert" <[EMAIL PROTECTED]> To: "Jan Coppens" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 11:32 AM Subject: Re: [LARTC] Ultimate Traffic Conditioner > On Mon, Apr 29, 2002 at 11:20:21AM +0200, Jan Coppens wrote: > > Hi all, >

RE: [LARTC] Can't apply Julian's patches to 2.4.18

2002-04-29 Thread Julian Anastasov
Hello, On Mon, 29 Apr 2002, Carlo Borelli wrote: > I've the same problem with a plain 2.4.17 patched to 2.4.18-pre3 with > FreeS/WAN 1.97 and ext3 patch. > > [root@fw linux]# patch -p1 < ../routes-2.4.16-6.diff > patching file include/net/ip_fib.h > patching file include/net/route.h > p

RE: [LARTC] Can't apply Julian's patches to 2.4.18

2002-04-29 Thread Carlo Borelli
I've the same problem with a plain 2.4.17 patched to 2.4.18-pre3 with FreeS/WAN 1.97 and ext3 patch. [root@fw linux]# patch -p1 < ../routes-2.4.16-6.diff patching file include/net/ip_fib.h patching file include/net/route.h patching file include/linux/netfilter_ipv4/ip_nat.h patching file include/

Re: RE: [LARTC] Per-connection routing for multiple uplinks/providers ??

2002-04-29 Thread mikee
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Why don't he(she) use nth patch from the pom for load ballancing? > It works fine for me. > > Regards, > > Andrew Kozachenko i haven't said it clearly but he has links to 3 DIFFERENT ISP (3 different IP), so nth packet marking isn't en

Re: [LARTC] sysctl & rp_filter (fwd)

2002-04-29 Thread bert hubert
On Mon, Apr 29, 2002 at 08:51:39AM +0200, bert hubert wrote: > On Mon, Apr 29, 2002 at 08:32:51AM +0200, Dragan Simic wrote: > > > > Hi all ! > > > > I noticed a small (typo?) error in section "13.1. Reverse Path > > Filtering", which says: > > Arent't there kernels which support '2' as well? I

Re: [LARTC] Ultimate Traffic Conditioner

2002-04-29 Thread bert hubert
On Mon, Apr 29, 2002 at 11:20:21AM +0200, Jan Coppens wrote: > Hi all, > > When I try to run the ultimate traffic conditioner (cbq implementation), I get this >strange output: This is a bug in 'tc filter show'. -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.t

[LARTC] Ultimate Traffic Conditioner

2002-04-29 Thread Jan Coppens
Hi all,   When I try to run the ultimate traffic conditioner (cbq implementation), I get this strange output:     /tc# ./ultimate /tc# tc filter show dev eth1filter parent 1: protocol ip pref 10 u32filter parent 1: protocol ip pref 10 u32 fh 803: ht divisor 1filter parent 1: protocol ip pref

Re: [LARTC] Load Balance/Redundant Internet Connections

2002-04-29 Thread Julian Anastasov
Hello, On Sun, 28 Apr 2002, William L. Thomson Jr. wrote: > If you establish a connection to a server using a public IP from ISP1, > and then go and establish a connection to the same server using a public > IP from ISP2, you cannot until after the routing cache has been flushed.

Re: [LARTC] RTNETLINK answers: Invalid argument

2002-04-29 Thread Stef Coene
On Monday 29 April 2002 06:08, hanhbnetfilter wrote: > Dear sir(lady) > I used iproute2-2.4.7-now-ss011019-donotuse.tar.gz > and iputils-ss011202.tar.gz for linux kernel 2.4.18 > iptables 1.2.6 > > CONFIG_NETLINK_DEV=y > > CONFIG_IP_NF_TARGET_NETLINK=y > i can use any command option about "ip" > b