|
Free Open Book
Upgrading and Repairing PCs |
Hardware Elements of Your NetworkThe choice of a data-link protocol affects the network hardware you choose. Because Ethernet, Fast Ethernet, Token-Ring, and other data-link protocols use different hardware, you must select the protocol before you can select appropriate hardware, including network interface cards, cables, and hubs or switches. Network Interface CardsOn most computers, the network interface adapter takes the form of a network interface card (NIC) that fits into a PCI slot on a desktop computer or a PC Card (PCMCIA) slot on a notebook computer. Although network cards for older systems might use the ISA or EISA slot standards, these don't support high-speed network standards and are obsolete. Many recent systems incorporate the network interface adapter onto the motherboard, but this practice is more commonly found in workstations and portable computers and rarely in servers because most network administrators prefer to select their own NICs.
Ethernet and Token-Ring adapters have unique hardware addresses coded into their firmware. The data link layer protocol uses these addresses to identify the other systems on the network. A packet gets to the correct destination because its data link layer protocol header contains the hardware addresses of both the sending and receiving systems. 10/100 Ethernet network adapters range in price from under $20 for client adapters to as much as $300 or more for server-optimized adapters. Token-Ring adapters are much more expensive, ranging in price from around $170 for client adapters to more than $500 for server-optimized adapters. Network adapters are built in all the popular interface-card types and are also optimized for either workstation or server use. For first-time network users, so-called network-in-a-box kits are available that contain two 10/100 Fast Ethernet NICs, a small hub or switch, and prebuilt UTP cables for less than $90. When combined with the built-in networking software in Windows, these kits make networking very inexpensive. A number of 10/100/1000-BASE-TX Gigabit Ethernet adapters for use with UTP cable can be purchased for under $60, and some 10/100 switches now also feature Gigabit Ethernet ports. For client workstations (including peer servers on peer-to-peer networks), the following sections contain my recommendations on the features you need. SpeedYour NIC should run at the maximum speed you want your network to support. For a Fast Ethernet network, for example, you should purchase Ethernet cards that support 100BASE-TX's 100Mbps speed. Most Fast Ethernet cards also support standard Ethernet's 10Mbps speed, allowing the same card to be used on both older and newer portions of the network. To verify dual-speed operation, look for network cards identified as 10/100 Ethernet. Your NIC should support both half-duplex and full-duplex operation:
Unlike hubs, which broadcast data packets to all computers connected to it, switches create a direct connection between the sending and receiving computers. Thus, switches provide faster performance than hubs; most switches also support full-duplex operation, doubling the rated speed of the network when full-duplex network cards are used. Although, at one time, switches were hard to justify on a workgroup peer-to-peer LAN because of their extra cost, switches are now available for little more than the price of hubs with a similar number of ports and are recommended for LANs of any size. If you plan to use your Ethernet-based home or office network to share an Internet connection, consider purchasing a router with an integrated switch. This combination makes networking simple and requires less space than separate routers and switches. Many router/switch combinations cost little more than a switch or router would separately. You can also purchase a wireless access point and router with an integrated switch so both wired and wireless workstations can share a single Internet connection. For other types of networks, you can use a gateway to connect your network with the Internet. Bus TypeIf you are networking desktop computers built from 1995 to the present, you should consider only PCI-based NICs (these computers typically have three or more PCI slots). Although many older computers still have at least one ISA or combo ISA/PCI expansion slot, the superior data bus width and data transfer rate of PCI make it the only logical choice for networks of all types. The integrated NIC found on some recent PC motherboards is also a PCI device. Alternative interfaces include USB or PC Card/Cardbus adapters that are often used for portable systems. Table 20.3 summarizes the differences between all the types of interfaces used by network cards.
Although a few ISA-based NICs are still on the market, their slow speeds and narrow bus widths severely restrict their performance. Most ISA-based Ethernet cards can't support speeds above 10Mbps and thus don't support Fast Ethernet or Gigabit Ethernet. A few vendors make 10/100 Ethernet cards for the ISA slot, but their performance is substantially lower than PCI cards. If you are shopping for a network card for a laptop or notebook system, look for Cardbus types, which are significantly faster than PC Cards and those using USB. Network Adapter ConnectorsEthernet adapters typically have a connector that looks like a large telephone jack called an RJ-45 (for 10BASE-T and Fast Ethernet twisted-pair cables), a single BNC connector (for Thinnet coaxial cables), or a D-shaped 15-pin connector called a DB15 (for Thicknet coaxial cables). A few older 10Mbps adapters have a combination of two or all three of these connector types; adapters with two or more connectors are referred to as combo adapters. Token-Ring adapters can have a 9-pin connector called a DB9 (for Type 1 STP cable) or sometimes an RJ-45 jack (for Type 3 UTP cable). Figure 20.3 shows all three of the Ethernet connectors. Figure 20.3. Three Ethernet connectors on two NICs: RJ-45 connector (top center), DB-15 connector (bottom right), and BNC connector (bottom left).
The following figures provide profile views of the most common types of NIC connections. Figure 20.4 shows a 10BASE-2 NIC configured to be at the end of a network; the T-adapter connected to the BNC connector has a Thinnet (RG-58) cable attached to one side and a 50-ohm terminator at the other end. Figure 20.4. An Ethernet 10BASE-2 NIC configured as the last station in a Thin Ethernet network.
Figure 20.5 shows a 10BASE-T NIC with its UTP cable attached. Figure 20.5. An Ethernet 10BASE-T NIC with a UTP cable attached.
Virtually all standard and 10/100 Ethernet NICs made for client-PC use on the market today are designed to support unshielded twisted-pair (UTP) cable exclusively; Gigabit Ethernet cards made for wired (not fiber-optic) networks also use only UTP cable. If you are adding a client PC to an existing network that uses some form of coaxial cable, you have three options:
For maximum economy, NICs and network cables must match, although media converters can be used to interconnect networks based on the same standard, but using different cable. Network CablesOriginally, all networks used some type of cable to connect the computers on the network to each other. Although various types of wireless networks are now on the market, most office and home networks are still based on one of the following wired topologies:
Thick and Thin Ethernet Coaxial CableThe first versions of Ethernet were based on coaxial cable. The original form of Ethernet, 10BASE-5, used a thick coaxial cable (called Thicknet) that was not directly attached to the NIC. A device called an attachment unit interface (AUI) ran from a DB15 connector on the rear of the NIC to the cable. The cable had a hole drilled into it to allow the "vampire tap" to be connected to the cable. NICs designed for use with thick Ethernet cable are almost impossible to find as new hardware today. 10BASE-2 Ethernet cards use a BNC (Bayonet-Neill-Concilman) connector on the rear of the NIC. Although the thin coaxial cable (called Thinnet or RG-58) used with 10BASE-2 Ethernet has a bayonet connector that can physically attach to the BNC connector on the card, this configuration is incorrect and won't work. Instead, a BNC T-connector attaches to the rear of the card, allowing a thin Ethernet cable to be connected to either both ends of the T (for a computer in the middle of the network) or to one end only (for a computer at the end of the network). A 50-ohm terminator is connected to the other arm of the T to indicate the end of the network and prevent erroneous signals from being sent to other clients on the network. Some early Ethernet cards were designed to handle thick (AUI/DB15), thin (RG-58), and UTP (RJ-45) cables. Combo cards with both BNC and RJ-45 connectors are still available but can run at only standard Ethernet speeds. Figure 20.6 compares Ethernet DB-15 to AUI, BNC coaxial T-connector, and RJ-45 UTP connectors to each other, and Figure 20.7 illustrates the design of coaxial cable. Figure 20.6. An Ethernet network card with thick Ethernet (DB-15), thin Ethernet (RG-58 with T-connector), and UTP (RJ-45) connectors.
Figure 20.7. Coaxial cable.
Twisted-Pair CableTwisted-pair cable is just what its name implies: insulated wires within a protective casing with a specified number of twists per foot. Twisting the wires reduces the effect of electromagnetic interference (that can be generated by nearby cables, electric motors, and fluorescent lighting) on the signals being transmitted. Shielded twisted pair (STP) refers to the amount of insulation around the cluster of wires and therefore its immunity to noise. You are probably familiar with unshielded twisted-pair (UTP) cable; it is often used for telephone wiring. Figure 20.8 shows unshielded twisted-pair cable; Figure 20.9 illustrates shielded twisted-pair cable. Figure 20.8. An unshielded twisted-pair (UTP) cable.
Figure 20.9. A shielded twisted-pair (STP) cable.
Most Ethernet and Fast Ethernet installations that use twisted-pair cabling use UTP because the physical flexibility and small size of the cable and connectors makes routing it very easy. However, its lack of electrical insulation can make interference from fluorescent lighting, elevators, and alarm systems (among other devices) a major problem. If you use UTP in installations where interference can be a problem, you need to route the cable away from the interference, use an external shield, or substitute STP for UTP near interference sources. Network TopologiesEach computer on the network is connected to the other computers with cable (or some other medium). The physical arrangement of the cables connecting computers on a network is called the network topology. The three types of basic topologies used in computer networks are as follows:
These different topologies are often mixed, forming what is called a hybrid network. For example, you can link the hubs of several star networks together with a bus, forming a star-bus network. Rings can be connected in the same way. Table 20.4 summarizes the relationships between network types and topologies.
The bus, star, and ring topologies are discussed in the following sections. Bus TopologyThe earliest type of network topology was the bus topology, which uses a single cable to connect all the computers in the network to each other, as shown in Figure 20.10. This network topology was adopted initially because running a single cable past all the computers in the network is easier and less wiring is used than with other topologies. Because early bus topology networks used bulky coaxial cables, these factors were important advantages. Both 10BASE-5 (thick) and 10BASE-2 (thin) Ethernet networks are based on the bus topology. Figure 20.10. A 10BASE-2 network is an example of a linear bus topology, attaching all network devices to a common cable.
However, the advent of cheaper and more compact unshielded twisted-pair cabling, which also supports faster networks, has made the disadvantages of a bus topology apparent. If one computer or cable connection malfunctions, it can cause all the stations beyond it on the bus to lose their network connections. Thick Ethernet (10BASE-5) networks often fail because the vampire tap connecting the AUI device to the coaxial cable comes loose. In addition, the T-adapters and terminating resistors on a 10BASE-2 Thin Ethernet network can also come loose or be removed by the user, causing all or part of the network to fail. Another drawback of Thin Ethernet (10BASE-2) networks is that adding a new computer to the network between existing computers might require replacement of the existing network cable between the computers with shorter segments to connect to the new computer's network card and T-adapter. Ring TopologyAnother topology often listed in discussions of this type is a ring, in which each workstation is connected to the next and the last workstation is connected to the first again (essentially a bus topology with the two ends connected). Two major network types use the ring topology:
A Token-Ring network resembles a 10BASE-T or 10/100 Ethernet network at first glance because both networks use a central connecting device and a physical star topology. Where is the "Ring" in Token-Ring? The ring exists only within the device that connects the computers, which is called a multistation access unit (MSAU) on a Token-Ring network (see Figure 20.11). Figure 20.11. A Token-Ring network during the sending of data from one computer to another.
Signals generated from one computer travel to the MSAU, are sent out to the next computer, and then go back to the MSAU again. The data is then passed to each system in turn until it arrives back at the computer that originated it, where it is removed from the network. Therefore, although the physical wiring topology is a star, the data path is theoretically a ring. This is called a logical ring. A logical ring that Token-Ring networks use is preferable to a physical ring network topology because it affords a greater degree of fault tolerance. As on a bus network, a cable break anywhere in a physical ring network topology, such as FDDI, affects the entire network. FDDI networks use two physical rings to provide a backup in case one ring fails. By contrast, on a Token-Ring network, the MSAU can effectively remove a malfunctioning computer from the logical ring, enabling the rest of the network to function normally. Star TopologyThe most popular type of topology in use today has separate cables to connect each computer to a central wiring nexus, often called a hub or concentrator; a switch can also be used in place of a hub. Figure 20.12 shows this arrangement, which is called a star topology. Figure 20.12. The star topology, linking the LAN's computers and devices to one or more central hubs, or access units.
Because each computer uses a separate cable, the failure of a network connection affects only the single machine involved. The other computers can continue to function normally. Bus cabling schemes use less cable than the star but are harder to diagnose or bypass when problems occur. At this time, Fast Ethernet in a star topology is the most commonly implemented type of LAN; this is the type of network you build with most preconfigured network kits. 10BASE-T Ethernet and 1000BASE-TX Gigabit Ethernet also use the star topology. 10BASE-T can use either Category 3 or Category 5 UTP, whereas Fast Ethernet and Gigabit Ethernet require Category 5 UTP or greater. Hubs and Switches for Ethernet NetworksAs you have seen, modern Ethernet workgroup networks are based on UTP cable with workstations arranged in a star topology. The center of the star uses a multiport connecting device that can be either a hub or a switch. Although hubs and switches can be used to connect the network—and can have several features in common—the differences between them are also significant and are covered in the following sections. All Ethernet hubs and switches have the following features:
Ethernet hubs and switches are made in two forms: managed and unmanaged. Managed hubs and switches can be configured, enabled or disabled, or monitored by a network operator and are commonly used on corporate networks. Workgroup and home-office networks use less expensive unmanaged hubs, which simply connect computers on the network.
The connection between each workstation and the hub or switch is the UTP cable running from the RJ-45 jack on the rear of the NIC to the RJ-45 jack on the rear of the hub or switch. Signal lights on the front of the hub or switch indicate which connections are in use by computers; switches also indicate whether a full-duplex connection is in use. Multispeed hubs and switches also indicate which connection speed is in use on each port. Your hub or switch must have at least one RJ-45 UTP connector for each computer you want to connect to it. Figure 20.13 shows a typical five-port, 10/100 Ethernet hub suitable for small networks at home or in a small business. Figure 20.13. A typical 10/100, five-port workgroup hub. Photo courtesy Linksys.
How Hubs WorkA computer on an Ethernet network broadcasts (sends) a request for network information or programs from a specific computer through the cable to the hub, which broadcasts the request to all computers connected to it. When the destination computer receives the message, it sends the requested information back to the hub, which broadcasts it again to all computers, although only the requesting computer acts on the information. Thus, a hub acts similarly to a radio transmitter and receiver that sends a signal to all radios, but only the radios set for the correct station can send or receive the information. How Switches Differ from HubsSwitches are similar to hubs in that they connect computers on a UTP-based Ethernet network to each other and physically resemble hubs (see Figure 20.14). However, instead of broadcasting data to all computers on the network as hubs do, switches use a feature called address storing, which checks the destination for each data packet and sends it directly to the computer it's intended for. Thus, a switch can be compared to a telephone exchange, making direct connections between the originator of a call and the receiver. Figure 20.14. Front (top) and rear (bottom) of a typical five-port, 10/100 Ethernet switch.
Because switches establish a direct connection between the originating and receiving PC, they also provide the full bandwidth of the network to each port. Hubs, by contrast, must subdivide the network's bandwidth by the number of active connections on the network, meaning that bandwidth rises and falls depending on network activity. For example, assume you have a four-station network workgroup using 10/100 NICs and a Fast Ethernet hub. The total bandwidth of the network is 100Mbps. However, if two stations are active, the effective bandwidth available to each station drops to 50Mbps (100Mbps divided by 2). If all four stations are active, the effective bandwidth drops to just 25Mbps (100Mbps divided by 4)! Add more active users, and the effective bandwidth continues to drop. By replacing the hub with a switch, the effective bandwidth for each station remains 100Mbps because the switch doesn't broadcast data to all stations. Most 10/100 NICs and Fast Ethernet or 10/100 switches also support full-duplex (simultaneous transmit and receive), enabling actual bandwidth to be double the nominal 100Mbps rating: 200Mbps. Table 20.5 summarizes the differences between the two devices.
As you can see, using a switch instead of a hub greatly increases the effective speed of a network, even if all other components remain the same. Because of the improved performance of switches, I recommend them instead of hubs for networks of any size. Additional Hub and Switch Features You Might NeedAlthough older hubs and switches run at only a single speed and have only a few RJ-45 connectors, it makes sense to upgrade to newer, more flexible equipment. Most recent hubs and switches have the following useful features, which are worth asking for:
To determine whether a hub or switch is stackable, look for an uplink port, as shown in Figure 20.15. This port looks like an ordinary RJ-45 UTP port, but it is wired differently, enabling you to use a standard-pinout RJ-45 UTP cable to connect it to another hub. Without the uplink port, you'd have to use a specially wired crossover cable. Figure 20.15. The connectors on a typical five-port workgroup hub with an uplink port (at left) for connecting this hub to another hub (stacking the hubs). Either port #5 or the uplink port can be used, but not both.
Typically, hubs and switches with an uplink port allow you to use the port along with all but one of the normal ports on the hub (see Figure 20.15). For example, one of my associates uses a five-port switch from Linksys that also contains a router (for Internet access) and an uplink port. If his office network expands beyond five computers, he can use the uplink port to add another switch to expand the network and provide the new stations, as well as the original network, with Internet access. Hub and Switch PlacementAlthough large networks have a wiring closet near the server, the workgroup-size LANs you'll be building don't need a wiring closet. However, the location of the hub or switch is important. Ethernet hubs and switches require electrical power, whether they are small units that use a power "brick" or larger units that have an internal power supply and a standard three-prong AC cord. In addition to electrical power, consider placing the hub or switch where its signal lights will be easy to view for diagnostic purposes and where its RJ-45 connectors can be reached easily when it's time to add another user or two. In many offices, the hub or switch sits on the corner of the desk, enabling the user to see network problems just by looking at the hub or switch. If the hub or switch also integrates a router for use with a broadband Internet device, such as a DSL or cable modem, you can place it near the cable or DSL modem or at a distance if the layout of your home or office requires it. Because the cable or DSL modem usually connects to your computer by the same Category 5 cable used for UTP Ethernet networking, you can run the cable from the cable or DSL modem to the router/switch's WAN port and connect all the computers to the LAN ports on the router/switch. Except for the 328" (100 meter) limit for all forms of UTP Ethernet (10BASE-T, 100BASE-TX, and 1000BASE-TX), distances between each computer on the network and the hub or switch aren't critical, so put the hub or switch wherever you can supply power and gain easy access.
|
Main Menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |