From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 03:10:45 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 50938335 for ; Sun, 9 Jun 2013 03:10:45 +0000 (UTC) (envelope-from lsc@prgmr.com) Received: from mail.xen.prgmr.com (mail.xen.prgmr.com [IPv6:2605:2700:0:5::4713:9506]) by mx1.freebsd.org (Postfix) with ESMTP id 3AECB1ADE for ; Sun, 9 Jun 2013 03:10:45 +0000 (UTC) Received: from localhost.localdomain (unknown [71.19.150.4]) (Authenticated sender: lsc) by mail.xen.prgmr.com (Postfix) with ESMTPSA id 5A02D72010E for ; Sat, 8 Jun 2013 23:11:45 -0400 (EDT) Message-ID: <51B3F233.20809@prgmr.com> Date: Sat, 08 Jun 2013 20:10:43 -0700 From: "Luke S. Crawford" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-jail@freebsd.org Subject: Re: Per-IP Bandwidth Monitoring 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> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 03:10:45 -0000 if you only care about IPv4, I've used bandwidthd[1] to great effect; it's trivial to setup and easy to use. But, I need IPv6 support, so this won't work for me anymore. I've been talking about trying to do something with pmacct[2] but never quite got it working properly. [1]http://bandwidthd.sourceforge.net/ [2]http://www.pmacct.net/ On 06/08/2013 07:32 PM, Kenta Suzumoto wrote: > 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? > > Some links I came across that were unhelpful: > http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html > > http://forum.pfsense.org/index.php?&topic=32256.0 > > http://www.daemonforums.org/showthread.php?t=1199 > > Thanks > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" >