Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 16:39:54 +0200
From:      "Simon L. Nielsen" <simon@nitro.dk>
To:        SKU <sku@palomine.net>
Cc:        ipfw@freebsd.org
Subject:   Re: Traffic Shaper Question
Message-ID:  <20030428143954.GL398@nitro.dk>
In-Reply-To: <20030428121328.GA50735@palomine.net>
References:  <20030428001533.GA20138@palomine.net> <20030428080632.GH398@nitro.dk> <20030428121328.GA50735@palomine.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--sHrvAb52M6C8blB9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003.04.28 08:13:28 -0400, SKU wrote:
>=20
> Actually I do have Dummynet in the kernel:
>=20
> 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
>=20
> Only certain weights refuse to work and I have no idea why.

Strange.. works fine here :

[root@arthur:simon] /sbin/ipfw pipe 1 config bw 250Kbits/s
[root@arthur:simon] /sbin/ipfw pipe 2 config bw 155Kbytes/s
[root@arthur:simon] /sbin/ipfw queue 1 config pipe 2 weight 1
[root@arthur:simon] /sbin/ipfw queue 2 config pipe 2 weight 1
[root@arthur:simon] /sbin/ipfw queue 3 config pipe 1 weight 1
[root@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@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@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 ?

--=20
Simon L. Nielsen

--sHrvAb52M6C8blB9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+rT068kocFXgPTRwRAmf7AJ9k/+6sSMHsfdCTezNxeF1LaENEGgCgiuaQ
V09Pv1CXqjmTzZ4ARiv6aas=
=kKVU
-----END PGP SIGNATURE-----

--sHrvAb52M6C8blB9--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20030428143954.GL398>