From owner-freebsd-net@FreeBSD.ORG Thu Feb 5 07:50:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45F3716A4CE for ; Thu, 5 Feb 2004 07:50:42 -0800 (PST) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5446E43D3F for ; Thu, 5 Feb 2004 07:50:39 -0800 (PST) (envelope-from ryan@sasknow.com) Received: from earl.sasknow.net (earl.sasknow.net [207.195.92.130]) by ren.sasknow.com (8.12.8p1/8.12.8) with ESMTP id i15FoOeP047227; Thu, 5 Feb 2004 09:50:24 -0600 (CST) (envelope-from ryan@sasknow.com) Received: from ren (ren.sasknow.com [207.195.92.131]) by earl.sasknow.net (8.12.9p2/8.12.9) with ESMTP id i15Fo4ip032881; Thu, 5 Feb 2004 09:50:24 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 5 Feb 2004 09:50:04 -0600 (CST) From: Ryan Thompson To: Edwin Culp In-Reply-To: <20040204114251.fms0sgg44kgk40sk@mail.viviendaatualcance.com.mx> Message-ID: <20040205094541.U43880-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on earl.sasknow.net cc: net@freebsd.org Subject: Re: 2 isp's, one LAN and need to divide traffic. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 15:50:42 -0000 Edwin Culp wrote to net@freebsd.org: > Is there a, hopefully simple, way to divide bidirectional traffic > (LAN/INTERNET)between 2 internet connections more or less as the > diagram below. I've just added a DSL connection with a lot more > bandwidth than my ds0. I want to use the ds0 exclusively for email and > DNS that I consider, in my case, to be lower priority and the DSL for > all other traffic? Sure. Unless I'm misunderstanding what you're asking for... just bind your email and DNS server to one or two of the ds0 IPs. Don't listen for those services on the Provider2 IP. Then bind your other services to the Provider2 IP. If you're directing this all to an RFC1918 internal network (i.e., the server(s) do not have public IPs), you're probably already using NAT, and can make use of static NAT and the -redirect_port feature. - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America