Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 23:04:37 -0400
From:      Josh Osborne <wfpi.20.stripes@antichef.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Does "ipfw pipe 1 config bw tun0" work under 5.1?
Message-ID:  <20030814230437.A19173@meketrex.pix.net>

Next in thread | Raw E-Mail | Index | Archive | Help
I'm running "5.1-RELEASE" on a machine and I'm attempting to do a little
bit of traffic shaping.

ipfw queue list looks like this:

00001: tun0    0 ms   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00001: weight 1 pipe 1   50 sl. 0 queues (1 buckets) droptail
    mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000
q00080: weight 100 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     157.15.34.14/49160   66.35.250.150/80      56     4780 50 4480   5

Whatever traffic I assign to pipe 1 (via one of the queues at least)
shows up in that last line there, but never leaves the queue.  I
can see the packet counts going up (TCP retries I assume) and then
the connection times out.

I'm using ppp, and ifconfig shows tun0 as the interface I'm using
(as opposed to tun1, or something else).  I'm not sure what else to
try here.

So does "ipfw pipe 1 config bw tun0" really work in 5.1-RELEASE,
or is it busted?



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