From owner-freebsd-net@FreeBSD.ORG Tue Mar 18 22:34:05 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB7C61065671 for ; Tue, 18 Mar 2008 22:34:05 +0000 (UTC) (envelope-from fox@verio.net) Received: from dfw-smtpout1.email.verio.net (dfw-smtpout1.email.verio.net [129.250.36.41]) by mx1.freebsd.org (Postfix) with ESMTP id CB9CB8FC13 for ; Tue, 18 Mar 2008 22:34:05 +0000 (UTC) (envelope-from fox@verio.net) Received: from [129.250.36.63] (helo=dfw-mmp3.email.verio.net) by dfw-smtpout1.email.verio.net with esmtp id 1JbkNh-0004y8-FL for freebsd-net@freebsd.org; Tue, 18 Mar 2008 22:34:05 +0000 Received: from [129.250.40.241] (helo=limbo.int.dllstx01.us.it.verio.net) by dfw-mmp3.email.verio.net with esmtp id 1JbkNh-0002vC-Ar for freebsd-net@freebsd.org; Tue, 18 Mar 2008 22:34:05 +0000 Received: by limbo.int.dllstx01.us.it.verio.net (Postfix, from userid 1000) id 288A98E296; Tue, 18 Mar 2008 17:34:05 -0500 (CDT) Date: Tue, 18 Mar 2008 17:34:05 -0500 From: David DeSimone To: freebsd-net@freebsd.org Message-ID: <20080318223404.GB24011@verio.net> Mail-Followup-To: freebsd-net@freebsd.org References: <47DE4E96.8080507@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: Precedence: bulk User-Agent: Mutt/1.5.9i Subject: Re: Frequent pauses with Linux-based router X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 22:34:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sean C. Farley wrote: > > An ICMP test showed that there were occasional pauses and packet loss. > The fix: use 100Mb instead of 10Mb. :) For some reason I do not > recall, I had forced the interface connected to the DSL router to > 10Mb. When I noticed XP did not have the same problem and that it had > a 100Mb connection to the router, I found and removed the "media > 10baseT/UTP mediaopt full-duplex" from /etc/rc.conf for the interface. > That appears to have fixed it. The fix here is not that you moved to 100 Mb, it's that you stopped forcing duplex, and allow auto-negotiation to take place. With the forced duplex in effect, your NIC does not auto-negotiate with the other end (the router), and it falls back to half duplex, which leads to large numbers of collision errors. > The pause always seemed to be for packets from the router to the > computer. Yep, whenever the router would try to send, if your end happened to be sending a frame, the router's NIC would stop to avoid the collision, leading to packet loss. This is a classic duplex-mismatch scenario. - -- David DeSimone == Network Admin == fox@verio.net "This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, dis- tribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you." --Lawyer Bot 6000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFH4ENcFSrKRjX5eCoRAlOGAJ0SDIGlWFKFAiMXhzE/fjEqFvGzXQCdH7f5 02ycEA/hJuwAQlk4x9wMblo= =IyQq -----END PGP SIGNATURE-----