From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 16:07:46 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 B17EC37B401 for ; Wed, 9 Apr 2003 16:07:46 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC92F43F75 for ; Wed, 9 Apr 2003 16:07:43 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <2003040923074305100nf5i7e>; Wed, 9 Apr 2003 23:07:43 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h39N7gXf020838; Wed, 9 Apr 2003 19:07:42 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h39N7ft1020835; Wed, 9 Apr 2003 19:07:41 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Vincent Zee References: <20030407233411204005.GyazMail.basics@zenzee.cistron.nl> <44of3fv21k.fsf@be-well.ilk.org> <20030409233240509711.GyazMail.basics@zenzee.cistron.nl> From: Lowell Gilbert Date: 09 Apr 2003 19:07:40 -0400 In-Reply-To: <20030409233240509711.GyazMail.basics@zenzee.cistron.nl> Message-ID: <448yuj6zib.fsf@be-well.ilk.org> Lines: 86 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Questions Subject: Re: Strange network behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 23:07:47 -0000 Vincent Zee writes: > On 09 Apr 2003 16:39:03 -0400, Lowell Gilbert wrote: > > Vincent Zee writes: > > > >> I am really at a loss at the moment. > >> > >> I have a 100baseT network at home and all connected machines have 100Mb > >> network cards. > >> When I upload mp3 files from my ibook to the FreeBSD server the speed > >> drops to 100kb/s. > >> > >> This only happens between these two particular machines. These same > >> machines connected to other machines give the expected transmission > >> speeds. I checked cables, switches and router but found nothing > >> unexpected. > >> > >> Any hints, ideas or even solutions are most welcome. > >> > >> The FreeBSD machine is running 4.7 and the ibook 10.2.4 > > > > This sounds a lot like a duplex mismatch. > > Check the collision count. > > Hi Lowell, > > thank you for your answer(:-)) > > Here is the ifconfig output for the nic in the freebsd machine: > > dc0: flags=8843 mtu 1500 > inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::248:54ff:fe12:c767%dc0 prefixlen 64 scopeid 0x1 > ether 00:48:54:12:c7:67 > media: Ethernet autoselect (100baseTX ) > status: active > > Here is the ifconfig output for the nic in the ibook: > > en0: flags=8863 mtu 1500 > inet6 fe80::20a:95ff:fe67:2460%en0 prefixlen 64 scopeid 0x4 > inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:0a:95:67:24:60 > media: autoselect (100baseTX ) status: active > supported media: none autoselect 10baseT/UTP > 10baseT/UTP 10baseT/UTP > 10baseT/UTP 100baseTX 100baseTX > 100baseTX 100baseTX duplex,hw-loopback> > > > Here is the output of netstat -i during a transmission of a 14 MB file. > > -bash-2.05b$ netstat -i > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs > Coll > dc0 1500 00:48:54:12:c7:67 5734078 0 5911495 0 > 0 > dc0 1500 192.168.1 freeserv 5728716 - 5910566 - > - > dc0 1500 fe80:1::248 fe80:1::248:54ff: 0 - 0 - > - > lp0* 1500 0 0 0 0 > 0 > faith 1500 0 0 0 0 > 0 > lo0 16384 375 0 375 0 > 0 > lo0 16384 ::1 ::1 0 - 0 - > - > lo0 16384 fe80:4::1 fe80:4::1 0 - 0 - > - > lo0 16384 your-net localhost 375 - 375 - > - > ppp0* 1500 0 0 0 0 > 0 > sl0* 552 0 0 0 0 > 0 > > /\ > Vincent Okay, so there are no collisions on the FreeBSD side. Check whatever it's plugged into (a switch?). If *that* thinks the link is half duplex while FreeBSD thinks it's full duplex, you've found your problem.