Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 1996 10:42:48 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        David Kelly <dkelly@hiwaay.net>
Cc:        questions@freebsd.org
Subject:   Re: Ethernet Collisions
Message-ID:  <3286E708.13F5@barcode.co.il>
References:  <XFMail.961110125304.dkelly@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Kelly wrote:
> 
> I noticed something recently that's bothering me. Not sure if its
> a FreeBSD problem, or more likely its a problem with the way the
> network is wired to my office:
> 
> Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
> ed0   1500  <Link>      00.00.b4.23.d1.21    22911     0     8188     0  4080
> ed0   1500  140.165.210/2 PeeCee             22911     0     8188     0  4080
> lp0*  1500  <Link>                               0     0        0     0     0
> tun0* 1500  <Link>                               0     0        0     0     0
> sl0*  552   <Link>                               0     0        0     0     0
> lo0   16384 <Link>                               2     0        2     0     0
> lo0   16384 your-net      localhost              2     0        2     0     0
> 
> The above output of "netstat -i" is from:
> PeeCee: {1003} uname -a
> FreeBSD PeeCee.tbe.com 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Wed Nov  6 18:22:58
>  CST 1996     dkelly@PeeCee.tbe.com:/usr/src/sys/
> compile/PEECEE  i386
> 
> and captured shortly after a reboot and ftp download of a 30M file.
> The concern is how most every packet transmitted first collided with
> another before getting out. This is repeatable, with either NE2000
> or DEC-21040 ethernet cards. Doesn't matter if ftp or ncftp is used.
> Doesn't matter if the machine was freshly rebooted or has been
> running for several days. The remote system is an old SGI, ping
> reports TTL of 253 so there are one or two gateways between us.
> 
> The network is UTP with a Farallon EtherWave in my office splitting
> it between Mac and PeeCee. The collision light on the Etherwave
> frist brought this to my attention.
> 
> The de0 card still results in 800k to 900k transfer rates. Should
> I worry about this?

These rates are very high for something that goes through two gateways anyhow. I'd
suspect the statistics are not accurate. How large are the files? (anything that
is less than about half a MB might cause, in my experience, bogus statistics).

I don't know if you should be worried, but I would give it further investigation.
The easiest thing would have been to use a LAN analyzer, but those are usualy hard
to come by. Here is my poor man's troubleshooting startegy: First, does this
happen only for ftp's or for any type of traffic (I would suspect the latter).
Usually excessive collisions are a result of defective hardware. Make your tests
against a machine that is on the same segment from the same repeater, and
disconnect everything else. If this solves the problem try finding out which node
was the one that caused the problem by connecting them one by one. That node
probably has a defective card. If disconnecting everything doesn't solve the
problem, replace not just the card on your machine, but also *all* of the cables
between it and the repeater (use a different wall outlet, different port on the
repeater with different patch cables). A cable can cause excessive collisions
(especially in 100BaseT4 and 10Base2, but also in 10BaseT and 100BaseTX).

If all this fails to locate the source of the problem, try checking statistics for
other machines connected to the same hub and see if they have similar symptoms.
You may then want to try replacing the hub.

I know this seems to be a lot of work. All I can say is that in my experience
network cabling/hardware problem are very hard to find and very easy to fix.

> --
> David Kelly N4HHE, dkelly@tomcat1.tbe.com (wk), dkelly@hiwaay.net (hm)
> =====================================================================
> The human mind ordinarily operates at only ten percent of its
> capacity -- the rest is overhead for the operating system.
Good luck

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3286E708.13F5>