From owner-freebsd-questions Sat Mar 1 12: 3:22 2003 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 2D6E337B401 for ; Sat, 1 Mar 2003 12:03:19 -0800 (PST) Received: from sage-american.com (adsl-65-71-135-139.dsl.crchtx.swbell.net [65.71.135.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166FD43F85 for ; Sat, 1 Mar 2003 12:03:04 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea.sage-american [192.168.0.3]) by sage-american.com (8.12.6/8.12.6) with SMTP id h21K2FFU029234; Sat, 1 Mar 2003 14:02:15 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030301140212.01df3e88@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 01 Mar 2003 14:02:12 -0600 To: "Aaron Burke" , From: "Jack L. Stone" Subject: RE: Hooking 2 Networks In-Reply-To: References: <3.0.5.32.20030301115349.01df7978@sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-1.6 required=4.5 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02 version=2.44-sageamerules_v1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:00 AM 3.1.2003 -0800, Aaron Burke wrote: >> Subject: Hooking 2 Networks >> >> >> I have two separate connections to the Internet with static >> IPs and two separate networks. Each network has an internal >> FBSD Gateway/NAT/caching DNS connected to the backbone & >> each have a separate LAN subnet (192.168.0.x on one and >> 10.0.0.x on another). The default router for each LAN is >> its internal Gateway machine, so they know which GW to use >> to get out to the Net. Each also operates web & mail >> servers. Each have their own switches from the Gateway >> machine cabled to the servers/workstations. > >This is possible and easy, it will however become a problem >if your machines are getting thier ip addresses via DHCP. >There may be a better way. (see below) Each machine has static internal IPs and listed in the /etc/hosts so finding them is easy. >You may find it more conveinient to attach one box to both >networks. The most simple solution would be to attach both >gateways to both networks. But dont attach the networks >together. Doing it this way avoids cable usage, and ethernet >broadcasts dont have to be advertized on both networks. >You also will not have to worry about setting up a specific >routes on each client. And because both routers will have >addresses on both networks they will auto-forward packets >between the two networks. > >The following is my idea of what your network looks like >now: > >{192.168.0.0}--[freebsd gateway]--{internet conn1} >(10.0.0.1}--[freebsd gateway]--{internet conn2} > >And what you want to do would be the following: > >{192.168.0.0}--[freebsd-gateway]--{internet conn1} > (link) >{10.0.0.0}--[freebsd gateway]---{internet conn2} > How did you "link" the two machines....? I have 2 NICs in each box - 1 for external and 1 for internal. >This will simplify the number of hops between the boxes >and you will get much higher speeds. And if you attach >the two FreeBSD boxes to both networks, you can still >safely use DHCP for providing IP addresses to the >clients. > >> >> I would like to hook the two networks together via the >> switches & I assUme I do this by running a cable from >> the one switch to the uplink on the other....??? >> Is my assumption correct? >Yes, this will work, but you may want to simply attach >both gateways to the two networks. > >> >> I would like to have all machines have direct & fast >> access via the internal NW cables for NFS access. >Attaching both unix boxes to both networks will solve >this for you. > >> >> As simple as this sounds, I have not found anything >> anywhere about hooking 2 networks together and if >> there is any problems. Guess I could just hook up >> and try it, but rather double-check with some one >> who has a similar setup -- or point me to a URL >> (I've googled, visited the networking and router sites >> - none talk about directly hooking 2 NWs). >> >> Appreciate any replies..... thanks! >No problem, let us know if you wish to continue this. >Lots of people on this list can provide good advise. >(better than me in many cases) > Just have those two questions above inline..... thanks again. >> >> Best regards, >> Jack L. Stone, >> Administrator >> >> SageOne Net >> http://www.sage-one.net >> jackstone@sage-one.net > > > Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message