[LARTC] Packets Redirection

2002-10-24 Thread Tom
Hi all, I use a Debian Woody with Kernel 2.4.18 patched with the HTB queue. I use the tc binay given within the HTB targz. Iptables 1.2.6a I wrote this script based on the ADSL Bandwith management howto : DEV=eth0 RATEUP=128 tc qdisc add dev $DEV root handle 1: htb default 22 tc class add dev

Re: [LARTC] Packets Redirection

2002-10-24 Thread Walter Haidinger
On Thu, 24 Oct 2002, Tom wrote: tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 20 fw flowid 1:20 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 21 fw flowid 1:21 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 22 fw flowid 1:22 This odd. With my setup

Re: [LARTC] Packets Redirection

2002-10-24 Thread Stef Coene
On Thursday 24 October 2002 10:43, Walter Haidinger wrote: On Thu, 24 Oct 2002, Tom wrote: tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 20 fw flowid 1:20 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 21 fw flowid 1:21 tc filter add dev $DEV parent 1:0 prio 0

Re: [LARTC] Packets Redirection

2002-10-24 Thread Tom
Rehi all, I continue to search and now it's work. There is what i did : - I change my interface from eth0 to ppp0 - I change the chain from POSTROUTING to OUTPUT (evene if the both possibly work) - I add the quantum to the SFQ queue, it was 1492 now it's 1500 (the same as my MTU) - I reduce the

Re: [LARTC] Packets Redirection

2002-10-24 Thread Stef Coene
On Thursday 24 October 2002 08:22, Tom wrote: Hi all, I use a Debian Woody with Kernel 2.4.18 patched with the HTB queue. I use the tc binay given within the HTB targz. Iptables 1.2.6a I wrote this script based on the ADSL Bandwith management howto : DEV=eth0 RATEUP=128 tc qdisc add dev