From nobody@FreeBSD.org  Wed Feb  1 12:23:05 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB40916A422
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Feb 2006 12:23:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 74A5943D53
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Feb 2006 12:23:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k11CN24D094019
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 1 Feb 2006 12:23:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k11CN2Tt094018;
	Wed, 1 Feb 2006 12:23:02 GMT
	(envelope-from nobody)
Message-Id: <200602011223.k11CN2Tt094018@www.freebsd.org>
Date: Wed, 1 Feb 2006 12:23:02 GMT
From: Vasily Petrov <larry@fantasyclub.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_bridge does not broadcast
X-Send-Pr-Version: www-2.3

>Number:         92677
>Category:       kern
>Synopsis:       if_bridge does not broadcast
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 01 12:30:06 GMT 2006
>Closed-Date:    Wed Feb 01 19:33:14 GMT 2006
>Last-Modified:  Wed Feb 01 19:33:14 GMT 2006
>Originator:     Vasily Petrov
>Release:        6.0-RELEASE
>Organization:
>Environment:
FreeBSD other.lan 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Jan 27 01:30:30 KRAT 2006     root@other.lan:/usr/src/sys/i386/compile/GENERIC i386

>Description:
Bridge network device does not supports broadcast packets, however man page mentioned it does.
BROADCAST flag is not specified in interface flags and broadcast packets does not send (nmblookup failing to lookup even self on bridge interface).
>How-To-Repeat:
ifconfig bridge0 create
>Fix:
Will try to solve in kernel sources soon
>Release-Note:
>Audit-Trail:

From: =?windows-1251?b?wuDx6Ovo6SDP5fLw7uI=?= <larry@fantasyclub.ru>
To: bug-followup@freebsd.org,
 larry@fantasyclub.ru
Cc:  
Subject: Re: kern/92677 : if_bridge does not broadcast
Date: Wed, 1 Feb 2006 19:59:24 +0700

 I don't think it is complete solution, but nmblookup started to function 
 properly for me on broadcast lookups. However it still does not lookup self 
 name (as it does on normal network interfaces).
 
 --- if_bridge.c.orig    Fri Oct 28 03:43:07 2005
 +++ if_bridge.c Wed Feb  1 19:44:56 2006
 @@ -454,5 +454,5 @@
         if_initname(ifp, ifc->ifc_name, unit);
         ifp->if_mtu = ETHERMTU;
 -       ifp->if_flags = IFF_MULTICAST;
 +       ifp->if_flags = IFF_MULTICAST|IFF_BROADCAST;
         ifp->if_ioctl = bridge_ioctl;
         ifp->if_output = bridge_output;
State-Changed-From-To: open->closed 
State-Changed-By: thompsa 
State-Changed-When: Wed Feb 1 19:29:52 UTC 2006 
State-Changed-Why:  
This has already been fixed in r1.35 and will work in the upcomming 6.1 release. Thanks for looking into it thou. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92677 
>Unformatted:
