From owner-freebsd-net@FreeBSD.ORG Thu Jun 19 16:20:05 2003 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 93B6437B401 for ; Thu, 19 Jun 2003 16:20:05 -0700 (PDT) Received: from sccrmhc11.attbi.com (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C8543FA3 for ; Thu, 19 Jun 2003 16:20:04 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (sccrmhc11) with ESMTP id <200306192320020110080c5je>; Thu, 19 Jun 2003 23:20:03 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA50562; Thu, 19 Jun 2003 16:20:01 -0700 (PDT) Date: Thu, 19 Jun 2003 16:19:59 -0700 (PDT) From: Julian Elischer To: agent dero In-Reply-To: <20030619233434.M7791@bluhayz.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: FreeBSD = Router, and vice versa 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: Thu, 19 Jun 2003 23:20:05 -0000 basically I think that is right, as long as the provider is supplying enough addresses for all the clients.. if not then you need to be using NAT on the external interface. This implies running ipfw, but then, you probably should be doing that anyhow.. On Thu, 19 Jun 2003, agent dero wrote: > I guess this is a simple question, but I have never done something like this > before, so I figure I'll ask. I have been using FBSD for a while, but now I > need to ship a FBSD server half way across america, and have a newbie press > the power button, plug in two network cards, and have it work. > > I have already setup the two network cards on the machine, both with DHCP, > meaning when plugged in interface fxp0 will receive via DHCP an IP from the > broadband provider, and then on interface dc0, the client computers will > retreive a LAN IP address. I also configured the rc.conf so that it is > enabled as a gateway. But is that all I need to do? > > Help appreciated. > -dero > _______________________________________________ > 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" >