From owner-freebsd-hackers Thu Jun 20 14:29:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 1272E37B408; Thu, 20 Jun 2002 14:29:22 -0700 (PDT) Received: from bsdpc ([80.60.248.65]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GY0X0W00.U3B; Thu, 20 Jun 2002 23:29:20 +0200 Content-Type: text/plain; charset="us-ascii" From: "Peter J. Blok" To: freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: multiple gateways Date: Thu, 20 Jun 2002 23:29:17 +0200 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206202329.17885.Peter.Blok@inter.NL.net> 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 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