From owner-freebsd-net@FreeBSD.ORG Fri Jul 11 14:09:59 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 F208E37B401 for ; Fri, 11 Jul 2003 14:09:58 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BAED43FCB for ; Fri, 11 Jul 2003 14:09:58 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9/8.12.9) with ESMTP id h6BL9mM7018764; Fri, 11 Jul 2003 14:09:52 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200307112109.h6BL9mM7018764@gw.catspoiler.org> Date: Fri, 11 Jul 2003 14:09:48 -0700 (PDT) From: Don Lewis To: wes@softweyr.com In-Reply-To: <200307111407.04591.wes@softweyr.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: mgrooms@shrew.net 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: Fri, 11 Jul 2003 21:09:59 -0000 On 11 Jul, Wes Peters wrote: > What we observed on our embedded system is the packet gets sent on all > attached interfaces, with dest IP 255.255.255.255, and a src IP of the > local address that has the default route. If there isn't a default > route, sending to 255.255.255.255 fails with "no route to host." > > This is bogus, so I propose to change it to a special case, where > packets sent to 255.255.255.255 will be sent on each attached > interface, with src IP of the interface "primary" address. Does this > sound reasonable? Should it work without a default route? (I think it > should, the special case of the all-call broadcast shouldn't even go > into rtalloc.) This sounds good. I think it should work without a default route.