From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 12:55:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3B1CE209; Sun, 9 Jun 2013 12:55:23 +0000 (UTC) (envelope-from pjlists@netzkommune.de) Received: from mx1.dui.nkhosting.net (mx1.dui.nkhosting.net [213.9.94.26]) by mx1.freebsd.org (Postfix) with ESMTP id F0EA5185E; Sun, 9 Jun 2013 12:55:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.dui.nkhosting.net (Postfix) with ESMTP id E87D3211C54AE; Sun, 9 Jun 2013 12:48:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.dui.nkhosting.net Received: from mx1.dui.nkhosting.net ([127.0.0.1]) by localhost (mx1.dui.nkhosting.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xf3ojEhyin0E; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Received: from air13.home (AMontsouris-552-1-72-100.w92-140.abo.wanadoo.fr [92.140.39.100]) (Authenticated sender: pjlists@netzkommune.de) by mx1.dui.nkhosting.net (Postfix) with ESMTP id 598B4211C651D; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Subject: Re: Per-IP Bandwidth Monitoring Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Philip Jocks In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Date: Sun, 9 Jun 2013 12:47:59 +0200 Jabber-Id: pj@netzkommune.de Content-Transfer-Encoding: quoted-printable Message-Id: <89E98E53-6B11-468D-B160-2188FE189983@netzkommune.de> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> To: Kenta Suzumoto X-Mailer: Apple Mail (2.1503) Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 12:55:23 -0000 Am 09.06.2013 um 04:32 schrieb Kenta Suzumoto : > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them = attached to a specific jail. I'm wondering if there is an easy way to = monitor the bandwidth usage of each of them individually. Upon googling, = I ran into a lot of suggestions like bandwidthd. I gave it a try and it = seemed very broken and basically didn't work at all. I'm basically = looking for a "vnstat that works per IP instead of per interface" kind = of thing. jnettop wasn't what I was looking for. It doesn't have to make = pretty graphs(but that's nice too), just human-readable text is fine. = Anyone have a recommendation? >=20 > Some links I came across that were unhelpful:=20 > = http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5= 797422.html >=20 > http://forum.pfsense.org/index.php?&topic=3D32256.0 >=20 > http://www.daemonforums.org/showthread.php?t=3D1199 I was using sysutils/ipa for this. It works with IPFW and also with PF, = I think, I have just used it with ipfw, worked pretty fine. It also = supports all sorts of reporting. Cheers, Philip