Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 07:18:41 +0100
From:      "Marko - SiOL" <gofljac@siol.net>
To:        <freebsd-questions@freebsd.org>
Subject:   ipfw and packet weight
Message-ID:  <000801c1928c$288e3690$0f01a8c0@helpdesk1>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Re all!<BR><BR>This one thing is =
bothering me about=20
ipfw traffic shaping ability. Lets say<BR>we have:<BR><BR>ipfw pipe 1 =
config bw=20
128kbit/s<BR>ipfw queue 1 config weight 5 pipe 1<BR>ipfw queue 2 config =
weight=20
50 pipe 1<BR>ipfw add queue 1 ip from box1 to any<BR>ipfw add queue 2 ip =
from=20
box2 to any<BR>ipfw add pipe 1 ip from box3 to any<BR>ipfw add allow ip =
from=20
box4 to any<BR><BR>these rules are kinda stupid but just to illustrate =
what i=20
mean :-)<BR><BR>This means that box1-3 are limited to 128kbit/s of =
bandwidth and=20
box4 is<BR>free. Now what I dont understand is which box has maximum =
priority=20
here?<BR>Does higher weight number means higher priority? And what about =
box4=20
who<BR>isn't piped and queued what is his priority?<BR><BR>Thank you for =

bothering and answering!<BR>Marko from =
Slovenia<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C19294.8A404F10--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c1928c$288e3690$0f01a8c0>