From owner-freebsd-stable@FreeBSD.ORG Wed May 12 15:29:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDCDF16A4CE for ; Wed, 12 May 2004 15:29:19 -0700 (PDT) Received: from murdock.sectornotfound.com (h209-139-233-100.gtcust.grouptelecom.net [209.139.233.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA0043D3F for ; Wed, 12 May 2004 15:29:17 -0700 (PDT) (envelope-from eli@gopostal.ca) Received: from gopostal.ca (localhost [127.0.0.1])i4CMTFZq006088 for ; Wed, 12 May 2004 15:29:15 -0700 (PDT) (envelope-from eli@gopostal.ca) Message-ID: <40A2A5C7.4030801@gopostal.ca> Date: Wed, 12 May 2004 15:31:35 -0700 From: "Eli K. Breen" User-Agent: Mozilla Thunderbird 0.5 (X11/20040406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Multiple Internet feeds to a single machine. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 22:29:20 -0000 Has anyone successfully used two different Internet connections to feed a single BSD machine, without BGP? The idea is as follows: I have connection "A" which is SDSL, so has a fast upload, but I have to pay for usage. and I have connection "B", which is Shaw, fast and relatively cheap, but has poor upload. Ultimately I would like to serve up content to the world via my SDSL line, yet blaze my regular surfing/download traffic over the Shaw wire. I would like all inbound connections to take place over SDSL, however all outbound to go over Cable. I've looked at ipfw, ngctl, routed, route, natd... so far ngctl looks like the way, but I'm having no luck. Also, it is possible to have two copies of natd running on different ports in order to accomplish this (each with their own config file)? natd-a : 8668, natd-b: 8669 and have the following rules in ipfw: 20 divert 8668 ip from any to any via 21 divert 8669 ip from any to any via Thanks! -E-