Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 02:20:55 -0500 (EST)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        w8sdz@mail.petersen.net (Keith Petersen)
Cc:        bugs@freebsd.org, toasty@dragondata.com
Subject:   Re: Poor Internet throughput on FreeBSD 3.3-RELEASE
Message-ID:  <199912300720.CAA25045@skynet.ctr.columbia.edu>
In-Reply-To: <19991230014304.w8sdz@Mail.Petersen.Net> from "Keith Petersen" at Dec 30, 99 01:43:04 am

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, Keith Petersen 
had to walk into mine and say:

> Bill, you wrote:
> 
> > Do me the following:
> > 
> > - With the machine running, type the following, as root:
> > ifconfig xl0 media 10baseT/UTP
> 
> # ifconfig xl0 media 10baseT/UTP
> 
> > - Unplug the ethernet cable that connects the NIC to the ISDN router.
> 
> Done
> 
> > - Wait 5 seconds.
> > - Plug the cable back in.
> > - Try again.
> > - Watch what happens.
> 
> /var/log/messages says
> 
> /kernel: xl0: selecting MII, 10Mbps, half duplex

When I said "try again and watch what happens" I meant try to generate
some traffic and see if you still observed the same problem you had
before. You haven't done that. Now I don't know if this had any effect
or not.
 
> You asked for:
> # netstat -in
> 
> Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
> xl0   1500  <Link>      00.60.97.9c.ed.5b   111039     0   132518     0  8400
> xl0   1500  63.65.211/27  63.65.211.20      111039     0   132518     0  8400
> xl0   1500  63.65.211.21/ 63.65.211.21      111039     0   132518     0  8400
> xl0   1500  63.65.211.22/ 63.65.211.22      111039     0   132518     0  8400
> lp0*  1500  <Link>                               0     0        0     0     0
> tun0* 1500  <Link>                               0     0        0     0     0
> sl0*  552   <Link>                               0     0        0     0     0
> ppp0* 1500  <Link>                               0     0        0     0     0
> lo0   16384 <Link>                            2302     0     2302     0     0
> lo0   16384 127           127.0.0.1           2302     0     2302     0     0
> 
> As you san see, there are two aliases on this interface.  These are
> added in /etc/rc.conf.
> 
> ifconfig_xl0_alias0="inet 63.65.211.21 netmask 255.255.255.255"
> ifconfig_xl0_alias1="inet 63.65.211.22 netmask 255.255.255.255"
> 
> You asked about terminations.  There are none.  This is UTP with RJ45
> connectors.  Both hosts have 6 foot cables connecting them to a hub.

Uhm, no. Attaching RJ45 connectors to twisted pair cabling is sometimes
called "terminating." It's not a resistive termination like with coax,
but that's just semantics. What I asked was whether or not the RJ45
connectors had been put on right. When you attach the connectors to
the cable, you have to get the wires in the right sequence or else
you get rotten performance (sometimes 10mbps operation appears to work
okay if you get the order wrong, but it craps out completely at 100mbps).
 
> The hub connects via 10base2 coax (BNC terminated at both ends) to a
> transceiver on the router.

What kind of hub. (No, not what shape and color is it: what's the
vendor/model number.)
 
> There is no indication of collisions on the indicator light on the
> front of the router.

No, but the NIC is detecting some. This is not unusual though: you
get collisions at half duplex operation. That's just the way it works.
I don't see any input or output errors though.

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912300720.CAA25045>