From owner-freebsd-questions Tue Dec 5 9: 4:50 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 09:04:48 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from apollo.ocsny.com (unknown [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 3420037B400 for ; Tue, 5 Dec 2000 09:04:47 -0800 (PST) Received: from ocsinternet.com (fw234.ocsny.com [204.107.76.234]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id MAA12995; Tue, 5 Dec 2000 12:04:27 -0500 (EST) Message-ID: <3A2D1F97.8A3A0E0F@ocsinternet.com> Date: Tue, 05 Dec 2000 12:02:15 -0500 From: mikel X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: heistand@heistand.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bridgin/natd/ipfw question References: <20001205150041.A31AF1B244@wendell.heistand.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Plan A. You need to set everything on the inside to fake IPs. Once that is set use static NAT to map real IPs to the machines new fake ip. Plan B. add another nic to you gateway, and vlan the switch.... heistand@heistand.org wrote: > Hi folks, > > gateway switch > |-----| | > | | |---- machines with real IPs > ---- dsl line --------| |---------| > Real IP| |Real IP |---- machines with fake IPs > |-----| | > > What I would like to do is have both the real IP machines and the fake IP > machines downstream of the switch be able to get out to the world. > At the moment I can only do one or the other. > I am running the gateway box in bridging mode and with natd running. > When I enable the ipfw divert rule then I can get out on the fake IPs > but then the real ones stop getting out. Without the ipfw divert > then just the opposite happens. > Anybody have a thought on how to get both to see the world at the > same time? > > ps1: if your not using a fixed width font the ascii pic will look bad, sorry > ps2: thanks to whoever fixed the bug in the bridging/ethernet driver code > so I can actually run in bridging mode without crashing. > > steve > > -- > Steve Heistand > heistand@heistand.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message