Home > Networking Tips > Network Engineering > Detecting duplex mismatches
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Detecting duplex mismatches


Tom Lancaster
07.19.2004
Rating: -3.75- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the most common and most annoying causes of performance issues on Ethernet networks is the duplex mismatch. This condition occurs when either a host or a switch port is operating at "full duplex" while the other is operating at "half duplex" and it results in lots of errors because the half-duplex side is listening for collisions, while the full-duplex side doesn't because it has dedicated send and receive circuits that can operate at the same time.

If you have administrative access to both the switch and the host, it's usually easy to determine whether or not they're mismatched. However, it's more common for a network team to have access only to the switches while the server and desktop teams to only have access to the hosts. This tip will show you how to detect a mismatch when you only have control of half the circuit.

First, understand that mismatches most often occur because one side is set to autonegotiate and the other side is manually set to full-duplex. Don't believe any rumors you hear about autonegotiation not working or not being reliable. They just aren't true.

The next thing to understand is that there isn't really any negotiation involved. When you set an adapter to "autonegotiate" what you're really doing is telling it to broadcast its capabilities (i.e. advertise that it supports both full and half duplex, or only half duplex) and listen for similar advertisements (these are really messages inserted into the Fast Link Pulses). Conversely, when you set an adapter for anything other than "autonegotiate" you are disabling both its ability to send advertisements and receive them.

So, the quick way to tell is this:

  • If you set your side to auto and the link comes up at full-duplex, then you know the other side is also set to auto, because your side will only enter full-duplex mode if it receives an advertisement that the other side supports full-duplex, and the far side wouldn't have sent any advertisement if it were manually configured at full or half duplex.
  • If you set your side to auto and the link comes up at half-duplex, then you know the other side is manually configured, because it didn't send an advertisement.

Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years experience in the networking industry, and co-author of several books on networking, most recently, CCSPTM: Secure PIX and Secure VPN Study Guide published by Sybex.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Systems Management
MvPCinfo for Windows: A terrific inventory/inspection tool
Networking Products of the Year 2004
The best of 2004
Configuration and change management
Simplify system management with remote reboot
Selecting network services
Network monitoring
IM for the enterprise
Bandwidth optimization
Netsh

Network Engineering
How to achieve server virtualization in your network
Limit network energy consumption with computer cooling technologies
Understanding remote scripting -- Managing Windows networks using scripts, part 9
Network mapping in Vista for Windows XP
Recovering domain controllers after a server disk failure
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use

Network Performance
Measure wireless network performance using testing tool iPerf
QoE benchmarking: Unique approaches and environments
Quality of experience: Why technical benchmarking is not enough
Next-generation enterprise networks: Links to telecom carriers grow stronger
Application acceleration cements concrete co.'s consolidation project
Streaming Olympics video will drain corporate bandwidth
College IT department transforms itself with network management tools
How to prioritize wireless traffic
WAAS accelerates collaboration, increases revenue at engineering firm
Network management frameworks: FCAPS and ITIL

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
baseboard management controller  (SearchNetworking.com)
fault management  (SearchNetworking.com)
loose coupling  (SearchNetworking.com)
M2M  (SearchNetworking.com)
maximum segment size  (SearchNetworking.com)
maximum transmission unit  (SearchNetworking.com)
network coding  (SearchNetworking.com)
packet loss  (SearchNetworking.com)
round-trip time  (SearchNetworking.com)
throttled data transfer  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts