From owner-freebsd-isp Mon May 22 10:35:21 2000 Delivered-To: freebsd-isp@freebsd.org Received: from hindenburg.eboai.org (hindenburg.eboai.org [205.181.254.190]) by hub.freebsd.org (Postfix) with ESMTP id C9DA537B5B9 for ; Mon, 22 May 2000 10:35:15 -0700 (PDT) (envelope-from chip@chocobo.cx) Received: by hindenburg.eboai.org (Postfix, from userid 1000) id DC7C03D5D; Mon, 22 May 2000 13:35:13 -0400 (EDT) Date: Mon, 22 May 2000 13:35:13 -0400 From: Chip Marshall To: jesse reynolds Cc: "D. W. Piper" , freebsd-isp@FreeBSD.ORG Subject: Re: Interface alias accounting? Message-ID: <20000522133513.B12901@setzer.chocobo.cx> Reply-To: chip@chocobo.cx References: <20000519121531.A73613@setzer.chocobo.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.4i In-Reply-To: ; from jesse@va.com.au on Mon, May 22, 2000 at 02:42:57PM +0930 X-URL: http://www.chocobo.cx/chip/ X-OS: FreeBSD 3.4-RELEASE i386 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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...) -- Chip Marshall http://www.chocobo.cx/chip/ Finger for PGP GCM/CS d+(-) s+:++ a18>? C++ UB++++$ P+++$ L- E--- W++ N+@ o K- w O M+ V-- PS PE Y? PGP++ t+@ 5 X R>+ tv+() b++>+++ DI++++ D(-) G++ e>++ h!>++ r-- y- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message