By Bob Catanzarite
Home Network Wiring and Setup - Chapter 3
A Brief and Simplified Description of Various Network Devices
Links to more detailed descriptions of hubs are:
With a hub every port carries every packet that any device sends while on a switch a port only carries traffic intended for the device connected to it. Hubs do not allow multiple devices to communicate at the same time but switches do. With a switch a device on port 1 can be communicating with a device on port 2 at the SAME TIME as another device on port 3 is communicating with a device on port 4. Switches make much more efficient use of a ports bandwidth.
Switches also allow Full Duplex communications. With Full Duplex a port can transmit and receive at the same time.
Links to more detailed descriptions of switches are:
Routers are a lot like switches in that they route packets to proper destination. The come in a lot of different forms but for a home network they usually have the additional task of acting as a bridge between your LAN (Local Area Network) and the WAN (the internet). A router will examine packets and determine if they are destined for your LAN or the WAN and route them accordingly. With a router sitting in-between your LAN and the internet and deciding which packets are allowed to flow between the two, it is in an ideal position to protect the two from each other. This is why most home networking routers have built in firewalls.
Routers have one other huge benefit for people with networked PC that want to share a single internet connection. All your ISP (Internet Service Provider) will see is the router and not the multiple PC behind the router that are sharing the one connection. Without a router the ISP will see each PC and the IP address that each PC has. ISP's usually charge extra for more than one IP address. But, with the router, all the ISP will see is the IP address of the router and the router will make sure that packets to and from the internet get to the proper PC.
Links to more detailed descriptions of routers are
UPLINK Ports -vs- Crossover Cables
You'll notice the drawings on the previous page show ports called UPLINK ports. To understand the purpose of an UPLINK port you need to have a basic understanding of the two types of networked devices. You have NDD (Network Distribution Devices - I made that term up) and you have NU (Network Users - again, a term that I made up). An NDD will be a distribution device like a hub or switch. A NU will be a PC or a print server or a router or a broadband modem. So here is the rule of thumb:
When connecting a NDD to an NU - use a standard straight through cable.
When connecting like devices such as a hub to a hub or a PC to a PC - use a crossover cable.
A NDD (Network Distribution Device) such as a hub or a switch in intended to be connected to a NU (Network User) such as a PC. If you connect LIKE devices you have to use a crossover cable. A crossover cable is the same as a straight through cable except the the TX (Transmit) and RX (Receive) pairs are reversed or swapped on ONE end of the cable.
To a network beginner it may not always be clear when you can use a standard cable and when you need a crossover cable. Basically you need a crossover cable when connecting LIKE devices together.
Most manufacturers of hubs and switches know that users will often connect these NDD devices together to add additional ports to a network. With these being LIKE devices a crossover cable is needed. With this in mind, on MOST hubs and switches, one of the ports can usually be configured as an UPLINK port. An UPLINK port has the TX and RX pairs reversed internally to the device which eliminates the need for a crossover cable. Some devices will have an electrical switch near the port that will change the port to a standard port or an UPLINK port. Other devices will have two jacks for one of the ports with one jack wired as a standard port and the other as an uplink port. When your shopping for a hub or switch look for one that has a configurable UPLINK port!
If you must use a crossover cable you can buy them or make them. I have seen 40-11 different descriptions of how a crossover cable is wired. All of them seemed to confuse me so I created my own 40-12th description as shown in the drawings below. To state it as simply as I can - A crossover cable differs from a straight through cable by exchanging or swapping the TX and RX pairs on ONE end of the cable.
The thing that adds to the confusion here, I think, is the fact that there are two wire color patterns - T568A and T568B. As I have said earlier in this website - the meat of the matter is that these two different looking wiring standards are ELECTRICALLY BOTH THE SAME IF you use the SAME color pattern on BOTH ends of a given cable! Irregardless of which of the two color pattern you choose pin 1 on one end is connected to pin 1 on the other end. Pin 2 on one end is connected to pin 2 on the other end and so forth. The difference is just in the COLOR of the wires.
Another way to describe a crossover cable is that one side is wired to the T568A color code and the other side s wired to the T568B color code.
So rather than explain all this in words I have made drawings of the 4 possible cable configurations. You have two wire color standards and you can have a straight through and a crossover version of each. All 4 are shown below:
- Use a crossover cable to connect LIKE devices. For un-like devices use a straight through cable.
- To make a crossover cable you reverse the TX and RX pairs on ONE end of the cable.
- When your connecting a hub to a hub or a switch to a switch - you don't have to use crossover cables if the hub or switch has an UPLINK port. Simplify things by choosing devices that have UPLINK ports!!
- When your connecting a hub to a hub or a switch to a switch using an uplink port, connect one end of a straight through cable to an UPLINK port and the other end of the cable to a standard port. Remember - you are essentially swapping the TX and RX pairs on ONE end of the cable only. This is why you connect one end of the cable to an uplink port and the other end to a standard port.
- Another thing. If you make or buy a crossover cable it will look a LOT like a straight through cable. Make sure you label a cable clearly as being a crossover cable. You can spend hours troubleshooting a problem that arises because you used the wrong kind of cable.
Here are some links to other sites that describe
The next page-
will discuss how to setup the operating system on your PC's to get them to work with a network.