From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 10:03:16 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 9E6A937B401 for ; Sat, 12 Apr 2003 10:03:16 -0700 (PDT) Received: from smtp2.cistron.nl (smtp2.cistron.nl [62.216.30.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B31A43FA3 for ; Sat, 12 Apr 2003 10:03:15 -0700 (PDT) (envelope-from basics@zenzee.cistron.nl) Received: from cust.94.12.adsl.cistron.nl ([195.64.94.12] helo=BeMachine.smtp.cistron.nl) by smtp2.cistron.nl with smtp (Exim 3.35 #1 (Debian)) id 194OP9-0005oF-00; Sat, 12 Apr 2003 19:03:04 +0200 From: Vincent Zee Message-ID: <0003bb1f10336784_mailit@smtp.cistron.nl> Date: Sat, 12 Apr 2003 19:03:40 +0200 X-Mailer: BeatWare Mail-It 3.0 X-BeOS-Platform: Intel or clone To: freebsd-questions-local@be-well.no-ip.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: Strange network behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vincent Zee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 17:03:16 -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. -------------------------------------------------- Mike wrote: >Hi: > >I'm experiencing the same issue from a PowerMac 733 with OS 10.2.4 = >(which >is, to my mind, pretty FreeBSD like) to several different FreeBSD = >machines >running 4.5 and 4.7 respectively. I know there aren't any duplex = >problems >and I'm not experiencing the issue when I go from either the Mac or = >FreeBSD >boxes to other hosts. > >In doing a TCP dump it looks like packet loss, although it only occurs >between these hosts. The ack is sent by the Mac but the BSD box doesn't = >see >it, so the Mac re-acks (up to 4 times usually) before the BSD box acks = >the >ack at the end of its Window. Everything slows to a crawl until that = >one >dropped packet is acked. > >Hrmm. Has anyone else seen this? I'm thinking it's an issue on the = >Mac >side, but who knows. > >Mike > Hi Lowell and Mike, sorry for the late reply but the ibook in question stopped working a few days ago and I lost all my mail as a result. The switch saw the connection as 100Mb and full duplex so it wasn't the switch. Mike is describing my situation exactly. So now I really think that it is a Mac specific thing. Thanks Mike for letting me know I'm not crazy (;-)) Vincent