From owner-freebsd-hackers Thu Jun 20 16: 1:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 45D5137B420; Thu, 20 Jun 2002 16:00:31 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020620230030.ZOAX11426.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 20 Jun 2002 23:00:30 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA32992; Thu, 20 Jun 2002 15:56:07 -0700 (PDT) Date: Thu, 20 Jun 2002 15:56:06 -0700 (PDT) From: Julian Elischer To: "Peter J. Blok" Cc: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: multiple gateways In-Reply-To: <200206202329.17885.Peter.Blok@inter.NL.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You an do this for OUTGOING packets using ipfw and teh 'fwd' keyword. (it can be used to override 'next hop' routing decisions.) INCOMING is a whole different problem. On Thu, 20 Jun 2002, Peter J. Blok wrote: > Hi, > > I know this topic has been brought up numerous times. I have 4 IP4 internal > networks (sf0 .. sf3) > > I have a cable modem connection ep0 and a DSL ep1 connection too. I'd like to > route all traffic from sf0 and sf1 to the DSL connection and the others to > the cable modem. At the same time I'd like to offer the protection of > ipfilter. Traffic on sf0 should not see traffic on sf1 etc. > > Since this seems not possible with the both stable and current, I would like > to make a solution for it, inside the kernel. I am thinking of creating a > routing table based on source address and designate the right gateway. > > Thoughts and opinions are very welcome. Where do you suggest I start? > > Peter > > P.S. If this functionality exists (without bridging) I'd like to know as well > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message