From owner-freebsd-net@FreeBSD.ORG Wed Nov 19 13:03:18 2003 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 A456716A4CE for ; Wed, 19 Nov 2003 13:03:18 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D723043FF3 for ; Wed, 19 Nov 2003 13:03:17 -0800 (PST) (envelope-from ahoff@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Wed, 19 Nov 2003 16:03:13 -0500 Message-ID: From: Alex Hoff To: "'freebsd-net@freebsd.org'" Date: Wed, 19 Nov 2003 16:03:12 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: Multicast stats and bridging 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: Wed, 19 Nov 2003 21:03:18 -0000 So I was doing some counter and general ifMib testing and I set up a bridge with two PCs on either side sending data through the two bridged interfaces. It was working fine until I noticed that the bridge will only count incoming broadcast and multicast pkts. ie they come in if1 and are counted correctly in the stack and bridge stats, but then as they leave, they are no longer counted in the stack as nonunicast packets, but as unicast. They appear as unicast in both the stack and the bridge stats. (the packets that are sent are still multicast, its just the stats that appear wrong) What is the desired behavior of a multicast(and broadcast) pkt traveling through a bridge? Change it to count it going in *and* out? Or is there some reason, that I dont know about, for the current stat counting heuristics? Thanks, Alex Hoff