L <(E-Mail Removed)> wrote:
> Thanks for your help, all of you. But I'm not sure if I really understand
> it.
>
> Only two devices (the target and the host) are connected to the hub or the
> switch box. No other devices are connected to the hub or the switch box
> (see the following port status. Port 2 and port 3 are connected to the
> target and the host, respectively).
Right - each host is connected not to each other, but to the hub or switch.
When one host sends a packet intended to ultimatelly reach the other host, the
ethernet card doesn't wiggle voltages at the other host, it does so at the
switch. So it is the switch that the speed and duplex must be coordinated
with.
Think of it this way. You and a friend both speak Spanish and English. If
you ask a third person who only speaks Spanish to relay a message verbally to
the second person, then you'd better give the message in Spanish, even though
your friend can speak English. It's the same principle - each packet gets
recieved by the switch, and it's the job of the switch to relay the packet to
all appropriate destinations.
> When the target and the host are connected directly by a crossover ethernet
> cable, no hub or switch box is used.
In this case, the two units are indeed directly connected, and so can
autonegotiate with each other.
> I was told most hubs used layer 1 and most switch boxes used layer 2. What
> other differences between them?
That's not really true. Layer one in this case is the raw physical cable -
you can't do much without hardware. Both of them deal with layer 2 (ethernet),
switches simply have more inteligence in dealing with them. A google search
should turn up more details.
> Any idea why switch box or direct connection slow down the throughput?
> 3GT Up Enabled Forwarding 100 Full Enabled Not
> Defined
> 4GT Up Enabled Forwarding 100 Full Enabled Not
I'm assuming that these are the ports in use. It looks like they're
currently forced to 100 full. If the hosts are set to auto, autonegotiation
will fail, and so they will come up a 100 half. The duplex mismatch will
cause abysmal performace.
Trust me, you *really* want to read
http://www.scyld.com/expert/NWay.html
This will shed much light on the issues you're facing.
--
Frank Sweetser fs at wpi.edu
WPI Network Engineer