From owner-freebsd-questions@FreeBSD.ORG Sat Mar 31 02:21:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A022716A402 for ; Sat, 31 Mar 2007 02:21:42 +0000 (UTC) (envelope-from Kevin@snapshotgroup.com) Received: from mail.snapshotgroup.com (mail.snapshotgroup.com [71.32.222.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7054213C457 for ; Sat, 31 Mar 2007 02:21:42 +0000 (UTC) (envelope-from Kevin@snapshotgroup.com) Received: from 10.0.1.104 ([10.0.1.104]) by fs1snapshot.SnapShot.local ([10.0.1.254]) with Microsoft Exchange Server HTTP-DAV ; Sat, 31 Mar 2007 02:12:07 +0000 MIME-Version: 1.0 User-Agent: Microsoft-Entourage/11.3.3.061214 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Date: Fri, 30 Mar 2007 19:09:40 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Router with 2 internet connections thread-index: AcdzOaOx4i+byN8sEduVzAAKlZf+wA== From: "Kevin Glick" To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Router with 2 internet connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 02:21:42 -0000 I've got a BSD router with two internet connections: dc0 (DSL) and dc1 (Cable) I also have an internal nic: rl0 (192.168.0.1) I've got PF setup and running nat. What I need to know is this; Can I easily route all outbound traffic from 192.168.0.2 - 192.168.0.250 = out the dc1 interface, AND route traffic from 192.168.0.251 - 192.168.0.254 = out the dc0 interface with PF and something else? Currently, PF redirects the traffic correctly, however, the traffic from = the upper block goes out the default route (gateway of dc1). So the traffic never comes back. I guess the problem is that I'm sending the nat'd packets out as the IP = of dc0, but they're being send out dc1. Make sense? Anybody follow this, and have a useful suggestion? -- Kevin Glick