From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 01:25:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5228116A4CE for ; Fri, 7 Nov 2003 01:25:16 -0800 (PST) Received: from hobbiton.shire.net (hobbiton.shire.net [206.71.64.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC5E43FE3 for ; Fri, 7 Nov 2003 01:25:13 -0800 (PST) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.10) id 1AI2rg-000LSw-00 for freebsd-questions@FreeBSD.ORG; Fri, 07 Nov 2003 02:25:12 -0700 Mime-Version: 1.0 (Apple Message framework v606) Message-Id: <4932DC46-1104-11D8-A162-003065A70D30@shire.net> To: freebsd-questions@FreeBSD.ORG From: "Chad Leigh -- Shire.Net LLC" Date: Fri, 7 Nov 2003 02:25:11 -0700 X-Mailer: Apple Mail (2.606) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-0.9 required=5.4 tests=BAYES_30,USER_AGENT_APPLEMAIL version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: gateway/routing questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 09:25:16 -0000 I used to have a situation like this but it was a few years ago and I have forgotten how to set this up in detail. I have a class C network (public) and I have a FreeBSD box with lots of aliases on it providing various services. There is also a Mandrake Linux box that belongs to a customer sitting on my net as well. My provider where I am colocated provides the gateway for my class C in his fancy shmancy switch :-) . I want to add another box (a Linux one unfortunately for some high performance Java 1.4 stuff that won't run on FreeBSD) but I want to make it so that it is on a private class C that should co-exist with my regular class C. Lets say my public one is (this is made up) 128.1.1.0. This is where the FBSD box lives. I want to overlay 192.168.1.0 on my LAN. I will give my FBSD box the address (alias) of 192.168.1.1 . The new Linux box will have a bunch of addresses starting at 192.168.1.10 . The Linux box on the 192.168 network should not have any access going out (so I don't need NAT for example) nor of course coming in. But the FBSD box should continue to have its normal public access on 128.1.1.0 network plus access the Linux box on 192.168. The Linux box should be able to talk to the FBSD box. I think that all I need to do is add an alias address (and a static route out the ethernet port?) to my BSD box and it should work. I don't need anything else to have the BSD box live in this private network as well as the public one, since the private network does not need to get out at all. Is this reasoning correct? In my test lab here I cannot recreate this exactly given some restrictions on how it is set up and so when I go and take the Linux box and stick it in the data room on Friday it needs to work without lots of trouble :-) thanks Chad