From owner-freebsd-isp Mon May 22 17:24:26 2000 Delivered-To: freebsd-isp@freebsd.org Received: from va.com.au (va.com.au [203.15.106.1]) by hub.freebsd.org (Postfix) with ESMTP id ACFCA37B523 for ; Mon, 22 May 2000 17:24:23 -0700 (PDT) (envelope-from jesse@va.com.au) Received: from [1.1.1.6] (203.108.18.140) by va.com.au with ESMTP (Eudora Internet Mail Server 2.2); Tue, 23 May 2000 09:54:14 +0930 Mime-Version: 1.0 X-Sender: jesse@mail.va.com.au Message-Id: In-Reply-To: <20000522133513.B12901@setzer.chocobo.cx> References: <20000519121531.A73613@setzer.chocobo.cx> <20000522133513.B12901@setzer.chocobo.cx> Date: Tue, 23 May 2000 10:07:01 +1000 To: chip@chocobo.cx From: jesse reynolds Subject: Re: Interface alias accounting? Cc: "D. W. Piper" , freebsd-isp@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 1:35 PM -0400 22/5/00, Chip Marshall wrote: >On May 22, 2000, jesse reynolds sent me the following: >> On Fri, 19 May 2000, Chip Marshall wrote: >> > On May 19, 2000, D. W. Piper sent me the following: >> > > I'm afraid I'm still a bit confused though. I thought I'd recently seen >> > > mention here of a relatively simple method that would allow netstat to >> > > show the specific packet counts for each IP address assigned to the >> > > interface, as opposed to showing the interface total for them all. >> > >> > I'm not sure if someone else already mentioned this, but you could >> > setup ipfw rules for each of the IP addresses you wanted to watch, >> > something along the lines of: >> >> `netstat -i` >> >> is probably what you're talking about, yes? > >No, that is precisely what I am not talking about. netstat -i will >only show you the input/output packets/bytes/errors for the interface. >I believe what the original poster was trying to do is see traffic per >IP alias, which netstat -i does not do. (It does show you a line for >each alias, but note how all the numbers are the same...) Right you are. Whoopsie. I'll shut up then. -- -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au > Web Hosting Phone: +61 8 8223 2288 > Streaming Media Services ?: http://jesse.va.com.au > Telehousing / Colocation ICQ: 4766684 > Internet Systems Consulting > Internet Application Design To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message