Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2001 19:30:29 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Philip Hallstrom <philip@adhesivemedia.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Strange one-sided network slowdown...
Message-ID:  <3B210BB5.8B3A7E2@i-clue.de>
References:  <20010608100650.Y78321-100000@oddjob.adhesivemedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'll eat my feet. Having not read your dmesg output properly, I failed
to see it's already at half-duplex. Sorry for the confusion, maybe I
should leave for the weekend now.

Forget my previous message, I got it plain wrong. Your gateway
configuration is OK. Next thing to check is your (windoze?) notebook --
have a look at it's NIC properties. Failing to detect a problem there,
you can always analyze tcpdump(1) output.

Sorry for the confusion
-Christoph Sold

Philip Hallstrom schrieb:
> 
> Yes, the hub is connected to rl0... so if I explicity set half-duplex on
> rl0 I'll be fine?
> 
> Something like:
> 
> ifconfig rl0 inet 10.2.0.1 netmask 255.255.255.0 mediaopts half-duplex
> 
> ?
> thanks!
> 
> -philip
> 
> On Fri, 8 Jun 2001, Christoph Sold wrote:
> 
> > If your hub is connected to rl0, you're running into trouble.
> > Unfortunatley, you did not explain which interface is connected to which
> > device.
> >
> > Philip Hallstrom schrieb:
> > >
> > > I'm not sure how to check my laptop's duplex, here's what is on my
> > > gateway:
> > >
> > > philip@wombat:~% ifconfig -au
> > > xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                                           ^^^^^^^
> > >         inet 207.202.235.154 netmask 0xffffff00 broadcast 207.202.235.255
> > >         inet6 fe80::210:5aff:fe10:b021%xl0 prefixlen 64 scopeid 0x1
> > >         ether 00:10:5a:10:b0:21
> > >         media: autoselect (100baseTX <full-duplex>) status: active
> > >         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> > > 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
> > > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                                           ^^^^^^^
> > >         inet 10.2.0.1 netmask 0xffffff00 broadcast 10.2.0.255
> > >         inet6 fe80::250:baff:fed1:b12c%rl0 prefixlen 64 scopeid 0x2
> > >         ether 00:50:ba:d1:b1:2c
> > >         media: autoselect (none) status: active
> > >         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> > > 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
> > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
> > >         inet6 ::1 prefixlen 128
> > >         inet 127.0.0.1 netmask 0xff000000
> > >
> > > However, if it was a duplex problem wouldn't I see that when transfering
> > > from my laptop to the gateway and from the net to my laptop (which I can
> > > get about 80kb/s)???
> >
> > Having duplex mismatched will only cause problems when your box tries to
> > send while traffic arrives: the sent package will invalidate the package
> > recieved simultaneosly, rendering both packets invalid.
> >
> > HTH
> > -Christoph Sold
> >
> > > On Fri, 8 Jun 2001, Christoph Sold wrote:
> > >
> > > > Check if both your laptop's and your gateways NICs are properly set to
> > > > half duplex.
> > > >
> > > > HTH
> > > > -Christoph Sold
> > > >
> > > > Philip Hallstrom schrieb:
> > > > >
> > > > > Hi all -
> > > > >         I recently reconfiged my home network.  My gateway is a P400
> > > > > running 4.2-20010214-STABLE.  The internal interface is rl0 (a D-Link
> > > > > card).  The network basically looks like this:
> > > > >
> > > > > net --- dsl modem --- gateway --- hub --- laptop
> > > > >
> > > > > Everything works just fine except transferring *from* the gateway *to* the
> > > > > laptop (~10kb/s).
> > > > >
> > > > > Transfering *from* the laptop *to* the gateway (~130kb/s) is fine.
> > > > > Transfering from/to the gateway/laptop to/from the net maxes out at my DSL
> > > > > speed.
> > > > >
> > > > > I know there used to be a problem with D-Link cards, but I am pretty sure
> > > > > that was fixed around 4.2 and I would think the problem would exist in
> > > > > both directions.
> > > > >
> > > > > Anyone have any ideas why this is happening?  It doesn't matter the
> > > > > transfer method either (HTTP or FTP).
> > > > >
> > > > > Any help appreciated...

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B210BB5.8B3A7E2>