From owner-freebsd-questions Tue Feb 2 23:11:43 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11913 for freebsd-questions-outgoing; Tue, 2 Feb 1999 23:11:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from opengovt.open.org (opengovt.open.org [199.2.104.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11906 for ; Tue, 2 Feb 1999 23:11:42 -0800 (PST) (envelope-from Clark@open.org) Received: (from root@localhost) by opengovt.open.org (8.8.7/8.8.7) id XAA10569; Tue, 2 Feb 1999 23:09:44 -0800 (PST) Received: from opengovt204.open.org(199.2.104.204) by opengovt.open.org via smap (V2.0) id xma010498; Tue, 2 Feb 99 23:09:10 -0800 Message-Id: <3.0.6.32.19990202225702.0089e840@opengovt.open.org> X-Sender: clark@opengovt.open.org X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 02 Feb 1999 22:57:02 -0800 To: Greg Lehey From: Robert Clark Subject: Re: Excessive collisions on Ethernet Cc: peter kok , Greg Black , FreeBSD Questions In-Reply-To: <19990203144110.W1179@freebie.lemis.com> References: <36B7CC74.5C09913B@sweda.com.hk> <19990131110224.I8473@freebie.lemis.com> <19990131192548.24006.qmail@alpha.comkey.com.au> <36B7CC74.5C09913B@sweda.com.hk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg, I've seen weirdness like this before, but I can't bring the cause to the front of my brain at the moment. I seem to remember one case where a 10-base-T cable had the wrong polarity on the rx pair, and this was causing a station to miss its collision sense. Consequently it wasn't doing a good job of backing off early. Before anyone gets grumpy with me, I may have the details of the cable fault wrong. I also remeber a case where one wire of the rx pair was marginal, and the system functioned, albeit irrationally. At least once a year I run into someone using two 10-base-T nics on the same hub port. How? Some hubs have a port that is both a "regular" and "uplink" port. When two station are connected this way, the tx collisions slip in under the collison sense mechanism. It can be quite a good laugh when you try to explain why not to use both ports at once. ( I haven't seen a lan analyzer yet that will pinpoint this specific problem. ) zzzzzz... oops, I'm curious to see what it turns out to be. [RC] At 02:41 PM 2/3/99 +1030, Greg Lehey wrote: >On Wednesday, 3 February 1999 at 12:11:32 +0800, peter kok wrote: >> Greg Black wrote: >> >>>> In the last few days I've noticed a really high number of collisions >>>> on my Ethernet. There are only 5 machines on the network, 3 of which >>>> are barely active, yet I see: >>>> >>>> (allegro, running 2.2.6-STABLE) >>>> ed0 1500 00.00.c0.44.a5.68 43729816 45 43861788 12 977828 >>>> ed0 1500 widecast allegro 43729816 45 43861788 12 977828 >>> >>> That's only 1.1%. >> >> i would like to know how do you measure this collision? > >This is output from netstat -bi: > >$ netstat -bi >Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll >ed2 1500 00.80.48.e6.a0.61 358053 5 64720004 458435 0 320307968 8347 >ed2 1500 widecast freebie 358053 5 64720004 458435 0 320307968 8347 >lp0* 1500 0 0 0 0 0 0 0 >tun0 1518 479 0 38668 616 0 126099 0 >tun0 1518 widecast freebie 479 0 38668 616 0 126099 0 >tun1* 1500 0 0 0 0 0 0 0 >tun2* 1500 0 0 0 0 0 0 0 >tun3* 1500 0 0 0 0 0 0 0 >sl0* 552 0 0 0 0 0 0 0 >ppp0 1500 56159 0 13257713 57910 0 32470985 0 > >BTW, I had to reboot freebie. Since then, the incidence of collisions >is *much* lower. There's something funny going on here. > >Greg >-- >When replying to this message, please copy the original recipients. >For more information, see http://www.lemis.com/questions.html >See complete headers for address, home page and phone numbers >finger grog@lemis.com for PGP public key > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message