Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 17:39:15 -0400
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        isp@FreeBSD.ORG
Subject:   Re: Interface alias accounting?
Message-ID:  <20000517173915.F77680@staff.msen.com>
In-Reply-To: <038a01bfc041$83636640$213cd3cf@loop.com>; from dwplists@loop.com on Wed, May 17, 2000 at 01:50:13PM -0700
References:  <200001181742.JAA48615@gndrsh.dnsmgr.net> <038a01bfc041$83636640$213cd3cf@loop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000517173915.F77680>