Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 1999 11:33:16 +0700
From:      "Vladimir N. Kovalev" <smith@scn.ru>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Dummynet pipes truble
Message-ID:  <36BFBA8B.37A3EFF3@scn.ru>

next in thread | raw e-mail | index | archive | help
                                  Hello !
I'm use dummynet on FreeBSD 2.2.7-19981103-SNAP with the such configuration of pipes:
# Set pipes for icmp
        ipfw pipe 1 config delay 7000ms queue 10 plr 0.001
# Set pipes for admin
        ipfw pipe 2 config bw 4000B queue 70
# Set pipes for LAN channel
        ipfw pipe 3 config bw 10KB queue 75
# Set pipes for server ( mail, ftp, squid etc ) channel
        ipfw pipe 4 config bw 6KB queue 75
# Set pipes for class rooms channel
        ipfw pipe 5 config bw 100B queue 75
# Set pipes for test purposes only
        ipfw pipe 6 config bw 1B queue 50

And rc.firewall have appropiate rules:
01710 1044     533229       pipe 6 tcp from any to 192.168.0.1
...
02210 12525   15043642   pipe 2 tcp from any to 192.168.2.2 in recv 192.168.1.1 established
02310 0           0                 pipe 5 tcp from any to 192.168.3.1 in recv 192.168.1.1 established
02410 38345   16987766   pipe 4 tcp from any to 192.168.1.1 in recv 192.168.1.1 established
02510 18798   5420744     pipe 4 tcp from any to 192.168.2.1 in recv 192.168.1.1 established
02610 883364 658924977 pipe 3 tcp from any to any in recv 192.168.1.1 established
...
04410 18384   1348136     pipe 1 icmp from any to any in recv cx0

Pipes number 1, 3 and 4 works fine, but pipes number 2, 5 and 6 does not limit a bandwidth.
However, then I add delay to this pipes I can feel it.

Why ?

Thanks in advance.

Best regards
Vladimir N. Kovalev


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36BFBA8B.37A3EFF3>