All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] pfifo_fast dosnt work?
@ 2002-09-25 15:12 Thomas Kirk
  2002-09-25 16:18 ` Tobias Geiger
  2002-09-25 18:04 ` Thomas Kirk
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Kirk @ 2002-09-25 15:12 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] pfifo_fast dosnt work?
  2002-09-25 15:12 [LARTC] pfifo_fast dosnt work? Thomas Kirk
@ 2002-09-25 16:18 ` Tobias Geiger
  2002-09-25 18:04 ` Thomas Kirk
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geiger @ 2002-09-25 16:18 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] pfifo_fast dosnt work?
  2002-09-25 15:12 [LARTC] pfifo_fast dosnt work? Thomas Kirk
  2002-09-25 16:18 ` Tobias Geiger
@ 2002-09-25 18:04 ` Thomas Kirk
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Kirk @ 2002-09-25 18:04 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-25 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-25 15:12 [LARTC] pfifo_fast dosnt work? Thomas Kirk
2002-09-25 16:18 ` Tobias Geiger
2002-09-25 18:04 ` Thomas Kirk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.