From owner-freebsd-net@FreeBSD.ORG Tue Jul 1 15:04:16 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 2B5E137B401 for ; Tue, 1 Jul 2003 15:04:16 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42DDB43FF7 for ; Tue, 1 Jul 2003 15:04:15 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h61M4EQv094726; Tue, 1 Jul 2003 18:04:14 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h61M4Efq094725; Tue, 1 Jul 2003 18:04:14 -0400 (EDT) Date: Tue, 1 Jul 2003 18:04:14 -0400 From: Barney Wolff To: Matthew Grooms Message-ID: <20030701220414.GA94127@pit.databus.com> References: <3F01DA79.4080709@mac.com> <200307012146.h61LkXOW001888@hole.shrew.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307012146.h61LkXOW001888@hole.shrew.net> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: "freebsd-net@freebsd.org" Subject: Re: broadcast udp packets ... 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: Tue, 01 Jul 2003 22:04:16 -0000 On Tue, Jul 01, 2003 at 09:46:33PM +0000, Matthew Grooms wrote: > > In any case, I wrote a quick little program to generate a broadcast > message for use with testing the relay daemon ( I got tired of waiting for > bootp requests to be picked up by my cable modem as a test case ). > Unfortunately, I can never get the test program generate an all-routes > broadcast, they always come out as network directed broadcasts. There's a sleazy way. I was told it by Irix support in 1994, and if I'm not mistaken dhclient uses it still today. Ifconfig your interface with an alias of 255.0.0.1/8. Told you it was sleazy. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.