From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 12:50:08 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 D966516A4B3 for ; Mon, 20 Oct 2003 12:50:08 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C899B43F3F for ; Mon, 20 Oct 2003 12:50:07 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9p2/8.12.9) with ESMTP id h9KJnxYL065150; Mon, 20 Oct 2003 15:49:59 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9p2/8.12.9/Submit) id h9KJnxZ4065149; Mon, 20 Oct 2003 15:49:59 -0400 (EDT) (envelope-from barney) Date: Mon, 20 Oct 2003 15:49:59 -0400 From: Barney Wolff To: sarat chandra Annadata , freebsd-net@freebsd.org, mgrooms@shrew.net, julian@elischer.org Message-ID: <20031020194959.GA64879@pit.databus.com> References: <20031020174751.60464.qmail@web20805.mail.yahoo.com> <20031020190019.GD8721@saboteur.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020190019.GD8721@saboteur.dek.spc.org> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.37 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 19:50:09 -0000 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. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.