Date: Fri, 11 Jul 2003 17:00:54 -0700 From: Wes Peters <wes@softweyr.com> To: Don Lewis <truckman@FreeBSD.org> Cc: freebsd-net@FreeBSD.org Subject: Re: broadcast udp packets ... Message-ID: <200307111700.54922.wes@softweyr.com> In-Reply-To: <200307112109.h6BL9mM7018764@gw.catspoiler.org> References: <200307112109.h6BL9mM7018764@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 11 July 2003 14:09, Don Lewis wrote: > 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. I forgot to say "on all interfaces which have broadcast enabled," which effectively weeds out the loopback interface amongst others. -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307111700.54922.wes>