From owner-freebsd-questions Fri Jan 31 16: 1:54 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFE5337B401 for ; Fri, 31 Jan 2003 16:01:52 -0800 (PST) Received: from oak1a.cats.ohiou.edu (oak.cats.ohiou.edu [132.235.8.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED35943F43 for ; Fri, 31 Jan 2003 16:01:51 -0800 (PST) (envelope-from tq101100@ohio.edu) Received: from [192.168.0.2] (dhcp024-208-182-170.columbus.rr.com [24.208.182.170]) (authenticated bits=0) by oak2a.cats.ohiou.edu (8.12.5/8.12.5) with ESMTP id h0VNqTWf1319723 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 31 Jan 2003 18:52:30 -0500 (EST) Date: Fri, 31 Jan 2003 18:52:30 -0500 From: Thaddeus Quintin To: freebsd-questions@FreeBSD.ORG Subject: A twisted home network Message-ID: <188996853.1044039149@[192.168.0.2]> In-Reply-To: <3E3B05AD.90805@attbi.com> References: <3E3B05AD.90805@attbi.com> X-Mailer: Mulberry/2.2.1 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There's plenty of information on how to install two network cards (done that), how to enable a FreeBSD box to run as a gateway, do NAT, DHCP, etc. However, I'm having a mental block with how the cards should be configured. Here's how I want my network setup- CABLE MODEM-> D-link DI-701 Residential Gateway-> FreeBSD NIC dc0 -> FreeBSD NIC ep1 -> hub -> other computers... I'd like to leave the D-Link in place, since it has a built-in firewall and I'm not ready to start testing out my rules for ipfw. The D-Link assigns IP addresses Dynamically, or I can specify them statically. By default, the D-link has an IP address of 192.168.0.1 and the IP pool goes up from there. Where I get confused is how configure my network cards. Do I need a new IP prefix for the inner network? If the FreeBSD is a gateway, technically each NIC is connected to a different subnet, right? The card that will connect to the hub will need a Static IP address, since nothing is there to give an IP address. Does each NIC know of the other, or are the routing tables separate? This seems like a simple problem, but I've been scouring the handbook, freebsd diary, and the man pages, but I can't find any good examples. Thanks a bunch! Thaddeus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message