From owner-freebsd-questions Mon Dec 31 22:16:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.siol.net (odin.siol.net [193.189.160.10]) by hub.freebsd.org (Postfix) with ESMTP id 4506037B425 for ; Mon, 31 Dec 2001 22:16:04 -0800 (PST) Received: from helpdesk1 ([193.189.161.143]) by mail.siol.net (InterMail vK.4.02.00.10 201-232-116-110 license 3b7ff800a4377eede9efc7be81e8a7c4) with SMTP id <20020101061602.ELDM17645.mail@helpdesk1> for ; Tue, 1 Jan 2002 07:16:02 +0100 Message-ID: <000801c1928c$288e3690$0f01a8c0@helpdesk1> From: "Marko - SiOL" To: Subject: ipfw and packet weight Date: Tue, 1 Jan 2002 07:18:41 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C19294.8A404F10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C19294.8A404F10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re all! This one thing is bothering me about ipfw traffic shaping ability. Lets = say we have: ipfw pipe 1 config bw 128kbit/s ipfw queue 1 config weight 5 pipe 1 ipfw queue 2 config weight 50 pipe 1 ipfw add queue 1 ip from box1 to any ipfw add queue 2 ip from box2 to any ipfw add pipe 1 ip from box3 to any ipfw add allow ip from box4 to any these rules are kinda stupid but just to illustrate what i mean :-) This means that box1-3 are limited to 128kbit/s of bandwidth and box4 is free. Now what I dont understand is which box has maximum priority here? Does higher weight number means higher priority? And what about box4 who isn't piped and queued what is his priority? Thank you for bothering and answering! Marko from Slovenia ------=_NextPart_000_0005_01C19294.8A404F10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Re all!

This one thing is = bothering me about=20 ipfw traffic shaping ability. Lets say
we have:

ipfw pipe 1 = config bw=20 128kbit/s
ipfw queue 1 config weight 5 pipe 1
ipfw queue 2 config = weight=20 50 pipe 1
ipfw add queue 1 ip from box1 to any
ipfw add queue 2 ip = from=20 box2 to any
ipfw add pipe 1 ip from box3 to any
ipfw add allow ip = from=20 box4 to any

these rules are kinda stupid but just to illustrate = what i=20 mean :-)

This means that box1-3 are limited to 128kbit/s of = bandwidth and=20 box4 is
free. Now what I dont understand is which box has maximum = priority=20 here?
Does higher weight number means higher priority? And what about = box4=20 who
isn't piped and queued what is his priority?

Thank you for = bothering and answering!
Marko from = Slovenia
------=_NextPart_000_0005_01C19294.8A404F10-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message