From owner-freebsd-bugs Tue Jun 4 10:50:29 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA00675 for bugs-outgoing; Tue, 4 Jun 1996 10:50:29 -0700 (PDT) Received: from mailhost.Ipsilon.COM (foo-5-10.Ipsilon.COM [205.226.5.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA00660 for ; Tue, 4 Jun 1996 10:50:22 -0700 (PDT) Received: from ns.ipsilon.com (cell.Ipsilon.COM [205.226.1.190]) by mailhost.Ipsilon.COM (8.6.11/8.6.10) with SMTP id KAA08309 for ; Tue, 4 Jun 1996 10:49:40 -0700 Message-ID: <31B47792.3CDE@ipsilon.com> Date: Tue, 04 Jun 1996 10:51:14 -0700 From: Jerry Chen Reply-To: chen@ipsilon.com Organization: Ipsilon Networks, Inc. X-Mailer: Mozilla 3.0b3Gold (Win95; I) MIME-Version: 1.0 To: bugs@freebsd.org Subject: 'netstat -i' shows incorrect counters for logical interfaces Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I can use 'ifconfig alias' to set multiple ip addresses for an interface. However, 'netstat -i' shows that all of the logical interfaces for 1 physical interface have the same values for Ipkts, Opkts and so on. This is because the counters are maintained on a per physical interface basis. They should be maintained per logical interface to truly support logical interfaces. 'netstat -i' should get the counters from IP instead of networking drivers, right? Jerry