Re: dummynet und ADSL

From: Oliver Lehmann <lehmann(at)ans-netz.de>
Date: Thu, 25 Nov 2004 06:11:01 +0100

Oliver Fromme wrote:

> Oliver Lehmann <lehmann(at)ans-netz.de> wrote:
> > In diesem Fall waere das ganze etwas nutzlos, da ich fuer ADSL min 2
> > queues brauche (incomming, outgoing). Wenn nun aber z.B. keine
> > Priorisierung der incomming und outgoing Connections auf _einer_ Skala
> > moeglich ist, wird mir z.B. jede outgoing, Bytes pumpende, Connection
> > die Leitung fuer incomming zu 99% dicht machen....
>
> Nö, incoming und outgoing sollten doch unabhängig vonein-
> ander sein, auch bei ADSL.
>

Ok, ich hab mir fuer mein TDSL jetzt mal folgendes gebastelt:

ipfw pipe 1 config bw 15KByte/s

ipfw queue 1 config pipe 1 weight 10
ipfw queue 2 config pipe 1 weight 50
ipfw queue 3 config pipe 1 weight 90

ipfw add 1000 queue 1 ip from 10.0.0.0/24 to any out via tun0
ipfw add 1002 queue 2 ip from 10.0.1.0/24 to any out via tun0
ipfw add 1004 queue 3 ip from any to any out via tun0 tcpflags ack

wenn ich jetzt von 10.0.1.51 etwas aus dem internet ziehe, komme ich so auf
meine 120kByte/sec. Fange ich nun aber an, etwas aus dem internet von mir
hier zu hause etwas zu ziehen (ueber http, wird auf 10.0.0.21 weiter-geNAT-tet)
sinkt meine 1. Verbindung auf 90 KB/sec ab, waerend die Verbindung von mir
ins Netz sich irgendwo bei 6KB/sec einpendelt.
Wenn outgoing und incomming unabhaengig voneineander sein sollten, darf das
so nicht passieren, oder? mein T-DSL1000 macht mehr als 15KB/sec up ueber
alles. Somit sehe ich nicht, wiso mein upload nicht 15KB/sec bringt, und
mein gleichzeitiger Download bei seinen 120KB/sec bleibt sondern absackt...

root(at)gurke /root> ipfw queue list
q00001: weight 10 pipe 1 50 sl. 1 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 10.0.0.11/80 83.136.81.184/58663 30 41528 12 17760 0
q00002: weight 50 pipe 1 50 sl. 1 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 10.0.1.51/4147 83.136.81.185/80 1402 56645 0 0 0
q00003: weight 90 pipe 1 50 sl. 1 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 217.95.208.186/65417 83.136.81.185/11965 1946 287552 1 1480 0
root(at)gurke /root>

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 25 Nov 2004 - 06:11:29 CET

search this site