Date: Sat, 1 Mar 2003 11:00:48 -0800 From: "Aaron Burke" <aburke@nullplusone.com> To: "Jack L. Stone" <jackstone@sage-one.net>, <freebsd-questions@freebsd.org> Subject: RE: Hooking 2 Networks Message-ID: <AMEMKJNMFLJCJDLFIEDBMEDJCJAA.aburke@nullplusone.com> In-Reply-To: <3.0.5.32.20030301115349.01df7978@sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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) 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} 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) > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AMEMKJNMFLJCJDLFIEDBMEDJCJAA.aburke>