Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 18:04:14 -0400
From:      Barney Wolff <barney@databus.com>
To:        Matthew Grooms <mgrooms@shrew.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: broadcast udp packets ...
Message-ID:  <20030701220414.GA94127@pit.databus.com>
In-Reply-To: <200307012146.h61LkXOW001888@hole.shrew.net>
References:  <3F01DA79.4080709@mac.com> <200307012146.h61LkXOW001888@hole.shrew.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701220414.GA94127>