From owner-freebsd-net@FreeBSD.ORG Wed Jan 7 19:03: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 4992C16A4CE for ; Wed, 7 Jan 2004 19:03:28 -0800 (PST) Received: from smtp106.mail.sc5.yahoo.com (smtp106.mail.sc5.yahoo.com [66.163.169.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 4868243D49 for ; Wed, 7 Jan 2004 19:03:27 -0800 (PST) (envelope-from q_dolan@yahoo.com.au) Received: from unknown (HELO ?192.168.100.140?) (q?dolan@203.144.21.67 with plain) by smtp106.mail.sc5.yahoo.com with SMTP; 8 Jan 2004 03:03:26 -0000 From: Q To: Adam McLaurin In-Reply-To: <20040107151544.6bbab003.adam.mclaurin@gmx.net> References: <20040107151544.6bbab003.adam.mclaurin@gmx.net> Content-Type: text/plain Message-Id: <1073530943.77647.90.camel@boxster.onthenet.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 08 Jan 2004 13:02:23 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Intermittent problems with LAN transfer speeds 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, 08 Jan 2004 03:03:28 -0000 The first thing you should try is setting the ethernet card to use autosense. This enables the autosense pulse to be sent to the switch, without this some passive/unmanaged switches can get very confused and switch speeds and duplex at seemingly random intervals for a while before eventually sorting themselves out again. You should only ever set speed & duplex manually if you can set it at BOTH ends. The easiest way to identify this as the problem is to do a 'netstat -i' and check for collisions. If everything on that LAN segment is full duplex all the time, there should be none. You will most likely have to wait for the problem to occur again before the collisions appear. Seeya...Q On Thu, 2004-01-08 at 06:15, Adam McLaurin wrote: > Since I first installed FreeBSD 2 years ago, I have intermittent > problems with my LAN transfer speeds. It doesn't happen often, but when > it does, I've not found any solution other than rebooting the server. > > My network configuration looks like this: > cable modem --> freebsd 5.1-R --> dlink switch --> win2k workstation > > I normally get appx 10MB/s between my two machines. However, > occasionally I'll fire up a transfer and only get 50-200KB/s, which is > really awful. ... > Both the gateway's NIC and the workstations NIC are manually set to > 100Mbit full-duplex.