Date: Tue, 7 Nov 2000 22:11:52 +0000 From: Josef Karthauser <joe@pavilion.net> To: "Michael R. Wayne" <wayne@staff.msen.com> Cc: isp@FreeBSD.ORG Subject: Re: Interface alias accounting? Message-ID: <20001107221152.B60800@pavilion.net> In-Reply-To: <20000517173915.F77680@staff.msen.com>; from wayne@staff.msen.com on Wed, May 17, 2000 at 05:39:15PM -0400 References: <200001181742.JAA48615@gndrsh.dnsmgr.net> <038a01bfc041$83636640$213cd3cf@loop.com> <20000517173915.F77680@staff.msen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Link> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001107221152.B60800>