Traffic Shaper Question

Simon L. Nielsen simon at nitro.dk
Mon Apr 28 07:39:56 PDT 2003


On 2003.04.28 08:13:28 -0400, SKU wrote:
> 
> Actually I do have Dummynet in the kernel:
> 
> pfw pipe show
> 00001: 250.000 Kbit/s    0 ms   50 sl. 0 queues (1 buckets) droptail
>     mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
> 00002:   1.280 Mbit/s    0 ms   50 sl. 0 queues (1 buckets) droptail
>     mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
> q00001: weight 1 pipe 1   50 sl. 1 queues (1 buckets) droptail
>     mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
> 
> Only certain weights refuse to work and I have no idea why.

Strange.. works fine here :

[root at arthur:simon] /sbin/ipfw pipe 1 config bw 250Kbits/s
[root at arthur:simon] /sbin/ipfw pipe 2 config bw 155Kbytes/s
[root at arthur:simon] /sbin/ipfw queue 1 config pipe 2 weight 1
[root at arthur:simon] /sbin/ipfw queue 2 config pipe 2 weight 1
[root at arthur:simon] /sbin/ipfw queue 3 config pipe 1 weight 1
[root at arthur:simon] ipfw pipe show
00001: 250.000 Kbit/s    0 ms   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
00002:   1.240 Mbit/s    0 ms   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00001: weight 1 pipe 2   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00002: weight 1 pipe 2   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00003: weight 1 pipe 1   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
[root at arthur:simon] uname -a
FreeBSD arthur.nitro.dk 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Apr 24 12:53:37 CEST 2003     simon at arthur.nitro.dk:/usr/obj/usr/src/sys/ARTHUR  i386

I'm using IPFW2 but I don't know if that matters. Which FreeBSD version
are you using ?

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20030428/baefa2b0/attachment.bin


More information about the freebsd-ipfw mailing list