From owner-freebsd-questions Thu Feb 27 06:05:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA27856 for questions-outgoing; Thu, 27 Feb 1997 06:05:35 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA27851 for ; Thu, 27 Feb 1997 06:05:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id GAA04752; Thu, 27 Feb 1997 06:04:34 -0800 (PST) Message-Id: <199702271404.GAA04752@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Christoph Kukulies cc: dwhite@resnet.uoregon.edu, kmitch@weenix.guru.org, questions@freebsd.org Subject: Re: forwarding broadcast packets between interfaces In-reply-to: Your message of "Thu, 27 Feb 1997 10:23:44 +0100." <199702270923.KAA17835@gil.physik.rwth-aachen.de> From: David Greenman Reply-To: dg@root.com Date: Thu, 27 Feb 1997 06:04:34 -0800 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> On Wed, 26 Feb 1997, Keith Mitchell wrote: >> >> > Is there any way to forward broadcast packets between interfaces?? >> > >> > I would like to be able to browse the windows machines on the other side >> > of the gateway with a windows machine behind the gateway. The problem is >> > the windows machine doesn't get the broadcasts so it doesn't know they are >> > there. Otherwise, it can connect to them fine. It is using Netbios over >> > TCPIP (NetBT). >> > >> > Also, it would be nice if I could echo the rwho packets to the local subnet >> > as well. >> >> Perhaps; try setting gateway=YES in /etd/sysconfig then add the proper >> routes. > >No, this won't work. broadcasts are UDP packets which are not routed by >a gateway (normally). There may be a way to tell the kernel (with an option) >to do UDP routing. I remember that Garrett (or David Greenman) once gave me >that tip. Broadcasts have nothing to do with UDP packets other than a UDP packet, like any other IP packet, may or may not be sent to a broadcast address. It is true that packets sent to the broadcast address are not routed through the gateway, and aside from creative mis-configuration, there isn't any way you can get the gateway to pass them through, either. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project