From owner-freebsd-hackers Fri Jun 21 0:36:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 45A5637B40E; Fri, 21 Jun 2002 00:36:04 -0700 (PDT) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id LAA16091; Fri, 21 Jun 2002 11:37:10 +0400 (MSD) Message-Id: <200206210737.LAA16091@aaz.links.ru> Subject: Re: multiple gateways In-Reply-To: <200206202329.17885.Peter.Blok@inter.NL.net> from "Peter J. Blok" at "Jun 20, 2 11:29:17 pm" To: Peter.Blok@inter.NL.net (Peter J. Blok) Date: Fri, 21 Jun 2002 11:37:09 +0400 (MSD) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Peter J. Blok writes: > 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. Source interface instead of source address. source address can be spoofed Or better some thing for routes as jail for processes? Different routing tables in one kernel And assign interfaces to tables. > 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 -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message