From owner-freebsd-questions@FreeBSD.ORG Sat Nov 15 14:04:37 2003 Return-Path: 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 6213E16A4CE for ; Sat, 15 Nov 2003 14:04:37 -0800 (PST) Received: from web20512.mail.yahoo.com (web20512.mail.yahoo.com [216.136.175.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CF63C43F3F for ; Sat, 15 Nov 2003 14:04:36 -0800 (PST) (envelope-from omsbud@yahoo.com) Message-ID: <20031115220436.27624.qmail@web20512.mail.yahoo.com> Received: from [24.189.5.51] by web20512.mail.yahoo.com via HTTP; Sat, 15 Nov 2003 14:04:36 PST Date: Sat, 15 Nov 2003 14:04:36 -0800 (PST) From: omsbud om To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Network setup for router X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 22:04:37 -0000 What's the proper way to setup a network w/ freebsd as the router and network windows machines to it? I got a network setup working, but I'm not sure whether I went about it correctly. I have two 3com nics in the router (xl0 and xl1), xl0 is connected directly to the cable modem w/ a CAT5 cable, xl1 is connected is connected to a port of the hub w/ a crossover cable. Then I just connect the remaining windows machines into the hub and set the local private addresses in windows and put the freebsd router as the gateway. On the freebsd machine I run natd -n xl0 and ifconfig_xl0="DHCP". The media type for xl0 is set to 100BaseTX and 10BaseT/UTP for xl1, 100BaseTX for xl1 sets the status for that interface to "no carrier". I can't get the network running at 100mbps for some reason. I also have some weak rules for ipfw as suggested in the natd manual page. Another thing is that when I ran a speed test from a machine that was directly connected to the cable modem, the speeds reported were 5 times faster then when I run a speed test from a windows machine. Any reason for that reported speed decrease? Any suggestions on network setup or on how to get greater performance? Thanks. Also, I'm not subscribed to the list, please make sure to direct replies to my email as well. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree