LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-16-2006, 10:11 PM   #1
StevenO
Member
 
Registered: Jan 2006
Distribution: Slackware 10.2
Posts: 45

Rep: Reputation: 15
100mbps Full Duplex vs Auto-Negotiate.


Hi, This is a Windows specific.

I've a system running on an Intel pro VE running 100mbps full duplex. The default option is auto negotiate but I explicitly set it to 100mbp full duplex.

Im behind a router.

Interestingly, my internet connection starts giving problems: connection timeouts; page not loading; extreme ping times, etc etc etc

Yet another system's internet connection is fine.

I was puzzled. To solve the problem, I changed the settings from 100mbps full duplex back to auto negotiate.

And my internet connection worked fine again.

What's wrong with 100mbps full duplex?
 
Old 01-17-2006, 06:06 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
OK here we go -

FastEthernet Auto-Negotiation uses something called Fast Link Pulse or FLP to signal to each other speed and duplex information. Its a modification of the original ethernet hearbeat signal and operates strictly on the physical layer before the link comes up. Its akin to the ethernet jam signal, its critical to ethernet operation but a user doesn't really need to know about it.

So when you connect two auto-negotiation devices they signal each other and hopefully agree on a speed and duplex, although this is still sometimes problematic between vendors.

If you disable auto-negotiation on one end by fixing the speed and duplex, FLPs are no longer sent. So one end is sending and listening for FLP and the other end isn't. Its fixed. The auto end must now 'guess' what the non-negotiating partner is doing and it does this by criteria set down by the IEEE.

Now Speed it can work out by listening for a preamble and deriving a clock from it, no problem. But duplex must really be guessed and it does this on the basis of what is most likely (in the IEEE's eyes)to be compatible. In all cases the IEEE decided that Half Duplex is more likely to be compatible than full because there are more half duplex devices around than full, go figure.

So the auto end will end up as 100M half duplex. If you set your end to 100M full duplex then you have a mismatch. The Full end will transmit while the half end is transmitting and the half end will treat that as a collision, back off and send the jam signal and everyone clears down as per normal binary exponential backoff.

This will cause more and more errors the more loaded the link becomes. Often you will find that pings work fine, but when you try to do anything serious with the link it all goes wrong. Classic symtoms.

If you want to go full duplex, as we often do with routers, servers
and switch trunks where the consequences of auto-negotiation failing are much greater, then you need to set both ends to FULL.

Auto-Half you would get away with, but I don't personally recommend it. Go for either Auto-Auto, Full-Full or Half-Half.

Hope this helps.

PS I probably would have posted this in networking as it is generic networking info, not really specific to Windows.

Last edited by baldy3105; 01-17-2006 at 06:11 AM.
 
Old 01-18-2006, 12:19 AM   #3
StevenO
Member
 
Registered: Jan 2006
Distribution: Slackware 10.2
Posts: 45

Original Poster
Rep: Reputation: 15
Wow. Thanks!
You've shed light on this issue.
So the best bet is to set auto negotiate.

But I believe not many are aware of such issues?
 
Old 01-18-2006, 09:02 AM   #4
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
For workstations yes as only one person is affected if it goes wrong. Its not a very widely understood issue but then the sort of books that explain these sorts of problems are expensive i.e. Cisco Lan Switching = £50. Its like diagnosing any problem, if you don't understand the mechanisms at work and how they function then you won't be able to understand why they've gone wrong.

Knowledge is power!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
full duplex chazzwozzer Linux - Networking 1 02-07-2005 02:11 PM
100Mbps Full Duplex mode bpenris Linux - Networking 4 10-28-2004 02:39 AM
full duplex with two NICs seriv Linux - Networking 1 11-09-2003 01:52 AM
Trying to get 10base Full Duplex.. HELP??? richhoward Linux - Networking 1 06-04-2003 04:51 PM
ifconfig + full duplex dunkyb Linux - Hardware 7 05-10-2003 05:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration