From owner-freebsd-ipfw Wed Aug 21 0:32:16 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B95EE37B400 for ; Wed, 21 Aug 2002 00:32:14 -0700 (PDT) Received: from web12904.mail.yahoo.com (web12904.mail.yahoo.com [216.136.174.71]) by mx1.FreeBSD.org (Postfix) with SMTP id 7EDE043E3B for ; Wed, 21 Aug 2002 00:32:14 -0700 (PDT) (envelope-from john_resnier@yahoo.com) Message-ID: <20020821073213.94858.qmail@web12904.mail.yahoo.com> Received: from [208.38.8.48] by web12904.mail.yahoo.com via HTTP; Wed, 21 Aug 2002 00:32:13 PDT Date: Wed, 21 Aug 2002 00:32:13 -0700 (PDT) From: a a Subject: Policy routing using IPFW for multiple ISP's To: freebsd-ipfw@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2117792546-1029915133=:93084" Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-2117792546-1029915133=:93084 Content-Type: text/plain; charset=us-ascii Here's my setup FreeBSD 4.6.2 box with 3 NICS Compiled with the following options options IPSTEALTH options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT options IPFIREWALL_FORWARD NIC1 - ed0 connected to my cable modem 24.86.xx.xx Default Gateway NIC2 - rl0 conected to my DSL Modem 199.185.xx.xx NIC3 - fxp0 connected to my LAN 192.168.1.1 Here's the current IPFW rules 00100 fwd DSL-Gateway ip from any to 66.25.xx.0/24 out xmit ed0 00200 divert 8668 ip from any to any via ed0 00200 divert 8669 ip from any to any via rl0 65000 allow ip from any to any What I'm trying to do is have all traffic go thru the cable connection except for traffic destined for the 66.25.xx.0/24 range. I would like that range to go thru the DSL connection. Currently its not working. Has anyone tried this before? Is this even possible? Thanks in advance John Resnier --------------------------------- Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs --0-2117792546-1029915133=:93084 Content-Type: text/html; charset=us-ascii

Here's my setup

FreeBSD 4.6.2 box with 3 NICS

Compiled with the following options
options         IPSTEALTH
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPDIVERT  
options         IPFIREWALL_FORWARD  

NIC1 - ed0 connected to my cable modem 24.86.xx.xx Default Gateway
NIC2 - rl0 conected to my DSL Modem 199.185.xx.xx
NIC3 - fxp0 connected to my LAN 192.168.1.1

Here's the current IPFW rules

00100 fwd DSL-Gateway ip from any to 66.25.xx.0/24 out xmit ed0
00200 divert 8668 ip from any to any via ed0
00200 divert 8669 ip from any to any via rl0
65000 allow ip from any to any

What I'm trying to do is have all traffic go thru the cable connection except for traffic destined for the 66.25.xx.0/24 range. I would like that range to go thru the DSL connection.  Currently its not working.  Has anyone tried this before?  Is this even possible? 

Thanks in advance

John Resnier





Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs --0-2117792546-1029915133=:93084-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message