Skip to contentSkip to conversation

pfifo_fast dosnt work?

LARTC Thomas Kirk 2 participants 3 messages Sep 25, 2002

lore
Share & tools
lore
#0 lore raw

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 :)

Signature · 13 lines
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/
#1 lore raw

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).

Quoted 43 lines

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

Quoted 6 lines

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/

#2 lore raw
In reply to Thomas Kirk
Quoted 6 lines · 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.

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

Quoted 2 lines

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

ok i will look into that then.

Signature · 13 lines
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/