From owner-freebsd-net Thu Aug 9 9:57:56 2001 Delivered-To: freebsd-net@freebsd.org Received: from bilver.wjv.com (dhcp-1-111.n01.orldfl01.us.ra.verio.net [157.238.210.111]) by hub.freebsd.org (Postfix) with ESMTP id 5E53E37B403; Thu, 9 Aug 2001 09:57:49 -0700 (PDT) (envelope-from bill@bilver.wjv.com) Received: (from bill@localhost) by bilver.wjv.com (8.11.1/8.11.1) id f79Gvmd33221; Thu, 9 Aug 2001 12:57:48 -0400 (EDT) (envelope-from bill) Date: Thu, 9 Aug 2001 12:57:47 -0400 From: Bill Vermillion To: Jonathan Chen Cc: bv@wjv.com, net@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: forwarding broadcast Message-ID: <20010809125747.A33178@wjv.com> Reply-To: bv@wjv.com References: <20010809113638.A9519@enterprise.spock.org> <20010809122352.B32613@wjv.com> <20010809123056.G9519@enterprise.spock.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010809123056.G9519@enterprise.spock.org>; from jon@FreeBSD.ORG on Thu, Aug 09, 2001 at 12:30:56PM -0400 Organization: W.J.Vermillion / Orlando - Winter Park Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 09, 2001 at 12:30:56PM -0400, Jonathan Chen thus sprach: > On Thu, Aug 09, 2001 at 12:23:52PM -0400, Bill Vermillion wrote: > > On Thu, Aug 09, 2001 at 11:36:38AM -0400, Jonathan Chen thus sprach: > > > > > On FreeBSD -CURRENT and -STABLE, packets to broadcast addresses > > > are not forwarded. For instance, if I have a FreeBSD router with > > > interfaces 192.168.1.1 and 192.168.2.1, and I send packets from > > > 192.168.1.2 to 192.168.2.255, the packets are dropped to the > > > floor. IMO, this is wrong... > > But the question now is - what is the netmask on these interfaces.? > > That will make a difference. > These are both class C networks, and their netmask is specified > accordingly (/24). I'm pretty sure my setup is correct here. So they are two separate networks therefore a broadcast for one should not go the other. If on the other hand you netmask was 255.255.252.0 then 192.168.0.x thru 192.168.3.255 would be part of the same network and you'd expect a broadcast to propagate. At least this is how I understand how it works, and I could be wrong. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message