From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 07:23:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9482A16A492 for ; Sun, 31 Dec 2006 07:23:08 +0000 (UTC) (envelope-from mstrickland16@nc.rr.com) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.25.9.101]) by mx1.freebsd.org (Postfix) with ESMTP id 5349B13C455 for ; Sun, 31 Dec 2006 07:23:08 +0000 (UTC) (envelope-from mstrickland16@nc.rr.com) Received: from ms-mss-03-ce0-1 (ms-mss-03-smtp-a [10.10.5.84]) by ms-smtp-02.southeast.rr.com (8.13.6/8.13.6) with ESMTP id kBV6pAJR019132 for ; Sun, 31 Dec 2006 01:51:11 -0500 (EST) Received: from southeast.rr.com (localhost [127.0.0.1]) by ms-mss-03.southeast.rr.com (iPlanet Messaging Server 5.2 HotFix 2.10 (built Dec 26 2005)) with ESMTP id <0JB40042KLPA2S@ms-mss-03.southeast.rr.com> for freebsd-questions@freebsd.org; Sun, 31 Dec 2006 01:51:10 -0500 (EST) Received: from [10.10.1.21] (Forwarded-For: [66.57.107.112]) by ms-mss-03.southeast.rr.com (mshttpd); Sun, 31 Dec 2006 01:51:10 -0500 Date: Sun, 31 Dec 2006 01:51:10 -0500 From: mstrickland16@nc.rr.com To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.10 (built Dec 26 2005) Content-language: en X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Mailman-Approved-At: Sun, 31 Dec 2006 12:26:07 +0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to configure switching between network interfaces? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2006 07:23:08 -0000 How to configure switching between network interfaces? I would like to determine how, or if, the following can be accomplished with FreeBSD. Configuration: A BSD box setup with 1 GbE NIC and a 4 port 10/100 NIC The GbE interface will have a static IP configured (192.168.10.x/24) Planned Implementation: Along with possibly serving other data such as NFS or HTTP traffic, I would like the interfaces to work as a switch. The GbE interface is a fiber optic NIC which connects to the rest of the network 100 or so meters away. I plan to use the other 4 interfaces to attach hosts to my network. I would prefer all of my hosts to be on the same subnet if possible, otherwise I would just configure routing between the appropriate interfaces. My question then is: Can the interfaces be configured to function as a switch would, allowing the connected hosts to recieve DHCP and other traffic "routing" from the fiber optic interface via the FreeBSD box. I know that in a basic configuration, 2 interfaces on the same subnet are not a best practice and would required special routing information. I assume that somewhere this can be configured. A good shove in the right direction would be most appreciated. Thanks, Mike