Network topology
|
A network topology is the method in which nodes of a network are connected by links. A given node has one or more links to others, and the links can appear in a variety of different shapes. The simplest connection is a one-way link between two devices. A second return link can be added for two-way communication. Modern communications cables usually include more than one wire in order to facilitate this, although very simple bus-based networks have two-way communication on a single wire.
Network topology is determined only by the configuration of connections between nodes; it is therefore a part of graph theory. Distances between nodes, physical interconnections, transmission rates, and/or signal types are not a matter of network topology, although they may be affected by it in an actual physical network.
NetworkTopologies.png
Image showing different network layouts
Contents |
Bus network
A bus network is set up by connecting all of the nodes to a single line, and the nodes connect only to the bus. Early bus networks literally used a single wire, often with "vampire taps" that would stick a spike into the cable, creating a connection between the computer's transceiver (transmitter/receiver) and the bus. However, most bus networks later began to use a specialized central node called a "hub" to make the practice of attaching nodes easier. This also made simple bus networks appear like the star topology described below. Hubs have largely been superseded by network switches today. To different degrees, the hub and switch systems provide a "logical bus" layout.
Daisy chains
Setting aside bus-based networks, the easiest way to add more computers into a network is by daisy-chaining, or connecting each computer in series to the next. If a message is intended for a computer partway down the line, each system bounces it along in sequence until it reaches the destination. A daisy-chained network can take two basic forms: linear and ring.
- A linear topology puts a two-way link between one computer and the next. However, this was expensive in the early days of computing, since each computer (except for the ones at each end) required two receivers and two transmitters.
- By connecting the computers at each end, a ring topology can be formed. An advantage of the ring is that the number of transmitters and receivers can be cut in half, since a message will eventually loop all of the way around. This potentially results in a doubling of travel time for data, but since it is traveling at a significant fraction of the speed of light, the loss is usually negligible.
The primary problem with daisy-chaining is that if a single link is cut, the entire network can go down. A linear network would become two separate "islands", while a one-way ring network would fail completely. A two-way ring network could continue operating if a single link was cut, and would only break down into separate islands if two links went down.
Centralization
The star topology reduces the chance of network failure by connecting all of the systems to a central node. When applied to a bus-based network, this central hub rebroadcasts all transmissions received from any peripheral node to all peripheral nodes on the network, sometimes including the originating node. All peripheral nodes may thus communicate with all others by transmitting to, and receiving from, the central node only. The failure of a transmission line linking any peripheral node to the central node will result in the isolation of that peripheral node from all others, but the rest of the systems will be unaffected.
If the star central node is passive, the originating node must be able to tolerate the reception of an echo of its own transmission, delayed by the two-way transmission time (i.e. to and from the central node) plus any delay generated in the central node. An active star network has an active central node that usually has the means to prevent echo-related problems.
A tree topology can be viewed as a collection of star networks arranged in a hierarchy. This tree has individual peripheral nodes (i.e. leaves) which are required to transmit to and receive from one other node only and are not required to act as repeaters or regenerators. Unlike the star network, the function of the central node may be distributed.
As in the conventional star network, individual nodes may thus still be isolated from the network by a single-point failure of a transmission path to the node. If a link connecting a leaf fails, that leaf is isolated; if a connection to a non-leaf node fails, an entire section of the network becomes isolated from the rest.
In order to alleviate the amount of network traffic that comes from broadcasting everything everywhere, more advanced central nodes were developed that would keep track of the identities of different systems connected to the network. These network switches will "learn" the layout of the network by first broadcasting data packets everywhere, then observing where response packets come from.
Decentralization
A fully connected or complete topology is a network topology in which there is a direct link between all pairs of nodes. In a fully connected network with n nodes, there are n(n-1)/2 direct links. Synonym fully connected mesh network.
In a mesh topology, there are at least two nodes with two or more paths between them. A special kind of mesh, limiting the number of hops between two nodes, is a hypercube. The number of arbitrary forks in mesh networks makes them more difficult to design and implement, but their decentralized nature makes them very useful. This is similar in some ways to a grid network, where a linear or ring topology is used to connect systems in multiple directions. A multi-dimensional ring has a toroidal (torus) topology, for instance.
Hybrids
Hybrid networks use a combination of any two or more topologies in such a way that the resulting network does not have one of the standard forms. For example, a tree network connected to a tree network is still a tree network, but two star networks connected together exhibit hybrid network topologies. A hybrid topology is always produced when two different basic network topologies are connected.
While grid networks have found popularity in high-performance computing applications, some systems have used genetic algorithms to design custom networks that have the fewest possible hops in between different nodes. Some of the resulting layouts are nearly incomprehensible, although they do function quite well.
See also
de:Topologie (Netzwerk) es:Topología de red fa:همبندی (رایانه) fr:Topologie de réseau he:טופולוגיית רשת nl:Netwerktopologie pl:Topologia sieci zh:网络拓扑