These notes cover a variety of LAN trouble situations. Hope they help.
Before you do anything, before you touch anything else:
If you are tired or hungry you will not be at your best. If you are pulling your hair out in chunks you will not make smart decisions. Sometimes the best starting point for diagnosis is to take a break, have a rest or eat something - no matter what the short term pressures.
Write down a list of everything that has changed in the recent past. Chances are high your problem lies with the change or a side-effect of the change.
Think it through first - running around doing things with no plan is a recipe for another disaster - once you find the original problem you've then got to go back and fix all the other problems you introduced when doing your imitation of a headless chicken.
Be methodical. Start at one place and work slowly out from there. Test each step and MAKE NO ASSUMPTIONS. Check everything.
<rant> If you have network cables with broken tabs you deserve everything you get. Breathe on those guys and they come loose. Keep a pair of scissors handy and cut the connectors off. Period. </rant>
Wise after the event advice is never very helpful advice - but:
Know what the NORMAL look of LEDs, flashing light and other indicators are. We typically look at these indicators only when something is NOT working and then assume they are telling us things that they probably are not.
Keep a 'gold standard' - something that you know works - could be a laptop, could be a long cable that will stretch everywhere and you KNOW WORKs. Use this to eliminate possible errors.
'Ping' (its full name is Packet Internet Groper and it uses 'ICMP Echo request' commands) is a simple command that may be issued from the DOS Command Prompt (Start/Run/cmd/OK). Ping tells you if you can, or cannot, contact an IP address (another PC). Ping sends a small message to another computer which causes the receiver to echo back the same message (the message literally pings forward and backward). Ping is the simplest and most useful diagnostic tool to become familiar with and well worth a few minutes experimentation. To use Ping;
ping xxx.xxx.xxx.xxxwhere xxx.xxx.xxx.xxx is the IP address that you want to check followed by ENTER. You can also use a URL with a ping:
ping www.sitename.comFor this format to work the DNS service must be contactable and working.
Reply from xxx.xxx.xxx.xxx: bytes=32 time=yyms TTL=zzWhere xxx.xxx.xxx.xxx is the IP address that is responding, yyms is the time (yy) in milliseconds (ms) that the ping took and zz can be used to calculate the number of routers that it passed through on its journey.
Request timed out (connection or routing error) OR Host unreachable (routing error) OR Network unreachable (routing error)
To diagnose a network problem you just start to verify the connections from a known starting point (your PC) moving progressively further into the network until you find the problem:
Check with someone else in the office - if you are the only person having the problem you have already isolated it to your PC or its wiring. Now you only have to find it - in all cases it is not a remote network problem.
Restart your PC - 90% of all problems disappear with this one act.
Check the link LEDs on your PC LAN card (if it has any).
Check your cabling.
Now check your local network.
Your local PC is OK - someone else has same problem.
Ping the local router (its address is the Default Gateway IP that you get here). If this fails we may have a problem with the local LAN or the router.
Now you have to move from your desk.
Find your router and Hub/Switch check the LED displays. If they are not normal remove and immediately replace the power connection or switch the unit OFF then ON.
Go back to your PC and retry to ping your local router and then repeat the failing operation.
Check the remote network.
Your local router is OK - we can reach it and its LEDs are normal.
Issue a tracert command to 220.127.116.11 (www.yahoo.com) NOTE: always use the -d option with this command and you can abandon it using CTRL+C when you see two three consecutive rows of '*'.
Note the hop number of the first failure and contact your service provider.
See our Registration and Domains FAQ.
A tracert (or trace route) command tells you all the routers between your PC and the place you want to trace to (can be either an IP address or a URL e.g. www.smokeyjoe.com )
To run a tracert command:
tracert www.xxx.xxx.xxx -d' (or www.smokeyjoe.com -d)
Replace the IP address with the one you want or use the URL of the site if you know it. NOTE: The -d in the command line stops a DNS lookup and speeds up the command considerably.
tracert outputs the following display:
a bbbb cccc dddd ee.ee.ee.ee
a is the hop number starting from 1
bbbb is the time is milliseconds that the first attempt took to reach the site. Asterisk means it timed out.
cccc is the time is milliseconds that the second attempt took to reach the site. Asterisk means it timed out.
dddd is the time is milliseconds that the third attempt took to reach the site. Asterisk means it timed out.
ee.ee.ee.ee is the IP address of the router at this hop number.
There are two methods of doing this - the quick and the long method depending on how much information you want:
The quick method (limited configuration):
Load a Command Prompt (a DOS box) (Start->programs->Command Prompt or Start->run enter command then OK)
If using windows '95 enter:
This will display your IP address, subnet mask and default gateway (local router)
If using Windows NT, windows '98, Win2K, XP, Windows Vista, Windows 7, Windows 8 enter
this will display your IP address, subnet mask, default gateway (local router) and MAC address
The long method (full configuration)
Windows '95, '98 and NT 4.x, Windows 2K:
Click start\settings\control panel.
Double click 'Network'
Select 'Protocols' tab
Select TCP/IP then click 'Properties'
Navigate to the relevant tab to find the required information.
Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.
If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C standards compliant browser such as Firefox