From owner-freebsd-net@FreeBSD.ORG Mon Nov 21 19:54:34 2005 Return-Path: X-Original-To: net@freebsd.org 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 145FF16A41F for ; Mon, 21 Nov 2005 19:54:34 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from dbmail-mx4.orcon.co.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B1E043D55 for ; Mon, 21 Nov 2005 19:54:33 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by dbmail-mx4.orcon.co.nz (8.13.2/8.13.2/Debian-1) with ESMTP id jALJsIFW026357; Tue, 22 Nov 2005 08:54:19 +1300 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 0413E2842D; Tue, 22 Nov 2005 08:54:20 +1300 (NZDT) Date: Tue, 22 Nov 2005 08:54:20 +1300 From: Andrew Thompson To: Dag-Erling Sm?rgrav Message-ID: <20051121195420.GA9249@heff.fud.org.nz> References: <86k6f74ci2.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86k6f74ci2.fsf@xps.des.no> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87/1181/Tue Nov 22 00:10:32 2005 on dbmail-mx4.orcon.co.nz X-Virus-Status: Clean Cc: net@freebsd.org Subject: Re: if_bridge broadcast X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 19:54:34 -0000 On Thu, Nov 17, 2005 at 02:42:13PM +0100, Dag-Erling Sm?rgrav wrote: > I have a box that amongst other tasks serves as a printer server and a > wlan bridge. The wired and wireless interfaces are members of the > bridge, and are unconfigured (except for ssid etc. on the wireless > interface). The bridge itself has an IP address, is subject to packet > filtering etc. > > There is a hitch, though: the bridge does not have the IFF_BROADCAST > flag set, so CUPS browsing (which is based on sending printer status > announcements to the broadcast address) doesn't work. I think this was just an oversight. > Is there any reason why a bridge can't have the IFF_BROADCAST set - if > not unconditionally, then at least when all its members have it? Since we are an ethernet bridge i'd say set it unconditionally, I will do it soon unless anyone says otherwise. Andrew