From owner-freebsd-bugs Mon May 13 16:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8054437B405 for ; Mon, 13 May 2002 16:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4DNo3B10130; Mon, 13 May 2002 16:50:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 13 May 2002 16:50:03 -0700 (PDT) Message-Id: <200205132350.g4DNo3B10130@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "james brown" Subject: Re: bin/37602: netstat -i -b does not count outgoing packets for ip aliases Reply-To: "james brown" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37602; it has been noted by GNATS. From: "james brown" To: "Crist J. Clark" , FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/37602: netstat -i -b does not count outgoing packets for ip aliases Date: Mon, 13 May 2002 16:45:04 -0700 (PDT) > It doesn't make a lot of sense to track outgoing packets by source IP > address on an interface. The destination IP address determines which i think in our situation it does make sense. here is our setup: - a single network interface. - multiple ip address aliases on that interface. - multiple http and ftp daemons bound to those ip addresses. we want to measure the network traffic for each ip address using netstat -i -b in order to get statistics on how much traffic is moving in and out of these daemons. > If you are playing with ipfw(8) accounting, you can see this by adding > rules like, i am aware that we can count bytes using ipfw accounting but this only produces the total in/out combined. we were hoping to use netstat because it displays in and out separately. the bottom line is netstat -i -b does not appear to be working properly for ip aliases, this is why i submitted the gnats report. thank you, james To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message