From owner-freebsd-questions Tue Dec 4 12:12: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web14809.mail.yahoo.com (web14809.mail.yahoo.com [216.136.224.230]) by hub.freebsd.org (Postfix) with SMTP id F133537B416 for ; Tue, 4 Dec 2001 12:11:57 -0800 (PST) Message-ID: <20011204201157.2347.qmail@web14809.mail.yahoo.com> Received: from [207.139.167.27] by web14809.mail.yahoo.com via HTTP; Tue, 04 Dec 2001 12:11:57 PST Date: Tue, 4 Dec 2001 12:11:57 -0800 (PST) From: Chris Appleton Subject: Re: ipf and router To: Fernando Gleiser Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20011204161725.I71623-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Fernando Gleiser wrote: > On Tue, 4 Dec 2001, Chris Appleton wrote: > > > > > 207.250.250.1 IS the dsl router. i want traffic > > destined for it to use rl0 and traffic for the > rest of > > the subnet to use rl1. then filter in between. > what > > would a rough table look like to accomodate this? > > > You dont need to set up a special routing table. > just ifconfig rl0 with > the IP your isp gave you, and ifconfig rl1 with a > private IP. The ifconfig > command sets the routes for the directly attached > networks automagically for > you. Then enable IP forwarding (sysctl -w > net.inet.ip.forwarding=1, or put > "gateway_enable=YES" in rc.conf), set your dsl > router as the default route > and you are done. > > In your first post I didn't see the entries > corresponding to rl1, and I > suspect you haven't configured it yet. i may have mixed up the rl's but that's the jist. what you've said makes sense but the complication is still that the "private" is the same subnet - no nat. i only have the 1 c class and want to separate the router from the rest of the (same) network. a bridge will do this but i'm wondering if i can do it with route. thanks again __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message