This lesson describes designs for connecting computers. You will also learn about variations that are often used and what you need to consider when planning your network.
After this lesson, you will be able to:
- Identify the four standard topologies and their variations.
- Describe the advantages and disadvantages of each topology.
- Determine an appropriate topology for a given network plan.
Estimated lesson time: 80 minutes
The term topology, or more specifically, network topology, refers to the arrangement or physical layout of computers, cables, and other components on the network. "Topology" is the standard term that most network professionals use when they refer to the network's basic design. In addition to the term "topology," you will find several other terms that are used to define a network's design:
A network's topology affects its capabilities. The choice of one topology over another will have an impact on the:
Developing a sense of how to use the different topologies is a key to understanding the capabilities of the different types of networks.
Before computers can share resources or perform other communication tasks they must be connected. Most networks use cable to connect one computer to another.
NOTE
Wireless networks connect computers without using cable. This technology is discussed in Chapter 2 in Lesson 3: Wireless Networking.
However, it is not as simple as just plugging a computer into a cable connecting other computers. Different types of cable—combined with different network cards, network operating systems, and other components—require different types of arrangements.
To work well, a network topology takes planning. For example, a particular topology can determine not only the type of cable used but also how the cabling runs through floors, ceilings, and walls.
Topology can also determine how computers communicate on the network. Different topologies require different communication methods, and these methods have a great influence on the network.
All network designs stem from four basic topologies:
A bus topology consists of devices connected to a common, shared cable. Connecting computers to cable segments that branch out from a single point, or hub, is referred to as setting up a star topology. Connecting computers to a cable that forms a loop is referred to as setting up a ring topology. A mesh topology connects all computers in a network to each other with separate cables.
These four topologies can be combined in a variety of more complex hybrid topologies.
The bus topology is often referred to as a "linear bus" because the computers are connected in a straight line. This is the simplest and most common method of networking computers. Figure 1.15 shows a typical bus topology. It consists of a single cable called a trunk (also called a backbone or segment) that connects all of the computers in the network in a single line.
Figure 1.15 Bus topology network
Run the c01dem01 video located in the Demos folder on the compact disc accompanying this book to view a demonstration of a bus-topology connection.
Communication on the Bus
Computers on a bus topology network communicate by addressing data to a particular computer and sending out that data on the cable as electronic signals. To understand how computers communicate on a bus, you need to be familiar with three concepts:
Sending the Signal Network data in the form of electronic signals is sent to all the computers on the network. Only the computer whose address matches the address encoded in the original signal accepts the information. All other computers reject the data. Figure 1.16 shows a message being sent from 0020af151d8b to 02608c133456. Only one computer at a time can send messages.
Run the c01dem02 video located in the Demos folder on the compact disc accompanying this book to view a demonstration of how data is transferred in a bus topology.
Figure 1.16 Data is sent to all computers, but only the destination computer accepts it
Because only one computer at a time can send data on a bus network, the number of computers attached to the bus will affect network performance. The more computers there are on a bus, the more computers will be waiting to put data on the bus and, consequently, the slower the network will be.
There is no standard way to measure the impact of a given number of computers on the speed of any given network. The effect on performance is not related solely to the number of computers. The following is a list of factors that—in addition to the number of networked computers—will affect the performance of a network:
Computers on a bus either transmit data to other computers on the network or listen for data from other computers on the network. They are not responsible for moving data from one computer to the next. Consequently, if one computer fails, it does not affect the rest of the network.
Run the c01dem03 video located in the Demos folder on the CD accompanying this book to view a demonstration that shows how a failed computer does not affect data transmission in a bus topology.
Signal Bounce Because the data, or electronic signal, is sent to the entire network, it travels from one end of the cable to the other. If the signal is allowed to continue uninterrupted, it will keep bouncing back and forth along the cable and prevent other computers from sending signals. Therefore, the signal must be stopped after it has had a chance to reach the proper destination address.
Run the c01dem04 video located in the Demos folder on the CD accompanying this book to view a demonstration of signal bounce.
Terminator To stop the signal from bouncing, a component called a terminator is placed at each end of the cable to absorb free signals. Absorbing the signal clears the cable so that other computers can send data.
Both ends of each cable segment on the network must be plugged into something. For example, a cable end can be plugged into a computer or a connector to extend the cable length. Any open cable ends not plugged into something must be terminated to prevent signal bounce. Figure 1.17 shows a properly terminated bus topology network.
Figure 1.17 Terminators absorb free signals
Run the c01dem05 and c01dem06 videos located in the Demos folder on the CD accompanying this book to view a terminator component and a demonstration of how a terminator eliminates signal bounce.
Disrupting Network Communication
A break in the cable will occur if the cable is physically separated into two pieces or if at least one end of the cable becomes disconnected. In either case, one or both ends of the cable will not have a terminator, the signal will bounce, and all network activity will stop. This is one of several possible reasons why a network will go "down." Figure 1.18 shows a bus topology with a disconnected cable. This network will not work because it now has unterminated cables.
The computers on the network will still be able to function as stand-alone computers; however, as long as the segment is broken, they will not be able to communicate with each other or otherwise access shared resources. The computers on the down segment will attempt to establish a connection; while they do so, workstation performance will be slower.
Figure 1.18 An unplugged cable is not terminated and will take down the network
Run the c01dem07 and c01dem08 videos located in the Demos folder on the CD accompanying this book to view a demonstration of what happens when there is a break in the cable of a bus-topology network.
Network Expansion
As the physical size of the site grows, the network will need to grow as well. Cable in the bus topology can be extended by one of the two following methods:
Figure 1.19 Barrel connectors can be used to combine cable segments
Figure 1.20 Repeaters connect cables and amplify the signal
In the star topology, cable segments from each computer are connected to a centralized component called a hub. Figure 1.21 shows four computers and a hub connected in a star topology. Signals are transmitted from the sending computer through the hub to all computers on the network. This topology originated in the early days of computing when computers were connected to a centralized mainframe computer.
Figure 1.21 Simple star network
Run the c01dem09 and c01dem10 videos located in the Demos folder on the CD accompanying this book to view demonstrations of a star topology.
The star network offers the advantage of centralized resources and management. However, because each computer is connected to a central point, this topology requires a great deal of cable in a large network installation. Also, if the central point fails, the entire network goes down.
If one computer—or the cable that connects it to the hub—fails on a star network, only the failed computer will not be able to send or receive network data. The rest of the network continues to function normally.
Run the c01dem11 video located in the Demos folder on the CD accompanying this book to view a demonstration of what happens when a computer on a star topology network goes down.
The ring topology connects computers on a single circle of cable. Unlike the bus topology, there are no terminated ends. The signals travel around the loop in one direction and pass through each computer, which can act as a repeater to boost the signal and send it on to the next computer. Figure 1.22 shows a typical ring topology with one server and four workstations. The failure of one computer can have an impact on the entire network.
NOTE
A network's physical topology is the wire itself. A network's logical topology is the way it carries signals on the wire.
Figure 1.22 Simple ring network showing logical ring
Run the c01dem12 and c01dem13 videos located in the Demos folder on the CD accompanying this book to view demonstrations of logical and actual flows of data on a ring-topology network.
Token Passing
One method of transmitting data around a ring is called token passing. (A token is a special series of bits that travels around a token-ring network. Each network has only one token.) The token is passed from computer to computer until it gets to a computer that has data to send. Figure 1.23 shows a token ring topology with the token. The sending computer modifies the token, puts an electronic address on the data, and sends it around the ring.
Figure 1.23 A computer grabs the token and passes it around the ring
The data passes by each computer until it finds the one with an address that matches the address on the data.
The receiving computer returns a message to the sending computer indicating that the data has been received. After verification, the sending computer creates a new token and releases it on the network. The token circulates within the ring until a workstation needs it to send data.
Run the c01dem14 and c01dem15 videos located in the Demos folder on the CD accompanying this book to view demonstrations of both the logical and actual flows of token passing on a ring topology network.
It might seem that token passing would take a long time, but the token actually travels at roughly the speed of light. A token can circle a ring 200 meters (656 feet) in diameter about 477,376 times per second.
Run the c01dem16 video located in the Demos folder on the CD accompanying this book to view a demonstration of what happens when a computer on a token ring_topology network goes down.
A mesh topology network offers superior redundancy and reliability. In a mesh topology, each computer is connected to every other computer by separate cabling. This configuration provides redundant paths throughout the network so that if one cable fails, another will take over the traffic. While ease of troubleshooting and increased reliability are definite pluses, these networks are expensive to install because they use a lot of cabling. Often, a mesh topology will be used in conjunction with other topologies to form a hybrid topology.
Figure 1.24 In a mesh topology, all computers are connected to each other by separate cables
One network component that has become standard equipment in networks is the hub. Figure 1.25 shows a hub as the central component in a star topology.
Figure 1.25 A hub is the central point in a star topology
Most hubs are active; that is, they regenerate and retransmit signals in the same way as a repeater does. Because hubs usually have eight to twelve ports for network computers to connect to, they are sometimes called multiport repeaters. Active hubs require electrical power to run.
Some types of hubs are passive; examples include wiring panels or punch-down blocks. They act as connection points and do not amplify or regenerate the signal; the signal passes through the hub. Passive hubs do not require electrical power to run.
Advanced hubs that will accommodate several different types of cables are called hybrid hubs. Figure 1.26 shows a main hub (the hybrid) with three sub-hubs.
Figure 1.26 Hybrid hub
Hub-based systems are versatile and offer several advantages over systems that do not use hubs.
In the standard linear-bus topology, a break in the cable will take the network down. With hubs, however, a break in any of the cables attached to the hub affects only a limited segment of the network. Figure 1.27 shows that a break or disconnected cable affects only one workstation while the rest of the network keeps functioning.
Figure 1.27 A break or unplugged cable takes down only the unplugged computer
Hub-based topologies include the following benefits:
NOTE
Many active hubs have diagnostic capabilities that can indicate whether or not a connection is working.
Run the c01dem017 video located in the Demos folder on the CD accompanying this book to view a discussion and demonstration of the role of hubs in network topologies.
Many working topologies are hybrid combinations of the bus, star, ring, and mesh topologies.
The star bus is a combination of the bus and star topologies. In a star-bus topology, several star topology networks are linked together with linear bus trunks. Figure 1.28 shows a typical star-bus topology.
If one computer goes down, it will not affect the rest of the network. The other computers can continue to communicate. If a hub goes down, all computers on that hub are unable to communicate. If a hub is linked to other hubs, those connections will be broken as well.
Figure 1.28 Star-bus network
Run the c01dem018, c01dem19, and c01dem20 videos located in the Demos folder on the CD accompanying this book to view demonstrations of what happens when computers and hubs in a star-bus topology go down.
The star ring (sometimes called a star-wired ring) appears similar to the star bus. Both the star ring and the star bus are centered in a hub that contains the actual ring or bus. Figure 1.29 shows a star-ring network. Linear-bus trunks connect the hubs in a star bus, while the hubs in a star ring are connected in a star pattern by the main hub.
Figure 1.29 Star-ring network
Many small offices use a peer-to-peer network as described earlier in this chapter in Lesson 2: Network Configuration. Such a network can be configured as either a physical star or a bus topology. However, because all computers on the network are equal (each can be both client and server), the logical topology looks somewhat different. Figure 1.30 shows the logical topology of a peer-to-peer network.
Figure 1.30 Logical peer-to-peer topology
There are many factors to consider when deciding which topology best suits the needs of an organization. Table 1.2 provides some guidelines for selecting a topology.
Table 1.2 Topology Advantages and Disadvantages
Topology | Advantages | Disadvantages |
---|---|---|
Bus | Use of cable is economical.
System is simple and reliable. Bus is easy to extend. | Network can slow down in heavy traffic. Problems are difficult to isolate.
|
Ring | System provides equal access for all computers. Performance is even despite many users. | Failure of one computer can impact the rest of the network. Problems are hard to isolate. Network reconfiguration disrupts operation. |
Star | Modifying system and adding new computers is easy. Centralized monitoring and management are possible. Failure of one computer does not affect the rest of the network. | If the centralized point fails, the network fails. |
Mesh | System provides increased redundancy and reliability as well as ease of troubleshooting. | System is expensive to install because it uses a lot of cabling. |
A small, independent, business/home/life insurance company consisting of an owner, a business manager, an administrator, and four agents decides to implement a network. The company occupies half of a small building in an office park. Their volume of business had been stable for the past three years, but recently it has been increasing. To handle the increased business volume, two new agents will be hired.
Figure 1.31 illustrates the current arrangement.
Figure 1.31 Case study model
Everyone in the company has a computer, but the business manager has the only printer. These computers are not connected by any form of networking. When agents need to print a document, they must first copy the file to a floppy disk, then carry it to the business manager's computer, where they are finally able to print it. Similarly, when staff members want to share data, the only means available is to copy the data on one computer to a floppy disk and insert the disk in another computer.
Recently, problems have arisen. The business manager is spending too much time printing other people's documents; and it is frequently unclear which copy of a given document is the current and authoritative version.
Your task is to design a network for this company.
To clarify the task of choosing a solution, you ask some questions.
Circle the most appropriate answers to the following questions:
Answers
Use the information in the next section to help you solve the troubleshooting problem that follows.
Choosing a network that does not meet an organization's needs leads directly to trouble. A common problem arises from choosing a peer-to-peer network when the situation calls for a server-based network.
A peer-to-peer, or workgroup, network might begin to exhibit problems with changes in the network site. These are more likely to be logistical or operational problems than hardware or software problems. The presence of several indicators is a sign that a peer-to-peer network is inadequate. Possible scenarios include the following:
When a network's design is too limited, it cannot perform satisfactorily in some environments. Problems can vary depending on the type of network topology in effect.
Bus Topology
A few situations will cause a bus network's termination to fail and thereby take the network down. Possible scenarios include the following:
Hub-Based Topology
While problems with hubs are infrequent, they do occur. Possible scenarios include the following:
Ring Topology
A ring network is usually very reliable, but problems can occur. Possible scenarios include the following:
Use what you have just read to troubleshoot the scenario that follows.
A small company with three departments recently began networking and has installed peer-to-peer networks in each department. The peer-to-peer networks are not connected to each other. A user in one department must make a diskette of the information to be loaded on the next network. Four employees in one department are working on a project. Each person has a different set of responsibilities, and each produces documentation for a different part of the project. Employees have each made the hard drive on their own computers available to everyone else on the project.
As the project grows, each user produces more documents, and questions arise about who has which document and which employee last revised a given document. Also, employees outside the department who have an interest in the project are asking to see some of the completed material.
Answers
The following exercise will not only help you determine whether a peer-to-peer environment or a centralized, server-based environment is most appropriate for your site, but it will also help you form a general picture of the role that servers should play in your network and help you choose an appropriate topology.
IMPORTANT
This network planning problem assumes there is no network on your site. If your site has an existing network, use these questions as a guide, and apply the information in the text to the network on your site to help familiarize yourself with an actual network environment.
Put a check mark on the line next to the choice that applies to your site. To determine which type of network would be most appropriate for your site, add up the number of peer-to-peer selections with check marks next to them, and compare the total with the number of server-based selections that have check marks next to them. The network with the most check marks should be the first option you consider.
0-10 ____ Peer-to-peer
11 + ____ Server-based
Yes ____ Server-based
No ____ Peer-to-peer
Client computer ____ Server-based
Server ____ Server-based
Both ____ Peer-to-peer
NOTE
If you want your computer to be used as both a client and a server, you might think you need to choose a peer-to-peer environment; however, in many server-based networks today, client computers share in a peer-to-peer fashion. This type of combined network has become the most common kind of network used for new installations, primarily because networking capabilities are now an integral part of most client-computer operating systems.
Yes ____ Peer-to-peer
No ____ Server-based
Yes ____ Peer-to-peer
No ____ Server-based
Yes ____ Server-based
No ____ Peer-to-peer
Yes ____ Server-based
No ____ Peer-to-peer
Yes ____ Peer-to-peer or server-based, depending on other issues
No ____ Server-based
Answers
The following questions help you identify and resolve issues that arise in a server-based environment.
Communication ____
Backup/redundancy ____
Application ____
Database ____
E-mail ____
Fax ____
Print ____
User directories ____
General data storage ____
Yes ____
No ____
0-5 ____
6-10 ____
11-50 ____
51-100 ____
Centrally located ____
Spread out ____
Yes ____
No ____
If not, why not? _______________________________________________
Answers
The following section helps you to choose an appropriate topology for your network. (The answers to these questions can be used in conjunction with Table 1.2 in Lesson 3: Network Topology earlier in this chapter.)
Put a check mark on the line next to the choice that applies to your site. To determine which type of topology would be most appropriate for your site, add up the number of bus selections with check marks next to them, the number of star-bus selections with check marks next to them, and the number of star-ring selections with check marks next to them. The topology with the most check marks should be the option you consider first.
NOTE
Because the ring is more expensive than the bus, a star bus would be more economical than a star ring. In a case where both star bus and star ring would work, star bus would usually be the preferred choice.
0-10 ____ All
11 + ____ Star bus, star ring
Yes ____ Star bus
No ____ All
Yes ____ All
No ____ Star bus, star ring
Yes ____ All
No ____ Star bus, star ring
Yes ____ Star bus, star ring
No ____ All
Yes ____
No ____
Circle one: bus star bus
Yes ____ Star bus, star ring
No ____ All
Yes ____
No ____
Circle one: bus star bus
Answers
Based on the information generated in the three parts of this Network Planning Problem, your network components should be:
Type of network:
Type of topology:
Answers
The following points summarize the main elements of this lesson: