- Working with Network Interface Cards
- Working with Network Connectivity Devices
- An operating system is used to configure and monitor a switch.
- Some Thoughts on PC Hardware
- Chapter Summary
Working with Network Connectivity Devices
Depending on the type of topology your network uses and the type of cabling you use (cabling is discussed in Chapter 4, "Building the Network Infrastructure," in the section "Choosing a Network Connectivity Strategy"), your LAN might require some sort of connectivity device to connect the various network computers, printers, and other devices together. In cases where you need to extend your LAN (say, to the second floor of an office building) or add a large number of new users to the LAN, other connectivity devices might be required. Some of these connectivity devices merely serve to connect devices; others are used to boost the data signal traveling on the network medium, and still others actually participate in determining how data traffic should flow on the network.
Let's start our discussion of network connectivity devices with the hub, which is a device you would use on a small network, or even in a peer-to-peer networking situation, to connect computers. The other devices that we will look at, such as repeaters, switches, and routers, are often lumped under the blanket term internetworking devices. An internetwork is a network of LANs, meaning that some sort of connectivity technology is used to extend a LAN beyond its typical size or to connect different LANs together into one large network.s
Hubs
Hubs are commonly used LAN connectivity devices. They serve as the central connection points for LANs (hubs are used on LANs that embrace the star topology discussed in Chapter 2, "Different Needs, Different Networks"). A basic hub contains no active electronics and therefore cannot be used to extend a LAN (that is, extend it past the cabling distance specifications discussed in the next chapter). It basically organizes your cables and relays data signals to all the computers on the LAN.
Hubs are most commonly used on networks that use twisted-pair cabling. Ports available on the back of the hub provide the connection points for the devices on the network. Computers and other devices are attached to the hub by individual network cables. Hubs come in many sizes and shapes and supply different numbers of ports.
In cases where the LAN outgrows the size of the hub, a new hub can be attached (the hubs are "daisy chained" together using a short connection cable often referred to as a rat tail) to the current hub, thus providing greater port density. Figure 3.5 shows two different types of Ethernet hubs.
Figure 3.5 Hubs provide the central connection points for LANs.
Hubs come in all sizes and shapes and are available in a wide range of prices. Typically, the more ports on the hub, the more expensive the hub. Hubs that support faster varieties of Ethernet, such as Fast Ethernet (which we discuss in the next chapter in the section "Understanding Ethernet"), will also cost more.
Repeaters
As you will find out in the next chapter, the different types of network cabling all have a maximum distance that they can move a data signal. In cases where a LAN must be extended beyond the maximum run for a particular cabling type, repeaters are used. A repeater takes the signal that it receives from computers and other devices on the LAN and regenerates the signal so that the signal maintains its integrity along a longer media run than is normally possible.
Repeaters don't have any capabilities for directing network traffic or deciding the particular route certain data should take; they are simple devices that just sit on the network, boosting the data signals they receive. The problem with repeaters is that they amplify the entire signal that they receive, including any line noise. So, in worst-case scenarios, they pass on data traffic that is barely discernable from the background noise on the line.
Bridges
A bridge is an internetworking device used to help conserve the bandwidth available on the network. When LANs really start to grow, network data traffic can begin to overwhelm the available bandwidth on network media.
One strategy for conserving network bandwidth is to chop the network up into smaller segments. These segments are connected to a bridge. Bridges are smarter than hubs and repeaters and actually use some software to help get the job done. A bridge is able to read the MAC address (also known as the hardware addressremember it's burned onto the NIC in each computer on the network) of each data packet circulating on the network segments connected to the bridge. By learning which MAC addresses live on each of the network segments, the bridge can help keep data traffic that is local to a particular segment from spreading to the other network segments that are serviced by the bridge.
Switches
A switch is another internetworking device used to manage the bandwidth on a large network. A switch, which is often referred to as a "bridge on steroids," controls the flow of data by using the MAC address that is placed on each data packet (which coincides with the MAC address of a particular computer's network card). Switches divide networks into what are called Virtual LANs or VLANs. The great thing about a VLAN, which is a logical grouping of computers on the network into a sort of communication group, is that the computers don't have to be in close proximity or even on the same floor. This allows you to group computers that serve similar types of users into a VLAN. For example, even if your engineers are spread all over your company's office building, their computers can still be made part of the same VLAN, which would share bandwidth.
Switches use a combination of software and hardware to switch packets between computers and other devices on the network. Switches have their own operating system. Figure 3.6 shows the status of a VLAN (VLAN1) on a Cisco 2900 switch. Understanding what is being shown in this figure requires an understanding of the switch's OS. Basically, this particular screen shows the hardware/MAC address of the switch and the IP address of the switch. Other statistics relate to the number of packets sent and received by the switch (which are all at 0 because the switch has just been placed on the network).
Because switches can offer a high density of connection ports, they can even replace the hub on a network. This means that each computer on the network can be connected to its own port on the switch. When PCs are directly connected to a switch, it can supply each PC with a dedicated amount of bandwidth. For example, users on a 10Mbps Ethernet network can realize bandwidth of 10Mbps. The computers don't compete for the bandwidth the way computers do on a network that is connected via a hub.