From owner-freebsd-net@FreeBSD.ORG Tue Jan 27 05:38:38 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB121065691 for ; Tue, 27 Jan 2009 05:38:38 +0000 (UTC) (envelope-from manning@fireburns.net) Received: from unity.fireburns.net (dsl081-064-062.sfo1.dsl.speakeasy.net [64.81.64.62]) by mx1.freebsd.org (Postfix) with ESMTP id 418998FC18 for ; Tue, 27 Jan 2009 05:38:38 +0000 (UTC) (envelope-from manning@fireburns.net) Received: from manning by unity.fireburns.net with local (Exim 4.67) (envelope-from ) id 1LRgKw-0005Wk-F2 for freebsd-net@freebsd.org; Mon, 26 Jan 2009 21:18:10 -0800 Date: Mon, 26 Jan 2009 21:18:09 -0800 From: jmaps-fbsdnet@fireburns.net To: freebsd-net@freebsd.org Message-ID: <20090127051809.GA21017@fireburns.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Subject: Multiple ISP routing by port X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 05:38:38 -0000 I've read through what I could find in this list and also in the top 50 results on google... I can't find anything that'll actually make this work. My DSL ISP is too far away to give me anything faster than 1.5mbps down. In despiration I signed up for comcast to use for bulk traffic. Thus, I want to route critical traffic (22, 25, 53, (maybe) 80, 443) through the DSL provider and the rest through cable. I really feel like this should be possible with PF with something like: nat on $dsl_if from ($int_if:network) to any port $dslports -> ($dsl_if) nat on $cbl_if from ($int_if:network) to any -> ($cbl_if) or pass in quick on $int_if route-to { ($dsl_if $dsl_gw) } proto { tcp udp } from ($int_if:network) to any port $dslports Neither (or both) seem to do it. All traffic ends up getting routed through whichever ISP i have set as the default route. Now, I hear i can go over to linux and just configure both default routes at the same time (trivial with iproute2). But I'd rather avoid that if at all possible. Is there some trick I'm missing? Does quagga (bgpd) allow for this kind of routing scheme? Thanks, Jesse