Bus topology Basic Concepts

44

3.1.1.1 Bus topology

In a bus topology, there is a single communication medium, which I often call the wire. It actually doesnt need to be a physical piece of wire, but a wire is a useful image. In fact, 10Base2 Ethernet looks exactly like Figure 3-1 , with a long 50 50 ohm characteristic impedance coaxial cable connecting all of the devices. Because of the analogy with 10Base2, it is customary to draw an Ethernet segment like this, with a straight line intersected at various points by the connections sometimes called taps to the various devices. In the drawing, this line the wire, or bus extends beyond the last device at each end to symbolize the fact that the bus must be terminated electrically at both ends. On a bus, any device can communicate directly with any other device and all devices see these messages. This is called a unicast. [1] Similarly, any device can send a single signal intended for all other devices on the wire. This is a broadcast. [1] This odd word, unicast, comes from the word broadcast. A broadcast is sent to everybody, a mulitcast is sent to several recipients, and a unicast is sent to just one recipient. If every device sees every signal sent by all other devices, then its pretty clear that theres nothing fancy about a broadcast. To get point-to-point unicast communication going, however, there has to be some sort of address that identifies each device uniquely. This is called the MAC address. There also has to be some sort of mechanism to ensure that all devices dont try to transmit at the same time. In Ethernet the collision detection algorithm CSMACD, which I will talk about more in Chapter 4 , prevents such a problem. The other network standard that employs this basic topology is called token bus, which works by passing a virtual token among the devices. Only the device that holds the token is allowed to transmit. The term token bus is not used much anymore, so I will not cover it in detail in this book. There are a few common failure modes in a bus topology. It is possible to have cable break in the middle, thereby isolating the two sides from each other. If one side holds the router that allows devices on the segment to get off, then the devices on the other side are effectively stranded. More serious problems can result if routers are on both sides of the break. The other problem that often develops in bus architectures is loss of one of the bus termination devices. In the case of 10Base2, this termination was a small electrical resister that cancelled echoes from the open end of the wire. If this terminator was damaged or removed, then every signal sent down the wire was met by a reflected signal. The result was noise and a seriously degraded performance. Both of these problems are avoided partially by using a central concentrator device such as a hub or a switch. In fact, new Ethernet segments are usually deployed by using such a device.

3.1.1.2 Ring topology