(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

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


Jeff Liebermann points out that I simplified a bit: See


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.

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.




Click here to add your comments





Sat Mar 7 00:31:47 2009: Subject: ndstat -l   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: Subject:   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




/SCOFAQ/FAQ_scotec4autonegotiate.html copyright 1997-2003 (various) All Rights Reserved

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.


book graphic unix and linux troubleshooting guide

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



 I sell and support
 Kerio Mail server






More:
       - FAQ
       - Networking
       - Networking


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress