LAN Cable Wiring

What is my LAN cable?

Your LAN cable is an Ethernet network cable with an RJ45 plug on each end. Here is how to recognize it, where it plugs in, and how to check it.

On this page
  1. The short answer
  2. How to recognize one
  3. Where it plugs in
  4. Telling apart several cables
  5. Checking the link on your computer
  6. Checking for damage

The short answer

Your LAN cable is an Ethernet network cable. It connects a device, such as a computer, printer, or game console, to a LAN port on a router, a switch, or a wall jack. Its plug is wider than a phone plug and has eight metal contacts.

How to recognize one

  • The plug is called an RJ45. It has eight metal contacts at the end and a plastic latch you press to release it.
  • It’s wider than a phone plug, which is usually an RJ11 with fewer contacts.
  • The jacket often prints a category, such as Cat5e or Cat6. Some cables also print a length.
  • Coaxial cable, which carries cable TV and some internet service, is round. Its connector is a screw-on or push-on fitting with a single center pin, not an eight-contact plug.

Where it plugs in

Routers and switches have LAN ports, often numbered or labeled LAN. Connect your cable to one of these to join the device to your local network. Devices on LAN ports can reach each other, and they reach the internet through the router.

The other port on your router, labeled WAN or Internet, connects to the modem. For which port the modem’s cable belongs in, see “Does internet cable go in LAN or WAN?”

Telling apart several cables

If you have more than one cable on the desk, these steps help:

  • Read the print on the jacket for a category or length.
  • Follow the cable from the device to its other end.
  • Put a label on each end when you unplug a cable, so you know where it goes back.

On Windows, open Command Prompt and run ipconfig. An adapter with no cable connected shows “Media disconnected” as its media state.

On Linux, open a terminal and run ip link. An interface with no link shows NO-CARRIER in its flags. For a full list of interfaces, see “How do I list all network interfaces on Linux?”

Checking for damage

Signs of a damaged cable include a cracked or broken latch, exposed wire, a bent plug, or a connection that drops in and out. Replacing the cable is usually the simplest fix. For more checks when the network is not working, see “What are the 10 common network problems?”

The complete guide to lan cable wiring

LAN Cable Color Coding for an Internet Connection
Read the guide

Keep exploring

Guides from other topics

All topics →