APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > FAQ > Understanding half/full duplex negotiation problems
Printer Friendly Version




SCO Unix ® FAQ section

TCP/IP and NFS FAQ



I don't understand all this half/full duplex negotiation stuff

You may be confused because hardware changes have made what used to be good advice become not so good advice.

Here's the basic problem. 10/100 capable network devices have 5 possible modes:

  • 10 Mbs half duplex
  • 10 Mbs full duplex
  • 100 Mbs half duplex
  • 100 Mbs full duplex
  • AUTO, which will negotiate one of the above 4 modes


Typically you have a card connected to a 10/100 switch. If both devices are set to auto, and everything works as it should, then you end up with both devices set to 100 Mbs full duplex, which is the fastest possible connection (duplex means that the devices can "talk" in both directions at the same time).

At one time, most tech folk would say NOT to use auto negotiation because it was more likely to screw up and leave you with a substandard connection. That's not usually the case nowadays but you should understand the underlying possibilities just in case.

Symptoms

If the speeds don't match, you get no communication at all. You have no link, and no network.

If the duplex setting doesn't match, you MAY not get communication at all, but more commonly you get problems: lousy performance, intermittent dropouts, etc.



This Cisco link goes into more detail: http://www.cisco.com/warp/public/473/46.html

How to check the settings

I can't tell you how to check the settings on your switch or hub, but you should be able to find that on the web.

For SCO OpenServer, "ndstat -l" will show your current setting. To change it, see How do I force the speed or duplex settings of my NIC.

For Unixware, I think it's under Advanced Settings of Scoadmin->Network

For Linux, it's "mii-tool" that can query and set your NIC.

Mac OS X ifconfig can both show and set: "sudo ifconfig en0 mediaopt full-duplex", for example.

Obviously if auto negotiation is not working, you want to manually set BOTH devices to the best possible speed and to full duplex. Note that "best possible" might be 10 Mbs if you are a long distance away: technically both 10 and 100 Mbs are supposedly limited to 100 meters, but in actual practice 10 Mbs can often go further; 100 Mbs cannot. Don't forget to take patch cables into account if you are getting close to these limits, and quality can make the difference here.


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

2 comments



Click here to add your comments





Sat Mar 7 00:31:47 2009:   anonymous

gravatar
ndstat -l does not show the duplex setting of my interface (SCO OSR 5.0.6) unless it is in a non-obvious form. What is it supposed to look like? I though it would be something like "Duplex: Full" but all I see is "Interface speed: 100 Mbits/sec"





Sat Mar 7 01:35:00 2009:   TonyLawrence

gravatar
I don't remember, sorry. Search "ndstat" here; maybe some other post will have an example.

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
g_face.jpg

This post tagged:

       - FAQ
       - Linux
       - Networking




Unix/Linux Consultants

Skills Tests

Guest Post Here