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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Re all!<BR><BR>This one thing is bothering me about 
ipfw traffic shaping ability. Lets say<BR>we have:<BR><BR>ipfw pipe 1 config bw 
128kbit/s<BR>ipfw queue 1 config weight 5 pipe 1<BR>ipfw queue 2 config weight 
50 pipe 1<BR>ipfw add queue 1 ip from box1 to any<BR>ipfw add queue 2 ip from 
box2 to any<BR>ipfw add pipe 1 ip from box3 to any<BR>ipfw add allow ip from 
box4 to any<BR><BR>these rules are kinda stupid but just to illustrate what i 
mean :-)<BR><BR>This means that box1-3 are limited to 128kbit/s of bandwidth and 
box4 is<BR>free. Now what I dont understand is which box has maximum priority 
here?<BR>Does higher weight number means higher priority? And what about box4 
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>
help

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