From owner-freebsd-questions Tue Dec 4 11:28:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 8B00137B405 for ; Tue, 4 Dec 2001 11:28:21 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id fB4JQXb74712; Tue, 4 Dec 2001 16:26:37 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Tue, 4 Dec 2001 16:26:33 -0300 (ART) From: Fernando Gleiser To: Chris Appleton Cc: Subject: Re: ipf and router In-Reply-To: <20011204183308.55175.qmail@web14803.mail.yahoo.com> Message-ID: <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 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. Fer > > thanks for the reply > > __________________________________________________ > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message