From owner-freebsd-questions Sun Feb 11 7:46: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from priv-edtnes10-hme0.telusplanet.net (mtaout.telus.net [199.185.220.235]) by hub.freebsd.org (Postfix) with ESMTP id 1D88237B401 for ; Sun, 11 Feb 2001 07:45:58 -0800 (PST) Received: from web ([161.184.39.163]) by priv-edtnes10-hme0.telusplanet.net (InterMail vM.4.01.03.10 201-229-121-110) with SMTP id <20010211154557.GKFH3566.priv-edtnes10-hme0.telusplanet.net@web> for ; Sun, 11 Feb 2001 08:45:57 -0700 Message-ID: <004601c09440$2a0d33e0$a327b8a1@ab.hsia.telus.net> From: "Jeff" To: Subject: Restricting bw on ports Date: Sun, 11 Feb 2001 08:34:43 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0043_01C09405.7BE18B20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C09405.7BE18B20 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I'm using ipfw/dummynet to restrict bandwidth. Is there a way to have = dummynet restrict bandwidth on a port basis and not global. For example ipfw add pipe 1 ip from any to any ipfw pipe 1 config mask dst-port 20-21 bw 240Kbit/s This restricts all ports, 80..25..=20 I've tried many combinations: ipfw add pipe 1 tcp from any to any 20-21 ipfw pipe 1 config bw 240Kbit/s =20 Other then bwmgr, is there a way to restrict bandwidth per PORT. Thanks a lot, Jeff. ------=_NextPart_000_0043_01C09405.7BE18B20 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I'm using ipfw/dummynet to restrict=20 bandwidth.  Is there a way to have dummynet restrict bandwidth on a = port=20 basis and not global.
 
For example
ipfw add pipe 1 ip from any to = any
ipfw pipe 1 config mask dst-port 20-21 = bw=20 240Kbit/s
 
This restricts all ports, 80..25.. =
 
I've tried many = combinations:
 
ipfw add pipe 1 tcp from any to any=20 20-21
ipfw pipe 1 config bw 240Kbit/s  =
 
Other then bwmgr, is there a way to = restrict=20 bandwidth per PORT.
 
Thanks a lot,
Jeff.
 
------=_NextPart_000_0043_01C09405.7BE18B20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message