From owner-freebsd-questions Mon Jul 22 9:51:37 2002 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 3921337B400 for ; Mon, 22 Jul 2002 09:51:33 -0700 (PDT) Received: from smtp.a1poweruser.com (oh-chardon6a-62.clvhoh.adelphia.net [68.65.175.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E49B43E4A for ; Mon, 22 Jul 2002 09:51:32 -0700 (PDT) (envelope-from barbish@a1poweruser.com) Received: from barbish (lanwin1 [10.0.10.6]) by smtp.a1poweruser.com (Postfix) with SMTP id 3CFC096; Mon, 22 Jul 2002 12:58:21 -0400 (EDT) Reply-To: From: "Joe & Fhe Barbish" To: Cc: "FBSDQ" Subject: RE: FreeBSD as router Date: Mon, 22 Jul 2002 12:51:29 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020719134106.L96541-100000@kryptos.mud.pl> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 I did not see any response to your post which addressed your questions. So I will give it a try. You should look at man rc.conf or http://www.freebsd.org/cgi/man.cgi?query=rc.conf for details on router_enable="NO" # Set to YES to enable a routing daemon. gateway_enable="YES" # Activate this host to be a gateway. For an how-to on IPFW see http://www.freebsd-howto.com/HOWTO/Ipfw-Advanced-Supplement-HOWTO Now about the question of having 2 connections to 2 different ISP providers and sharing the resource between all LAN users with the ability for one connection to assume the full load if the other goes down is doable. How you do it depends on your ISP connection type, phone dialup, DSL, TV Cable connection, or T1 connection. Re-ask this question giving details about your 2 ISP connections. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Krzysztof Stryjek Sent: Friday, July 19, 2002 7:54 AM To: freebsd-questions@freebsd.org Subject: FreeBSD as router Hello! I was searching with google, but I was not able to find. I'm looking for HOWTO or other docs, how to build FreeBSD box as router. My network is: +------+ +----------------+ | |--IP1--| |---- Firm1 | inet | | FreeBSD router | | |--IP2--| |---- Firm2 +------+ +----------------+ Well, IP1 is IP number from one ISP, and IP2 from other. Idea is to have a spare connection, when one of them will be broken. What I need, is how to configure the kernel, /etc/rc.conf, some rules for ipfw, natd(?). Thanks in advantage P.S. I'm out fo list, so please write to me also -- /~\ The ASCII Krzysztof Stryjek \ / Ribbon Campaign wtp@mud.pl X Against HTML http://mud.pl/~wtp/ / \ Email! GG: 3608113 ICQ: 124986907 Go placidly amid the noise and waste, and remember what value there may be in owning a piece thereof. -- National Lampoon, "Deteriorata" 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