From owner-freebsd-net@FreeBSD.ORG Sun Sep 12 01:41:28 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 494FA16A4D0 for ; Sun, 12 Sep 2004 01:41:26 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E55B443D41 for ; Sun, 12 Sep 2004 01:41:25 +0000 (GMT) (envelope-from ababurko@adelphia.net) Received: from ample.adelphia.net ([24.52.224.96]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040912014125.PTFS2583.mta9.adelphia.net@ample.adelphia.net> for ; Sat, 11 Sep 2004 21:41:25 -0400 Message-Id: <5.2.1.1.0.20040911214032.01bfbbd8@mail.dc2.adelphia.net> X-Sender: ababurko@mail.dc2.adelphia.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Sat, 11 Sep 2004 21:41:16 -0400 To: freebsd-net@FreeBSD.org From: Bob Ababurko In-Reply-To: References: <5.2.1.1.0.20040911194241.01c0e928@mail.dc2.adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: gateway for separate networks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 01:41:28 -0000 I should have been more descriptive in describing what I need. I have two networks that are routed to me via a serial connection, namely a T1. I have just installed a new router and it has two ethernet ports that will route to the two different networks. What I want to do is have a single machine have two routes to the Internet, but each NIC going through its respective network...one is a /24 and the other a /28. So, i would think that this would require that "fancier setup", due to the fact that I want traffic going out each nic to go through its networks gateway. Now, what is this fancier setup? /bob At 05:01 PM 9/11/2004 -0700, you wrote: >Assuming the second nic is used for it's own private subnet, and not a >second route to the internet (which would require a much fancier setup ;-) >you don't need to do anything except add the interface, configure it, and >adjust any firewall rules to allow whatever access you need. > >Any services you are running on the box that SPECIFICALLY listen to a >certain address may be changed to listen on all addresses or to add this new >address if needed. > >hth. > >m/ > > > -----Original Message----- > > From: owner-freebsd-net@freebsd.org > > [mailto:owner-freebsd-net@freebsd.org]On Behalf Of Bob Ababurko > > Sent: Saturday, September 11, 2004 4:49 PM > > To: freebsd-net@FreeBSD.org > > Subject: gateway for separate networks > > > > > > Hello all- > > > > I want to install another NIC in my box running 5.2.1 to > > access another > > network. Since I have never done this before, I have a question > > about the > > gateway that the second NIC will use....more specifically, where do I > > configure the gateway for the second NIC. I have the > > defaultrouter in the > > rc.conf file for the first, do I do the same or do I add routes to tackle > > this. If someone could show me any resources on the web that deals with > > this,that would be great. > > > > thanks, > > Bob > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >