Chapter 7
Elements of Network Connectivity
About This Chapter
The explosive expansion of the Internet and the geographical diversification of corporations have generated a need for large, worldwide networks. While previous chapters discussed networking basics, with a focus on smaller networks, this chapter explores the devices and technologies available to expand networks beyond the scope of simple local area networks (LANs). The discussion begins with modems, moves on to repeaters, bridges, routers, brouters, and gateways, and concludes with a look at remote access computing. You will learn how a network can be expanded across the street or around the world.
Before You Begin
This chapter is an expansion of Chapter 2, "Basic Network Media." You should review the sections on topology and network cabling before starting this chapter. Many of the terms discussed in Chapter 2 are used or expanded in this chapter. Also, references are made to Ethernet and Token Ring architectures. You can review these topics in Chapter 3, "Understanding Network Architecture."
Lesson 1: Connectivity Devices
This lesson is devoted to the hardware that is used to expand networks. We begin with the most basic communication device: the modem. Modems have become so common that they are standard equipment on most computers sold today. Indeed, anyone who has ever used the Internet or a fax machine has used a modem. In addition to modems, several devices are used to connect small LANs into larger wide area networks (WANs). Each of these devices has its own function along with some limitations. They can be used simply to extend the length of network media or to provide access to a worldwide network over the Internet. Devices used to expand LANs include repeaters, bridges, routers, brouters, and gateways.
After this lesson, you will be able to:
- Describe the basic functions of a modem.
- Identify modem standards.
- Describe the function of repeaters, bridges, routers, brouters, and gateways.
Modem Technology
A modem is a device that makes it possible for computers to communicate over a telephone line.
When computers are too far apart to be joined by a standard computer cable, a modem can enable communication between them. Remember from Chapter 2, "Basic Network Media," that network cables are limited in length. In a network environment, modems serve as a means of communication between networks and as a way to connect to the world beyond the local network.
!!!!!!!!Write your comments after
the c07dem01 video to view a presentation of how a modem makes it possible for computers to communicate over a telephone line.
Basic Modem Functions
Computers cannot simply be connected to each other over a telephone line, because computers communicate by sending digital electronic pulses (electronic signals), and a telephone line can send only analog waves (sound). Figure 7.1 shows the difference between digital computer communication and analog telephone communication.
Figure 7.1Digital signals versus analog waves
A digital signal has a binary form. The signal can have a value of either 0 or 1. An analog signal can be pictured as a smooth curve that can represent an infinite range of values.
!!!!!!!!Write your comments after
the c07dem02, c07dem03, and c07dem04 videos for an illustrated overview of modem functions.
As shown in Figure 7.2, the modem at the sending end converts the computer's digital signals into analog waves and transmits the analog waves onto the telephone line. A modem at the receiving end converts the incoming analog signals back into digital signals for the receiving computer.
In other words, a sending modem MOdulates digital signals into analog signals, and a receiving modem DEModulates analog signals back into digital signals.
Figure 7.2Modems convert digital signals to analog waves, and convert analog waves to digital signals
NOTE
To use digital lines, you must install a special digital card in the computer.
Modem Hardware
Modems are known as data communications equipment (DCE) and share the following characteristics:
- A serial (RS-232) communications interface
- An RJ-11 telephone-line interface (a four-wire telephone plug)
!!!!!!!!Write your comments after
the c07dem05 video to view a presentation of modem cable interfaces.
Modems are available in both internal and external models. An internal modem, as shown in Figure 7.3, is installed in a computer's expansion slot like any other circuit board.
!!!!!!!!Write your comments after
the c07dem06 video to view a presentation of internal modems.
Figure 7.3Internal modem installed in an expansion slot
An external modem, as shown in Figure 7.4, is a small box that is connected to the computer by a serial (RS-232) cable running from the computer's serial port to the modem's computer cable connection. The modem uses a cable with an RJ-11C connector to connect to the wall.
Figure 7.4External modem connects through the RS-232 cable to the computer serial port
!!!!!!!!Write your comments after
the c07dem07 video to view a presentation of external modems.
Modem Standards
Standards are necessary so that modems from one manufacturer can communicate with modems from another manufacturer. This section explains some of the common industry standards for modems.
Hayes-Compatible
In the early 1980s, a company called Hayes Microcomputer Products developed a modem called the Hayes Smartmodem. The Smartmodem became the standard against which other modems were measured, and generated the phrase "Hayes-compatible," just as IBM's personal computer generated the term "IBM-compatible." Because most vendors conformed to the Hayes standards, nearly all LAN modems could communicate with each other.
The early Hayes-compatible modems sent and received data at 300 bits per second (bps). Modem manufacturers currently offer modems with speeds of 56,600 bps or more.
International Standards
Since the late 1980s, the International Telecommunications Union (ITU) has developed standards for modems. These specifications, known as the V series, include a number that indicates the standard. As a reference point, the V.22bis modem at 2400 bps would take 18 seconds to send a 1000-word letter. The V.34 modem at 9600 bps would take only four seconds to send the same letter, and the V.42bis compression standard in a 14,400 bps modem can send the same letter in only three seconds.
The chart in Table 7.1 presents the compression standards and their parameters since 1984. The compression standard and the bps are not necessarily related. The standard could be used with any speed of modem.
Table 7.1Modem Compression Standards from 1984 to the Present
Standard / bps / Introduced / NotesV.22bis / 2400 / 1984
V.32 / 9600 / 1984
V.32bis / 14,400 / 1991
V.32terbo / 19,200 / 1993 / Will communicate only with another V.32terbo
V.FastClass
(V.FC) / 28,800 / 1993
V.34 / 28,800 / 1994 / Improved V.FastClass. Backward-compatible with earlier V. modems
V.42 / 57,600 / 1995 / Backward-compatible with earlier V. modems—error-correction standard
V.90 / 56,600 / 1998 / 56K modem standard; resolved competition for standard between U.S. Robotic X2 and Rockwell K56 Flex standards.
Modem Performance
Initially, a modem's speed was measured in either bps or something called the "baud rate," and most people mistakenly assumed the two were identical.
"Baud" refers to the speed at which the sound wave that carries a bit of data overthe telephone lines oscillates. The term derives from the name of French telegrapher and engineer Jean-Maurice-Emile Baudot. In the early 1980s, the baud rate did equal the transmission speed of modems. At that time, 300 baud equaled 300 bits per second.
Eventually, communications engineers learned to compress and encode data so that each modulation of sound could carry more than one bit of data. This development means that the rate of bps can be greater than the baud rate. For example, a modem that modulates at 28,800 baud can actually send at 115,200 bps. Therefore, the current parameter to look for in modem speed is bps.
Several of the newer modems feature industry standards, such as V.42bis/MNP5 data compression, and have transmission speeds of 57,600 bps; and some modems go up to 76,800 bps.
Types of Modems
There are different types of modems because different types of communication environments require different methods of sending data. These environments can be divided roughly into two areas related to the timing of communications:
- Asynchronous
- Synchronous
The type of modem a network uses depends on whether the environment is asynchronous or synchronous.
Asynchronous Communication (Async)
Asynchronous communication, known as "async," is possibly the most widespread form of connectivity in the world. This is because async was developed inorder to make use of common telephone lines.
Figure 7.5 shows an asynchronous environment, in which data is transmitted in a serial stream.
Figure 7.5Asynchronous serial data stream
Each character—letter, number, or symbol—is turned into a string of bits. Each of these strings is separated from the other strings by a start-of-character bit and a stop bit. Both the sending and receiving devices must agree on the start and stop bit sequence. The receiving computer uses the start and stop bit markers to schedule its timing functions so it is ready to receive the next byte of data.
Communication is not synchronized. There is no clocking device or method to coordinate transmission between the sender and the receiver. The sending computer just sends data, and the receiving computer just receives data. The receiving computer then checks to make sure that the received data matches what was sent. Between 20 and 27 percent of the data traffic in async communication consists ofdata traffic control and coordination. The actual amount depends on the type of the transmission—for example, whether parity (a form of error checking, discussed in the section that follows) is being used.
Asynchronous transmission over telephone lines can happen at up to 28,800 bps. However, the latest data compression methods can boost the 28,800 bps rate to 115,200 bps over directly connected systems.
!!!!!!!!Write your comments after
the c07dem08 and c07dem09 videos for an overview of asynchronous communication.
Error Control Because of the potential for error, async can include a special bit, called a parity bit, which is used in an error-checking and correction scheme called parity checking. In parity checking, the number of bits sent must match exactly the number of bits received.
!!!!!!!!Write your comments after
the c07dem10 to view a presentation of parity bits in asynchronous communication.
The original V.32 modem standard did not provide error control. To help avoid generating errors during data transmission, a company called Microcom developed its own standard for asynchronous data-error control, the Microcom Networking Protocol (MNP). The method worked so well that other companies adopted not only the initial version of the protocol but later versions, called classes, as well. Currently, several modem manufacturers incorporate MNP Classes 2, 3, and 4 standards.
In 1989, the Comité Consultatif Internationale de Télégraphie et Téléphonie (CCITT) published an asynchronous error-control scheme called V.42. This hardware-implemented standard featured two error-control protocols. The primary error-control scheme is link access procedure for modems (LAPM), but the scheme also uses MNP Class 4. The LAPM protocol is used in communications between two modems that are V.42-compliant. If only one, but not both, of the modems is MNP 4compliant, the correct protocol to use would be MNP 4.
Improving Transmission Performance Communication performance depends on two elements:
- Signaling or channel speed describes how fast the bits are encoded onto the communications channel.
- Throughput measures the amount of useful information going across the channel.
!!!!!!!!Write your comments after
the c07dem11 video located to view a presentation of channel speed and throughput.
By removing redundant elements or empty sections, compression improves the time required to send data. Microcom's MNP Class 5 Data Compression Protocol is an example of one current data compression standard. You can improve performance, often doubling the throughput, by using data compression. When both ends of a communication link use the MNP Class 5 protocol, data transmission time can be cut in half.
!!!!!!!!Write your comments after
the c07dem12 video to view a presentation of data compression.
The V.42bis standard, because it describes how to implement impressive data compression in hardware, makes even greater performance possible. For example, a 56.6Kbps modem using V.90 can achieve a throughput of 100Kbps.
NOTE
Although compressing data can improve performance, it is not an exact science. Many factors affect the actual compression ratio of a document or file. Atext file, for example, can be compressed more effectively than a complex graphic file. It is even possible to have a compressed file that is actually larger than the original. Remember, compression numbers cited by vendors are usually based on a best-case scenario.
Coordinating the Standards Asynchronous, or serial, modems are less expensive than synchronous modems because the asynchronous modem does not need the circuitry and the components to handle the timing involved in synchronous transmission that synchronous modems require.
Synchronous Communication
Synchronous communication relies on a timing scheme coordinated between two devices to separate groups of bits and transmit them in blocks known as "frames." Special characters are used to begin the synchronization and check its accuracy periodically.
!!!!!!!!Write your comments after
the c07dem13 and c07dem14 videos for an overview of synchronous communication.
Because the bits are sent and received in a timed, controlled (synchronized) process, start and stop bits are not required. Transmission stops at the end of one frame and starts again with a new one. This start-and-stop approach is much more efficient than asynchronous transmission, especially when large packets of data are being transferred. When small packets are sent, this increase in efficiency is less noticeable. Figure 7.6 shows a comparison of asynchronous and synchronous data streams.
Figure 7.6Asynchronous data stream versus synchronous data stream
If there is an error, the synchronous error-detection and correction scheme implements a retransmission.
!!!!!!!!Write your comments after
the c07dem15 video to view a presentation of a synchronous communication error-correction scheme.
Synchronous protocols perform a number of jobs that asynchronous protocols donot. Principally, they:
- Format data into blocks.
- Add control information.
- Check the information to provide error control.
The primary protocols in synchronous communication are:
- Synchronous Data Link Control (SDLC).
- High-level Data Link Control (HDLC)
- Binary Synchronous Communications Protocol (bisync)
Synchronous communication is used in almost all digital and network communications. For example, if you were using digital lines to connect remote computers, you would use synchronous modems rather than asynchronous modems to connect the computer to the digital line. Generally, their higher cost and complexity have kept synchronous modems out of the home market.
Asymmetric Digital Subscriber Line (ADSL)
The latest modem technology to become available is asymmetric digital subscriber line (ADSL). This technology converts existing twisted-pair telephone lines into access paths for multimedia and high-speed data communications. These new connections can transmit more than 8 Mbps to the subscriber and up to 1 Mbps from the subscriber.
ADSL is not without drawbacks. The technology requires special hardware, including an ADSL modem on each end of the connection. It also requires broadband cabling, which is currently only available in a few locations, and there is a limit to the connection length.
ADSL is recognized as a physical layer transmission protocol for unshielded twisted-pair media.
Expanding a Network Using Components
As companies grow, so do their networks. LANs tend to outgrow their original designs. You know your LAN is too small when:
- The cable begins to get crowded with network traffic.
- Print jobs include longer wait times.
- Traffic-generating applications, such as databases, experience increased response times.
The time usually comes when administrators need to expand the size or improve the performance of their networks. But networks cannot be made larger merely by adding new computers and more cable. Each topology or architecture has limits. There are, however, components that can be installed to increase the size of the network within its existing environment. These components can:
- Segment existing LANs so that each segment becomes its own LAN.
- Join two separate LANs.
- Connect to other LANs and computing environments to join them into a larger comprehensive WAN.
The components that enable engineers to accomplish these goals are:
- Hubs.
- Repeaters.
- Bridges.
- Routers.
- Brouters.
- Gateways.
Hubs
Chapter 2, "Basic Network Media," discusses how a hub is used as the central hardware component in a star topology. Chapter 3, "Understanding NetworkArchitecture," discusses how a hub works with a token-ring topology. Hubs can also be used to expand the size of a LAN. Although using hubs won't convert a LAN into a WAN, connecting or adding hubs to a LAN can effectively increase the number of workstations. This method of growing a LAN is popular, but does come with many design limitations. Figure 7.7 shows how several 10BaseT hubs can be connected to expand a network.
Figure 7.7Ethernet hubs connected in a series
Figure 7.8 shows how several token-ring hubs can be connected to expand a network.