From owner-freebsd-net Thu Dec 14 19:28:42 2000 From owner-freebsd-net@FreeBSD.ORG Thu Dec 14 19:28:40 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from cgaylord.async.vt.edu (e028121.vtacs.vt.edu [63.164.28.121]) by hub.freebsd.org (Postfix) with ESMTP id 48D4937B400 for ; Thu, 14 Dec 2000 19:28:40 -0800 (PST) Received: by cgaylord.async.vt.edu (Postfix, from userid 1000) id 7943C1F9; Thu, 14 Dec 2000 22:28:39 -0500 (EST) Date: Thu, 14 Dec 2000 22:28:39 -0500 From: Clark Gaylord To: freebsd-net@freebsd.org Subject: non-learning bridge for pathological network Message-ID: <20001214222838.B84586@cgaylord.async.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: gaylord@cgaylord.async.vt.edu Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am interested in creating a pathological lab network with the following forwarding rules: - three networks (A,B,C) - packets from A or C are forwarded to B - packets from B are forward to both A and C I was thinking of using BRIDGE+ipfw to create this by hacking bridge.c so that all dsts are UNKNOWN, then filtering via ipfw by deny ip from A to C deny ip from C to A Seems like this would work, but I was wondering what others' thoughts might be on this approach. Perhaps BRIDGE could have a (compile-time?) non-learning flag so that all packets get forwarded as if they are UNKNOWN. Oh, btw, I also want tcpdump to work on any of these interfaces. ;-) Thanks. Clark cgaylord@vt.edu ----- End forwarded message ----- -- Clark K. Gaylord Blacksburg, Virginia USA cgaylord@vt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message