From owner-freebsd-isp Tue Nov 7 14: 8:27 2000 Delivered-To: freebsd-isp@freebsd.org Received: from genius.systems.pavilion.net (genesis.tao.org.uk [194.242.131.254]) by hub.freebsd.org (Postfix) with ESMTP id A0AE837B479 for ; Tue, 7 Nov 2000 14:08:21 -0800 (PST) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 14CF09B2D; Tue, 7 Nov 2000 22:11:53 +0000 (GMT) Date: Tue, 7 Nov 2000 22:11:52 +0000 From: Josef Karthauser To: "Michael R. Wayne" Cc: isp@FreeBSD.ORG Subject: Re: Interface alias accounting? Message-ID: <20001107221152.B60800@pavilion.net> References: <200001181742.JAA48615@gndrsh.dnsmgr.net> <038a01bfc041$83636640$213cd3cf@loop.com> <20000517173915.F77680@staff.msen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000517173915.F77680@staff.msen.com>; from wayne@staff.msen.com on Wed, May 17, 2000 at 05:39:15PM -0400 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 17, 2000 at 05:39:15PM -0400, Michael R. Wayne wrote: > On Wed, May 17, 2000 at 01:50:13PM -0700, D. W. Piper wrote: > > Hi folks, > > > > I'm trying to find out how to get IP accounting information for web > > hosting where multiple IPs are aliased to the same interface. I seem to > > recall seeing something about it a few weeks ago, but I've searched the > > archives, and can't seem to find the information I'm looking for. If I > > recall correctly, it involved compiling in some kernel option or other. > > Can anybody help out? > > BSD/OS does this per interface right on the box, FreeBSD seems not > to. We've been trying for several months to get a straight answer > regarding FreeBSD, nobody seems to know whether it's a bug, oversight > or what. This is in current now. I'm going to MFC it after the 4.2 release. Joe > > Reference information: > > BSD/OS % netstat -ins | egrep '^(Name|lo0)' | head -10 > Name Index Address Ipkts Ierrs Opkts Oerrs Coll Drop > lo0 2 825692 0 825692 0 0 0 > lo0 2 127.0.0.1 513811 486253 > lo0 2 148.59.14.8 934 1045 > lo0 2 148.59.14.33 943857 1217321 > lo0 2 148.59.14.20 655903 715413 > lo0 2 148.59.14.21 655256 828339 > lo0 2 148.59.14.22 30697 32327 > lo0 2 148.59.14.23 34691 43438 > lo0 2 148.59.14.24 108729 127598 > > > Freebsd % netstat -ins | egrep '^(Name|lo0)' | head -10 > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll > lo0 16384 287 0 287 0 0 > lo0 16384 127 127.0.0.1 287 0 287 0 0 > lo0 16384 139.171.3/32 139.171.3.0 287 0 287 0 0 > lo0 16384 139.171.3.1/3 139.171.3.1 287 0 287 0 0 > lo0 16384 139.171.3.2/3 139.171.3.2 287 0 287 0 0 > lo0 16384 139.171.3.3/3 139.171.3.3 287 0 287 0 0 > lo0 16384 139.171.3.4/3 139.171.3.4 287 0 287 0 0 > lo0 16384 139.171.3.5/3 139.171.3.5 287 0 287 0 0 > lo0 16384 139.171.3.6/3 139.171.3.6 287 0 287 0 0 > > /\/\ \/\/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message