From owner-freebsd-net@FreeBSD.ORG Tue Apr 6 09:15:35 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA87616A4CF for ; Tue, 6 Apr 2004 09:15:35 -0700 (PDT) Received: from smtp-relay.tamu.edu (smtp-relay.tamu.edu [165.91.143.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC6543D60 for ; Tue, 6 Apr 2004 09:15:34 -0700 (PDT) (envelope-from daved@tamu.edu) Received: from [128.194.177.82] (dhcp-test-14.net.tamu.edu [128.194.177.82]) by smtp-relay.tamu.edu (8.12.10/8.12.10) with ESMTP id i36GFGhT004203 for ; Tue, 6 Apr 2004 11:15:17 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v613) To: net@freebsd.org Message-Id: <94823836-87E5-11D8-BD67-000A956E58AC@tamu.edu> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-3--118303430; protocol="application/pkcs7-signature" From: David J Duchscher Date: Tue, 6 Apr 2004 11:15:11 -0500 X-Mailer: Apple Mail (2.613) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Broadcast and Multicast counter (omcasts) - fxp driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 16:15:35 -0000 --Apple-Mail-3--118303430 Content-Type: multipart/mixed; boundary=Apple-Mail-2--118303614 --Apple-Mail-2--118303614 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I started using SNMP to monitor some floppy based routers we have and I have noticed that outgoing broadcast packets do not show up in the counters. Multicast packets where fine. I dug into some and SNMP daemon is reported what the OS is telling it. Does anybody have an idea what is wrong or where I should start looking through the kernel? I am not that familiar with the kernel sources so pointers would be helpful. DaveD --Apple-Mail-2--118303614 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0600; name="dmesg.txt" Content-Disposition: attachment; filename=dmesg.txt Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FBox 1.10.4 (FreeBSD 4.9-RELEASE-p4) Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 266615783 Hz CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 268435456 (262144K bytes) avail memory = 252706816 (246784K bytes) Pentium Pro MTRR support enabled md1: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at 7.1 pci0: at 7.2 irq 9 chip1: port 0x7000-0x700f at device 7.3 on pci0 pci0: (vendor=0x1274, dev=0x5000) at 13.0 irq 11 fxp0: port 0xfc40-0xfc7f mem 0xfede0000-0xfedfffff,0xfeddf000-0xfeddffff irq 10 at device 14.0 on pci0 fxp0: Ethernet address 00:02:b3:c7:7a:3d inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xfc00-0xfc3f mem 0xfeda0000-0xfedbffff,0xfedde000-0xfeddefff irq 15 at device 15.0 on pci0 fxp1: Ethernet address 00:02:b3:c7:7b:e4 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: