Re: [LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Thomas Kirk

On Wed, Sep 25, 2002 at 06:18:44PM +0200, Tobias Geiger wrote:

> hi,
> 
> just like Steve said in the previous mail, prioband is ok but it doesn't
> make sure that your bandwith is consumed by one service (even if it's in a
> lower class than interactive stuff) because it doesn't reserve bandwidth
> for its priomaps.

If it dosnt use the TOS fileds to take prioity for delivering packets
in a certain way what exactly is pfifo good for?


> 
> to achieve what u want i suggest using htb (see previous mail).

ok i will look into that then.

-- 
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #398:

Data for intranet got routed through the extranet and landed on the internet.
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Tobias Geiger

hi,

just like Steve said in the previous mail, prioband is ok but it doesn't
make sure that your bandwith is consumed by one service (even if it's in a
lower class than interactive stuff) because it doesn't reserve bandwidth
for its priomaps.

to achieve what u want i suggest using htb (see previous mail).

> Hep
>
> Trying to get pfifo to work. Setup :
>
>|--|<--->eth1 (192.168.10.0/24)
> eth0---|  GW  |<--->eth2 (192.168.11.0/24)
>|--|<--->eth3 (192.168.12.0/24)
>
> read all documentation :
>
> http://lartc.org/howto/lartc.cookbook.interactive-prio.html
>
> here is my TOS mangling rulse in iptables :
>
> $IPTABLES -A PREROUTING -i eth1 -t mangle -s 192.168.10.0/24 -p tcp
> --dport ftp-data -m state --state NEW,ESTABLISHED -j TOS --set-tos
> Maximize-Throughput $IPTABLES -A PREROUTING -i eth1 -t mangle -s
> 192.168.10.0/24 -p tcp --sport 44100:44200 -m state --state
> NEW,ESTABLISHED -j TOS --set-tos Maximize-Throughput $IPTABLES -A
> PREROUTING -i eth1 -t mangle -s 192.168.10.0/24 -p tcp --dport ftp -m
> state --state NEW,ESTABLISHED -j TOS --set-tos Minimize-Delay
>
> Im trying to limited the ftp-data throughoutput by putting all
> ftp-data in band 2. Ive checked with tcpdump -v -v |grep tos and yes
> ftp-data get [tos 0x8] which destination is band 2 if i read the
> documentation right?
>
> Allthough everything is set ok all my interactiv traffic ssh/telnet etc
> is very slow and sloppy when someone uploads to our ftpserver.
>
> Im running kernel 2.4.19 with latest patch-o-matic
>
> Please write to me for further information! You will find that im more
> than willing to get this problem solved :)
>
> --
> Venlig hilsen/Kind regards
> Thomas Kirk
> ARKENA
> thomas(at)arkena(dot)com
> Http://www.arkena.com
>
>
> BOFH excuse #212:
>
> Of course it doesn't work. We've performed a software upgrade.
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Thomas Kirk

Hep

Trying to get pfifo to work. Setup :

   |--|<--->eth1 (192.168.10.0/24)
eth0---|  GW  |<--->eth2 (192.168.11.0/24)
   |--|<--->eth3 (192.168.12.0/24)

read all documentation :

http://lartc.org/howto/lartc.cookbook.interactive-prio.html

here is my TOS mangling rulse in iptables :

$IPTABLES -A PREROUTING -i eth1 -t mangle -s 192.168.10.0/24 -p tcp --dport ftp-data 
-m state --state NEW,ESTABLISHED -j TOS --set-tos Maximize-Throughput
$IPTABLES -A PREROUTING -i eth1 -t mangle -s 192.168.10.0/24 -p tcp --sport 
44100:44200 -m state --state NEW,ESTABLISHED -j TOS --set-tos Maximize-Throughput
$IPTABLES -A PREROUTING -i eth1 -t mangle -s 192.168.10.0/24 -p tcp --dport ftp -m 
state --state NEW,ESTABLISHED -j TOS --set-tos Minimize-Delay

Im trying to limited the ftp-data throughoutput by putting all
ftp-data in band 2. Ive checked with tcpdump -v -v |grep tos and yes
ftp-data get [tos 0x8] which destination is band 2 if i read the
documentation right? 

Allthough everything is set ok all my interactiv traffic ssh/telnet
etc is very slow and sloppy when someone uploads to our ftpserver.

Im running kernel 2.4.19 with latest patch-o-matic

Please write to me for further information! You will find that im more
than willing to get this problem solved :)

-- 
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #212:

Of course it doesn't work. We've performed a software upgrade.
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/