From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 15:21:39 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 A887516A4BF for ; Mon, 20 Oct 2003 15:21:39 -0700 (PDT) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF4F843F85 for ; Mon, 20 Oct 2003 15:21:38 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id 2280E5B6B0; Mon, 20 Oct 2003 15:17:59 -0700 (PDT) From: Wes Peters Organization: Softweyr.com To: Barney Wolff , sarat chandra Annadata , freebsd-net@freebsd.org, mgrooms@shrew.net, julian@elischer.org Date: Mon, 20 Oct 2003 15:21:26 -0700 User-Agent: KMail/1.5.2 References: <20031020174751.60464.qmail@web20805.mail.yahoo.com> <20031020190019.GD8721@saboteur.dek.spc.org> <20031020194959.GA64879@pit.databus.com> In-Reply-To: <20031020194959.GA64879@pit.databus.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310201521.26705.wes@softweyr.com> Subject: Re: Help Broadcasting a UDP packet on the LAN:URGENT 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: Mon, 20 Oct 2003 22:21:39 -0000 On Monday 20 October 2003 12:49, Barney Wolff wrote: > On Mon, Oct 20, 2003 at 08:00:19PM +0100, Bruce M Simpson wrote: > > Undirected broadcasts will only work if you do the following:- > > I've pointed out before that the gross hack of assigning IP address > 255.0.0.0/8 to the desired interface should work. I've just > confirmed that doing that, on RELENG_5_1 and RELENG_4, does result in > ping 255.255.255.255 sending ICMP packets out with that dest addr. I > have not personally tested UDP on FreeBSD, but this hack used to work > on Irix, which at least back then had a bsd-derived network stack, to > enable bootp to work with no kernel mods. But does it send the packet to all attached interfaces on a multi-homed host? This is the type of bug that has typically bitten such hackish solutions in the past. One real solution is worth much more than the sum of the sort-of but not really working hacks we have flying about now. Go Bruce! Go Bruce! ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com