From owner-freebsd-net@FreeBSD.ORG Sun Sep 12 14:37:41 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 436B516A4CE for ; Sun, 12 Sep 2004 14:37:41 +0000 (GMT) Received: from mail.icn.bmstu.ru (h133.net37.bmstu.ru [195.19.37.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E8ED43D4C for ; Sun, 12 Sep 2004 14:37:40 +0000 (GMT) (envelope-from citrin@icn.bmstu.ru) Received: from citrin.icn.bmstu.ru (tiny.icn.bmstu.ru [192.168.54.120]) by mail.icn.bmstu.ru (Postfix) with ESMTP id D658892DC2 for ; Sun, 12 Sep 2004 18:37:07 +0400 (MSD) Received: from c3n.icn.bmstu.ru (c3n.icn.bmstu.ru [192.168.8.254]) by citrin.icn.bmstu.ru (Postfix) with ESMTP id 36EB0451DE for ; Sun, 12 Sep 2004 18:37:04 +0400 (MSD) Date: Sun, 12 Sep 2004 18:35:26 +0400 From: "Anton V. Yuzhaninov" X-Mailer: The Bat! (v2.11.02) CD5BF9353B3B7091 Organization: www.icn.bmstu.ru X-Priority: 3 (Normal) Message-ID: <487311938.20040912183526@icn.bmstu.ru> To: Bob Ababurko In-Reply-To: <5.2.1.1.0.20040911214032.01bfbbd8@mail.dc2.adelphia.net> References: <5.2.1.1.0.20040911194241.01c0e928@mail.dc2.adelphia.net> <5.2.1.1.0.20040911214032.01bfbbd8@mail.dc2.adelphia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: gateway for separate networks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: citrin@icn.bmstu.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 14:37:41 -0000 Policy based routing can be necessary for you? It can be made with the help ipfw fwd or ipfilter: http://www.bsdnews.org/01/policy_routing.php Bob Ababurko wrote: BA> I should have been more descriptive in describing what I need. I have two BA> networks that are routed to me via a serial connection, namely a T1. I BA> have just installed a new router and it has two ethernet ports that will BA> route to the two different networks. What I want to do is have a single BA> machine have two routes to the Internet, but each NIC going through its BA> respective network...one is a /24 and the other a /28. So, i would think BA> that this would require that "fancier setup", due to the fact that I want BA> traffic going out each nic to go through its networks gateway. Now, what BA> is this fancier setup? -- WBR, Anton V. Yuzhaninov