Sub topic 6
Troubleshooting Wired Connections
This chapter covers faults on Ethernet links: bad cables, bad ports, duplex mismatches and similar problems. It assumes you know what a router, switch and access point do. It also assumes you can open a Windows command prompt and have read the earlier chapters on the troubleshooting methodology, network basics, command-line tools and hardware tools.
The working model
A wired connection is a chain of parts. A fault in any one of them breaks the link.
- The network interface card (NIC) in the computer, and its driver.
- The patch cable from the computer to a wall jack.
- The cable run inside the wall, ending at a patch panel.
- A patch cable from the patch panel to a switch port.
- The switch, which connects to the router and the rest of the network.
The exam tests whether you can find which link in this chain has failed. Work from the symptom toward the cause. Use the lights, the operating system status, and then the tools.
Start with the lights
Almost every NIC and switch port has light-emitting diodes (LEDs). They give you the first answer in seconds.
- Link light off: there is no electrical link. Suspect an unplugged or damaged cable, a dead port, a disabled NIC, or a powered-off switch.
- Link light on, no activity light blinking: the link is up but no traffic is passing. Look at the IP configuration next.
- Activity light blinking rapidly and constantly: this can point to a broadcast storm or a faulty device flooding the network.
- Link light colors: many NICs use one color for gigabit and another for 100 megabit. A link that negotiated a lower speed than expected suggests a cable or port problem.
Check the operating system too. In Windows, open Network Connections. A red X or the status "Network cable unplugged" means the NIC sees no link. A status of "Disabled" means someone turned the adapter off. Right-click it and choose Enable.
Cable faults
Cables cause most wired problems. Know the kinds of fault and the tool for each.
| Fault | Typical symptom | Best tool or check |
|---|---|---|
| Broken wire or loose connector | No link or intermittent link | Cable tester, reseat the plug |
| Wrong wiring order (pinout) | No link, or link at 10/100 only | Cable tester |
| Cable too long (over 100 m for twisted pair) | Slow speeds, dropped packets, no link | Measure or check cable length |
| Electromagnetic interference (EMI) | Intermittent errors near motors or lights | Reroute cable or use shielded cable |
| Wrong cable category | Link works but runs slower than expected | Check the cable markings |
| Crosstalk (signal leaking between pairs) | Slow speed, many errors | Cable tester that reports crosstalk |
Twisted-pair Ethernet has a maximum run of 100 meters (328 feet), counting the patch cables at both ends. Longer runs lose signal strength, which is called attenuation. The fix is a shorter run, or a switch or repeater in the middle.
Cable category also matters. Cat 5 supports 100 Mbps. Cat 5e supports 1 Gbps. Cat 6 supports 1 Gbps at 100 m and 10 Gbps up to about 55 m. Cat 6a supports 10 Gbps at 100 m. An old Cat 5 cable in a gigabit network can make the link fall back to 100 Mbps or fail.
Wiring standards
Two wiring standards, T568A and T568B, define the order of the eight wires in an RJ45 connector. A straight-through cable has the same standard on both ends. It connects unlike devices, such as a computer to a switch. A crossover cable has T568A on one end and T568B on the other. It connects like devices, such as a switch to a switch. Most modern switch ports detect the cable type automatically (Auto-MDI/MDIX), so a wrong cable type rarely causes trouble today. If both ends of a cable use different standards by mistake, the cable tester will show swapped pairs.
Using a cable tester
A cable tester has two parts, a main unit and a remote. You plug one end of the cable into each. It lights up LEDs for each of the eight wires in order. The result is one of these:
- All eight lights in order: the cable is wired correctly.
- A missing light: an open, meaning a broken wire.
- Two lights together: a short between wires.
- Lights out of order: a miswire, or a crossover cable.
A basic tester checks continuity only. It does not prove the cable meets the speed rating. Certifiers, which are more costly, test for attenuation and crosstalk against a category standard.
To find which cable in a bundle leads to a given wall jack, use a toner probe (also called a tone generator and probe). Attach the tone generator to one end, then wave the probe over the cables at the other end until it sounds.
Port and NIC faults
If a known-good cable still gives no link, test the ends.
- Move the cable to a different switch port. If the link comes up, the first port is faulty or disabled in the switch configuration.
- Try a different computer on the same cable and port. If it works, the original NIC or its driver is at fault.
- Open Device Manager. A yellow warning icon on the adapter points to a driver problem. A down arrow means the device is disabled. Try updating, rolling back, or reinstalling the driver.
- Use a loopback plug. Plug it into the NIC's RJ45 port. A diagnostic tool then confirms that the NIC can send and receive. If the test fails, the NIC is bad. You can also run
ping 127.0.0.1, which checks only the software TCP/IP stack and not the physical NIC.
ping 127.0.0.1
ipconfig /allIf the ping to 127.0.0.1 succeeds but there is no link light, suspect hardware or the cable, not the TCP/IP software.
Also check for Power over Ethernet (PoE) problems. A PoE switch sends power over the cable to devices such as IP phones and cameras. If such a device does not turn on, the switch may be out of power budget, the port may not have PoE enabled, or the cable may be damaged. Plugging a non-PoE computer into a PoE port normally does no harm, because the switch first detects whether the device needs power.
Speed and duplex problems
Duplex describes whether a link can send and receive at the same time. Full duplex does both at once. Half duplex does one direction at a time. A duplex mismatch happens when one end runs full duplex and the other half duplex.
The usual cause is that one side was set by hand and the other side was left on auto-negotiation. The link light stays on, and ping may even work. But performance is poor, with slow transfers, many collisions or late collisions, and packet loss under heavy load. This "link up but very slow" pattern is the classic exam clue.
To fix it, set both ends the same. Best practice is auto-negotiation on both. In Windows, open the adapter properties, choose Configure, then the Advanced tab, and set Speed & Duplex. Setting both ends by hand to the same values also works.
A related case is a link that negotiates at 100 Mbps when 1 Gbps is expected. This usually means a damaged or low-category cable, or a bent pin in a connector. Replace the cable first.
IP-level symptoms on a wired link
When the physical link is fine, the problem sits higher up. Use the tools from earlier chapters.
| Observation | Likely cause | Next step |
|---|---|---|
| Link light on, address 169.254.x.x | No DHCP reply | Check cable to the right network, DHCP server, VLAN; run `ipconfig /renew` |
| Valid IP, ping to gateway fails | Wrong gateway, wrong subnet mask, or switch/VLAN fault | Compare `ipconfig /all` to the correct values |
| Gateway pings, internet IP pings, names fail | DNS problem | Run `nslookup`, check DNS servers |
| Only one computer affected | Local cable, port, NIC, or settings | Swap parts to isolate |
| Many computers affected | Switch, router, uplink, or server | Check the shared device |
Scope is a strong clue. One affected computer points to something local to it. A whole floor or room points to the switch, the uplink between switches, or a shared service.
A VLAN (virtual LAN) is a way to split one physical switch into separate logical networks. A computer plugged into a port assigned to the wrong VLAN may get no address or an address on the wrong network, even though the link light is on.
Applying the methodology
Use the six steps from the first chapter.
- Identify the problem. Ask what changed. Ask whether other users are affected. Check the lights.
- Establish a theory of probable cause. Start with the simple causes: unplugged cable, disabled NIC, wrong port.
- Test the theory. Swap the cable, change the port, run ping and ipconfig. If the theory fails, form a new one or escalate.
- Establish a plan of action and implement it. Replace the cable or reset the duplex setting. If the fix affects many users, such as a switch change, plan for the impact first.
- Verify full system functionality and put preventive measures in place. Check that the user can reach internal and external resources.
- Document findings, actions and outcomes. Record the cause and the fix.
Common errors
- Replacing hardware before checking the link light and the cable.
- Reading "link light on" as "network is fine". A duplex mismatch and a wrong VLAN both keep the light on.
- Testing only with a name such as
ping example.com. A failure there could be DNS and not the link. Ping an IP address first. - Forgetting the 100 m limit when a run is added through a long patch cable.
- Fixing the symptom and skipping verification and documentation.
Exercise
A user's desktop shows a lit link light and a valid IP address. Pings to the default gateway succeed, but file transfers to the server run far slower than on neighboring computers. The user's NIC speed and duplex were set by hand last week, and the switch port is on auto-negotiation. What is the most likely cause, and what should you do?
Show answer
A duplex mismatch. The hand-set NIC and the auto-negotiating switch port can settle on different duplex modes, so the link stays up but suffers collisions and packet loss under load. Set both ends the same, preferably auto-negotiation on the NIC, then test transfer speed again and document the change.
Exercise
A new desktop shows no link light on the NIC or the switch port. The same cable works on another computer, and the desktop works on another cable and port. Name two checks to run next on the desktop.
Show answer
Check Device Manager for a disabled adapter or a driver error, and enable or reinstall the driver. Then test the NIC hardware with a loopback plug. If the NIC fails the loopback test, replace it.
Exercise
A technician must find which of twenty unlabeled cables in a patch panel leads to a specific wall jack. Which tool should they use?
Show answer
A toner probe. Attach the tone generator to the wall jack end, then use the probe at the patch panel to find the cable that carries the tone.