Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 00:32:13 -0700 (PDT)
From:      a a <john_resnier@yahoo.com>
To:        freebsd-ipfw@FreeBSD.ORG
Subject:   Policy routing using IPFW for multiple ISP's
Message-ID:  <20020821073213.94858.qmail@web12904.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
--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

<P>Here's my setup</P>
<P>FreeBSD 4.6.2 box with 3 NICS</P>
<P>Compiled with the following options<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPSTEALTH<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPFIREWALL<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPFIREWALL_VERBOSE<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPFIREWALL_VERBOSE_LIMIT=100<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPDIVERT&nbsp;&nbsp;<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPFIREWALL_FORWARD&nbsp;&nbsp;</P>
<P>NIC1 - ed0 connected to my cable modem 24.86.xx.xx Default Gateway<BR>NIC2 - rl0 conected to my DSL Modem 199.185.xx.xx<BR>NIC3 - fxp0 connected to my LAN 192.168.1.1<BR></P>
<P>Here's the current IPFW rules<BR><BR>00100 fwd DSL-Gateway&nbsp;ip from any to 66.25.xx.0/24 out xmit ed0<BR>00200&nbsp;divert 8668 ip from any to any via ed0<BR>00200&nbsp;divert 8669 ip from any to any via rl0<BR>65000 allow ip from any to any<BR><BR>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.&nbsp; Currently its not working.&nbsp; Has anyone tried this before?&nbsp; Is this even possible?&nbsp;</P>
<P>Thanks in advance</P>
<P>John Resnier</P><BR><BR><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://rd.yahoo.com/careers/mailsig/new/*http://www.hotjobs.com">HotJobs, a Yahoo! service</a> - 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020821073213.94858.qmail>