Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 12:00:20 +0100
From:      "Max" <max@ecotech.com.lr>
To:        <freebsd-isp@freebsd.org>
Subject:   IPFW
Message-ID:  <001d01c22800$fc3073a0$04ef10ac@wireless>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C22809.5D4B2E20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

How do I get IPFW (bandwidth limiting function) to work with logging for =
later analysis, like determining bandwidth usage per ip?

For example, I put an entire ip block in a 256K queue and I want to =
check what each member of that block used... Hope the idea is =
communicated...

 ${fwcmd} add queue 1 ip from [MY IP BLOCK] to any
 ${fwcmd} pipe 10 config bw 256kbit/s
 ${fwcmd} queue 1 config pipe 1 weight 30 mask src-ip 0x000000ff  =20



Max

------=_NextPart_000_001A_01C22809.5D4B2E20
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How do I get IPFW (bandwidth limiting =
function) to=20
work with logging for later analysis, like determining bandwidth usage =
per=20
ip?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For example, I put an entire ip block =
in a 256K=20
queue and I want to check what each member of that block used... Hope =
the idea=20
is communicated...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;${fwcmd} add queue 1 ip =
from&nbsp;[MY IP=20
BLOCK]&nbsp;to any<BR>&nbsp;${fwcmd} pipe 10 config bw=20
256kbit/s<BR>&nbsp;${fwcmd} queue 1 config pipe 1 weight 30 mask src-ip=20
0x000000ff&nbsp;&nbsp; <BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Max</FONT></DIV></BODY></HTML>

------=_NextPart_000_001A_01C22809.5D4B2E20--


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c22800$fc3073a0$04ef10ac>