From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 11 13:20:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61D1616A418 for ; Mon, 11 Feb 2008 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 401CB13C458 for ; Mon, 11 Feb 2008 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BDK153021648 for ; Mon, 11 Feb 2008 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BDK1ZT021647; Mon, 11 Feb 2008 13:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 11 Feb 2008 13:20:01 GMT Resent-Message-Id: <200802111320.m1BDK1ZT021647@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olafur Osvaldsson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D79316A417 for ; Mon, 11 Feb 2008 13:10:36 +0000 (UTC) (envelope-from oli@virvir.rhnet.is) Received: from virvir.rhnet.is (virvir.rhnet.is [IPv6:2001:948:10:16::31]) by mx1.freebsd.org (Postfix) with ESMTP id A6C0213C45A for ; Mon, 11 Feb 2008 13:10:35 +0000 (UTC) (envelope-from oli@virvir.rhnet.is) Received: from virvir.rhnet.is (oli@localhost.rhnet.is [127.0.0.1]) by virvir.rhnet.is (8.13.8/8.13.8) with ESMTP id m1BDAX8H016874; Mon, 11 Feb 2008 13:10:33 GMT (envelope-from oli@virvir.rhnet.is) Received: (from oli@localhost) by virvir.rhnet.is (8.13.8/8.13.8/Submit) id m1BDAS7k016873; Mon, 11 Feb 2008 13:10:28 GMT (envelope-from oli) Message-Id: <200802111310.m1BDAS7k016873@virvir.rhnet.is> Date: Mon, 11 Feb 2008 13:10:28 GMT From: Olafur Osvaldsson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: scottl@samsco.org Subject: kern/120533: Multicast not accepted on bce devices X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olafur Osvaldsson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 13:20:02 -0000 >Number: 120533 >Category: kern >Synopsis: Multicast not accepted on bce devices >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 11 13:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Olafur Osvaldsson >Release: FreeBSD 6.2-RELEASE-p10 i386 >Organization: RHnet >Environment: System: FreeBSD virvir.rhnet.is 6.2-RELEASE-p10 FreeBSD 6.2-RELEASE-p10 #2: Sun Feb 10 23:19:45 GMT 2008 root@virvir.rhnet.is:/usr/obj/usr/src/sys/RHNET i386 >Description: It seems that the bce network device does not accept multicast packets by default and therefor rendering things like OSPF unusable. It on the other hand seems to send multicast packets just fine. The problem by what I have seen was seen as early as 2006 and discussed on freebsd-current: http://lists.freebsd.org/pipermail/freebsd-current/2006-November/067220.html Where Scott Long (Cc'd) reported that he had added this to his TODO list. It even looks to be the same problem as kern/117456 wich is marked as resolved >How-To-Repeat: Try receiving any multicast traffic on a bce interface. Like installing quagga and set up ospf. >Fix: Putting the interface in Promisc mode makes the problem vanish, the attached patch is another workaround. --- sys/dev/bce/if_bce.c.orig Mon Feb 11 12:41:34 2008 +++ sys/dev/bce/if_bce.c Sun Feb 10 22:25:06 2008 @@ -714,6 +714,7 @@ ifp->if_softc = sc; if_initname(ifp, device_get_name(dev), device_get_unit(dev)); ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; + ifp->if_flags |= IFF_ALLMULTI; /* Multicast bug workaround */ ifp->if_ioctl = bce_ioctl; ifp->if_start = bce_start; ifp->if_timer = 0; >Release-Note: >Audit-Trail: >Unformatted: