full duplex/half duplex.

full duplex/half duplex.

Post by Stephen Schwenke » Sun, 31 Dec 1899 09:00:00



I am having a problem with determining whether my network card is
running under full duplex or half duplex.  I have some computers running
on a small 5 port hub.  when I copy a large file over, I get a whole lot
of collisions.  I have set the windows machine to half duplex in the
network control panel and I still get that problem.  I was woundering
if  you could tell me how to find out if my linux box is running on full
duplex or not.  It is a ne2000 compatible card using the ne2k-pci module
for it.  I would also like to know if I can fix it, or manually set it.

Thank You.

 
 
 

full duplex/half duplex.

Post by Alexander Mau » Sun, 31 Dec 1899 09:00:00


Stephen Schwenker schrieb:

> I am having a problem with determining whether my network card is
> running under full duplex or half duplex.  I have some computers running
> on a small 5 port hub.  when I copy a large file over, I get a whole lot
> of collisions.  I have set the windows machine to half duplex in the
> network control panel and I still get that problem.  I was woundering
> if  you could tell me how to find out if my linux box is running on full
> duplex or not.  It is a ne2000 compatible card using the ne2k-pci module
> for it.  I would also like to know if I can fix it, or manually set it.


Some cards overwrite the software settings. Try the setup-tool (sorry, DOS only) on the floppy that came with the
card.

Greetings
   Alexander

 
 
 

full duplex/half duplex.

Post by David » Sun, 31 Dec 1899 09:00:00



> I am having a problem with determining whether my network card is
> running under full duplex or half duplex.  I have some computers
> running on a small 5 port hub.  when I copy a large file over, I get a
> whole lot of collisions.  I have set the windows machine to half
> duplex in the network control panel and I still get that problem.  I
> was woundering if you could tell me how to find out if my linux box is
> running on full duplex or not.  It is a ne2000 compatible card using
> the ne2k-pci module for it.  I would also like to know if I can fix
> it, or manually set it.

You seem to be a bit confused here.

Half-duplex mode won't prevent collisions.  Full duplex might.

In full-duplex mode, the NIC can transmit and receive packets
simultaneously.  In half-duplex mode, it can not receive while
transmitting.  Some kinds of physical media like 10Base2 (Thinnet) and
10Base5 (thick Ether) can only work in half-duplex mode.

When in half-duplex mode, you can get collisions if you try to transmit
when data is arriving on the wire.  The cards will try to prevent this
from happening, but collisions are an inevitable way of life in
half-duplex mode.

When in full-duplex mode, you can't get a collision on the wire into
your NIC, but you can get collisions in the hub.

Most repeater-hubs are half-duplex devices.  When packets hit it from
different ports at once, a collision will probably happen.  Your NICs
may detect this.

A hub that runs in full duplex (like a repeater that has some buffering
or a switch) will generally not have collisions.  The internal circuitry
will try to hold packets and only transmit them when the lines are
clear.

What amount of collisions are you looking at?  Run /sbin/ifconfig can
compare the number of packets transmitted (TX packets) against the
number of collisions.  Chances are that the ratio will be pretty low.
(On my system, I've got 7617 collisions out of 868783 packets - 0.87%).

If your ratio is high, then forcing the card into full-duplex mode might
help, but chances are that the only good solution will be to replace the
hub with a switch.

I don't know how to check the card's duplex or force its mode.

-- David

 
 
 

1. Full Duplex/Half duplex problems...

We have a few E250s running solaris 7 with the latest patch release in
all systems.  We see the systems switching from full duplex 100mbps to
half duplex 10mbps automatically.  We are not changing the configs on
the boxes nor did we change the config on our switches(Cat 5509's set
hard to full duplx 100mbps).
We would reboot the systems and the boxes would come up fine 100mbps
fd.  Mind you these boxes are serving 100 http connections per second.

What gives??

-Jeff

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Newbie ~ cardbus networking question

3. Full Duplex/Half Duplex

4. masquerading problem

5. full-duplex / half-duplex switching, why?

6. Linux Actually Crashed!

7. Full Duplex and Half Duplex

8. NEWBIE CRONTAB QUESTION

9. Question on half-duplex and full duplex

10. NIC Speed Settings. Full duplex vs Half duplex

11. half-duplex/full-duplex problem

12. Full duplex and half duplex

13. Alcatel SpeedTouch Home modem -- half-duplex or full-duplex?