From owner-freebsd-net@FreeBSD.ORG Tue Jul 1 12:01: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 930E637B405 for ; Tue, 1 Jul 2003 12:01:16 -0700 (PDT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F5174403F for ; Tue, 1 Jul 2003 12:01:15 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030701190114.NRTQ4805.out003.verizon.net@mac.com>; Tue, 1 Jul 2003 14:01:14 -0500 Message-ID: <3F01DA79.4080709@mac.com> Date: Tue, 01 Jul 2003 15:01:13 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Grooms References: <200307011800.h61I0MOW001329@hole.shrew.net> In-Reply-To: <200307011800.h61I0MOW001329@hole.shrew.net> X-Enigmail-Version: 0.76.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.149.47.46] at Tue, 1 Jul 2003 14:01:14 -0500 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 19:01:16 -0000 Matthew Grooms wrote: > Is there any way to generate a udp broadcast ( all routes > 255.255.255.255 ) packet using a standard sendto() without it being > translated into a local network broadcast? Is this just not "allowed"? Are you trying to use 255.255.255.255 to reach something not on a local subnet? If you have multiple interfaces, a broadcast to 255.255.255.255 should go out on all of them. That being said, the all-ones broadcast address means "all local networks", and most routers will block such traffic from passing on in any event. -- -Chuck