From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 14:57:40 2004 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 0322316A4CE for ; Sat, 10 Apr 2004 14:57:40 -0700 (PDT) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 791DC43D49 for ; Sat, 10 Apr 2004 14:57:39 -0700 (PDT) (envelope-from bob89@bobj.org) Received: from mail.bobj.org ([68.101.76.11]) by lakermmtao08.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040410215739.NDFY13358.lakermmtao08.cox.net@mail.bobj.org> for ; Sat, 10 Apr 2004 17:57:39 -0400 Received: from bobj.wb4jcm.org ([192.168.132.167]) by neti.bobj.org with esmtp; Sat, 10 Apr 2004 17:57:37 -0400 From: Bob Johnson To: freebsd-questions@freebsd.org Date: Sat, 10 Apr 2004 17:57:35 -0400 User-Agent: KMail/1.6 References: <006301c41f24$d3a18c40$560dbace@call.gtn.ca> In-Reply-To: <006301c41f24$d3a18c40$560dbace@call.gtn.ca> X-Source-System: Bob's Laptop MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404101757.36100.bob89@bobj.org> cc: Rob G Subject: Re: Networking 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: Sat, 10 Apr 2004 21:57:40 -0000 On Saturday 10 April 2004 01:54 pm, Rob G <"Rob G" > wrote: > Hi All, > > I am new to the list, but I have tried researching the archives and > couldn't find exactly what I am looking for and would like your > opinion on how to do this: > > I have a 4Meg DSL connection with Multiple Static IPs. > > 69.63.33.### is my main IP that my router or System that does > authentication will always get. > > 209.213.231.###/29 is my block of 8 other IP's that route to my main > IP. > If your ISP is already routing these numbers to your main IP, then it should be easy. > Right now I have my fsb box running mail/web and other services and I > would like it to do the routing for my internal network of 4 or so > computers. I have a Hub that I can plug these other systems in to so > that is not a problem. > I believe all you need to do is set gateway_enable="YES" in rc.conf (and reboot -- I don't know the manual way to accomplish that). I think your box will automatically figure out which IP numbers are on which interface, and forward appropriately. If not, you will need to set up a static route to tell it which interface the 209.../29 subnet is on, since it won't use the default gateway to the Internet. Manually, you use the route(8) command to do this. I think you can automate it with the static_routes="" entry in rc.conf, but I don't know the syntax. > What would be the best way to use my block of statics and have them > Route properly through my BSD box. I would like to stay away from > NAT as I know it right now, broadband router, as it causes havoc with > my filesharing programs and would like to have my other systems > pretty much open to the internet and then start locking them down as > need be once I get them seeing the outside world and the outside > world seeing them. You shouldn't need to run a real router daemon for this simple situation, so you don't need to mess with router_enable in rc.conf. Now that I've typed all this, it occurs to me that the better answer is for you to read the appropriate section of the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html > > Regards, > Rob G > admin@internet-helpers.net Good luck. - Bob