

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























he world of networking and the world of picture archiving and commu- nications systems (PACS) are two different environments that converge in such a way as to require a very special skill set. This chapter gives you the basics of computer networking and shows you how they apply to a PACS environment. It is important to appreciate the role the network plays in a PACS implementation. Our goal is not to make you an expert network engineer, but rather to give you enough information so you can navigate the often con- fusing, cluttered world of computer networking. With the right kind of information you will feel comfortable enough with the terminology to understand what your vendor(s) are providing, on both the PACS and network sides. We also want to impress on you the importance of good network design and implementation; these are integral parts of the PACS system. Failure to create a strong, robust network infrastructure will result in unhappy users, finger-pointing, and loss of confidence in PACS. If the network is designed and implemented correctly, it can contribute immensely to a successful PACS implementation.
CHAPTER
We will start with some basic concepts, intended not for the veteran network engineer but for those who have had no exposure to computer networking. Through extensive use of analogies, most of you will grasp the concepts well enough to see how much thought is needed in the design of networks, and why the necessary investment of time and capital must be made to achieve a successful implementation. We hope that by explaining in familiar terms what is considered wizardry and hocus-pocus will help bridge the gap between network engineers and radiologists.
The International Organization for Standardization (ISO) model (see Figures 14.1 and 14.2) was set down by the ISO as a framework to make it easier to construct computer networks from the application (as one views an image) all the way down to the physical layer (i.e., the wires). It defined how networks should interoperate. Note that the ISO model serves only as a guideline, and no network, to our knowledge, is set up exactly to the ISO definition.
270 PACS: A Guide to the Digital Revolution
FIGURE 14. The ISO model.
The archive machine hosts the images the clinical display needs. An appli- cation on the archive knows how to answer image requests from clinical dis- plays. In the ISO model this portion of communication happens at the higher levels. The application needs to transfer this information from itself to the clinical display requesting the information. The overall picture would look something like Figure 14.4. Figure 14.4 is an extremely simplified way of looking at the ISO model. It is displayed in this way to emphasize the fun- damental components that we will need to understand to effectively make PACS networking decisions. Each layer is interested only in the exchange of information between the layer directly above and that directly below. (For example, the hardware layer generally does not care how the protocol layers pass information to the application: it is concerned only with passing the information up to the pro- tocol layer.) In this way the application communicates with the protocol stack, which in turn hands the information over to the hardware layer (the network interface card, or NIC). Next, the hardware layer puts the infor- mation out onto the network. Each layer has a different and well-defined task. The application layer knows the data it wants to transmit, and it knows which machine it wants to transmit it to. The protocol stack knows how to find the computer in ques- tion (or how to find a device that knows how to locate it). The network layer knows how to transmit the data over the network, and the network knows
272 PACS: A Guide to the Digital Revolution
Data Link (Hardware)
Network (Protocol)
FIGURE 14. A simplified ISO model.
how to transmit the data to its destination. On the other end, the informa- tion works its way back up until it ultimately reaches the application and the image is viewable. In many ways, this is analogous to the way the U.S. postal system works. In our scenario it would look something like Figure 14.5. In this example it is easy to see how each layer is independent of the others. It is not important to the envelope what information is contained in it, only that the information fits. The same goes for the post office box, which does not care what size envelope or even small box is put in it, only that it is not a koala or something else that does not belong in post office boxes. Moreover, the post office box could not care less about the contents of the envelope. As we will see later, the post office system uses the address on the envelope to move the envelope throughout the postal system.
NETWORKING FUNDAMENTALS (^273)
FIGURE 14. Postal system analogy.
connecting multiple computers. Hubs can have from as few as 4 to as many as 24 or 48 connections for computers. One layer higher, the hardware (data link) layer consists of the NIC, as well as the software drivers installed on the computer that allow the com- puter to communicate with the hardware. The most common types of cards are Ethernet cards, which are designed to communicate on Ethernet net- works. There are also ATM cards (asynchronous transfer mode, discussed later), token ring cards, and a variety of others. As with all the other layers, direct communication occurs between cards of the same type (i.e., Ethernet to Ethernet, or ATM to ATM). As we get into more complicated network topologies, we will see that networks can become very diverse, consisting of computers with Ethernet cards, ATM cards, and token ring cards, all com- municating via the use of various internetworking devices. For now, to keep it simple, let us say that both computers have Ether- net cards in them. Both computers also have the appropriate software drivers installed. As we continue to move up our simplified ISO model, we need to discuss protocols. Loosely defined, protocols are a set of predetermined rules that 2 or more parties follow in communication or other interactions. In computer networks, protocols are the set of rules, or languages, that enable computers to communicate over the underlying network infrastructure. Pro- tocols and how they are used are very much akin to languages in the real world: just as humans speak languages such as English, French, and Swahili, networks use languages such as TCP/IP, IPX, and Appletalk. For 2 com- puters to communicate, they must be speaking the same language. In our scenario we will say that our 2 computers are speaking TCP/IP with each other, thus using a common language to communicate over an Ethernet network on CAT5 cabling. Last but not least is the application that uses this language to commu- nicate. In this example, that application is PACS.
It is time to delve more deeply into exactly how conversations occur. Once we establish that 2 computers want to exchange data, they must use their shared set of rules (protocols) to do so. Further, these protocols need to com- municate over a network. So far we have talked about Ethernet, ATM, and token ring. These are sometimes called network topologies, and they all occur at the data link layer. Certain rules must be followed on these topo- logies for them to work correctly. We have also identified a few of the more common protocols (or languages), such as TCP/IP and IPX. These
NETWORKING FUNDAMENTALS (^275)
computer communication languages operate at the network layer. Any pro- tocol that is routable is using layer 3, the network layer, to make decisions. Protocols that are not routable are called bridged protocols and are aware of only the data link layer. We discuss this further when we discuss routing and bridging. To better explain the relationship between a topology, such as Ether- net, and a protocol, such as TCP/IP, we again use the analogy of human communication. When we communicate, we can do so via a wide variety of media: the air (speech), paper (the written word), or hands (sign language). What language we use is completely independent of the medium we use. Similarly, computers can communicate via TCP/IP or IPX and do so over Ethernet or copper wire or token ring or fiber-optic cabling. (Later we discuss devices that do the functional equivalent of taking written English and verbalizing it, or vice versa. You are much less likely to find a network device that does the functional equivalent of translating from English to French, however; such devices are commonly referred to as gateways.) Since protocols are much like languages, it is useful to use the conver- sation model to explain how computers communicate. The primary obsta- cle in using this analogy is that communication for us is second nature; we talk and write without being aware that we are in fact following a set of rules. In the world of computers, where only logic exists and everything is taken literally, conversations are actually very complicated to carry out. As an example, in human behavior, there are protocols for starting a conversation, such as saying “Hello, how are you?” and responding “Good, and yourself ?” These sorts of things occur naturally (assuming everyone is civil!). Similarly, ending a conversation has sets of rules concerning good- byes, and so on. Even during the conversation, it is important not to inter- rupt the person speaking, and to acknowledge what the person is saying with a nod. If you do not understand what the person is saying, you ask the person to repeat himself or herself. Very similar things happen on computer net- works, as we will explain.
To get a better understanding of how computers handle this, let us look at a conversation between our archive computer (server) and our clinical display (client) and postulate how they might communicate. The client knows it wants certain information from the server. Its request makes its way down through the protocol stack using a language that it knows the archive
276 PACS: A Guide to the Digital Revolution
knowledge, baseball news, or the latest juicy gossip. Some could be speak- ing English or French, but only those who understand French are able to communicate with others who understand French. Similarly, on our network, computers could be talking TCP/IP to one another while others are speaking IPX. They all share the same network segment, but they com- municate only with those speaking the same language.
You can see in this scenario how inefficient such communications can be. The same was true for early networks. The first attempt to tackle the problem of collision was with a concept called bridging. A bridge is a device that connects 2 or more networks together. (As we see later, a bridge under- stands only the 2 lower layers of our simplified ISO model. Next we talk about a device that understands the lower 3 layers, a router.) To explain exactly what a bridge does, let us take the conference room and split it in two. We assign each person a unique number, known as his or her MAC address, or media access control address. The MAC address is unique not only in the conference room, but also throughout the world. In computing, the MAC address is derived from the network interface card. It is how each computer (or in our example, each person) is identified. In Figure 14.8 you see that the conference room is split in two, with people numbered 1, 2, and 3 on the left side and 4, 5, and 6 on the right side. In the middle of the conference room is a dividing wall, which stops all noise unless the bridge, B, allows it through. It is the bridge’s job to keep
278 PACS: A Guide to the Digital Revolution
4 PACS, Baseball 3 English or TCP/IP 2 The People 1 The Air the Sound Travels Over FIGURE 14. The conference room.
track of who is where, and to bridge the traffic through the dividing wall as necessary. For the bridge to do its job effectively, it listens to all network traffic. It does this by listening for broadcasts. In a network, a broadcast is a method a computer uses to locate another computer when it does not know exactly where to find that computer. It is almost like yelling out, “Joe, where are you?” In the case of a simple shared network segment, the client looking for the archive for the first time sends out a broadcast requesting the MAC address of the archive. The archive answers this request, and the conversa- tion between these 2 computers ensues. In the case of our conference room without the dividing wall, these broadcasts are just like any other packet— they can cause a collision. A bridge sits between 2 network segments (i.e., in the middle of the conference room) and keeps track of who is on which half. Initially the bridge has no idea who is on which side, so it begins to listen to traffic and build a list. When device 1 makes a request to find device 2, the bridge records that 1 is on its left side and that 2 responded from the left side. This is illustrated in Figure 14.9, and the conference room analogy is carried forward in Figure 14.10. From this point on, any traffic between 1 and 2 is isolated from the right half, effectively creating 2 different collision domains. Devices 1 and 2 can communicate directly with each other without affecting the right side. Similarly, devices 3 and 4 on the right side can function the same way. When the bridge sees device 4 broadcast to locate device 1, the bridge knows that device 1 is on its left side, and will pass the traffic. In performing this sort of task on what once had been 1 large, congested segment, the bridge can greatly decrease the number of collisions, provided that it is properly located (that is, that proper network design and traffic analysis have been performed). We look more closely at those functions as we design our PACS network.
NETWORKING FUNDAMENTALS (^279)
FIGURE 14. The conference room split by a bridge.
The challenge facing programmers was to create a more intelligent net- working device that could limit broadcasts and more efficiently use the band- width. Routing is a technology developed in the mid-1980s to address these problems. Routing made use of protocols that had more intelligence built into them so they could pass traffic more effectively throughout the network. Protocols that came along before routing existed had no concept of layer 3 of the ISO model; they simply made use of the MAC address and used broadcasts to find their destinations. Protocols like that are called bridged protocols, and examples are LAT and Netbeui. When routing was intro- duced, protocols came along such as TCP/IP and IPX, which sent out in- formation in packets that routers could use to more intelligently handle the traffic. These are commonly referred to as routable protocols. Such proto- cols could limit broadcasts and make it much easier to find devices on a large network. Again we will use the conference room example, except this time we will expand our world to include the hallway outside the conference room, and add other conference rooms off this hallway (see Figure 14.11). In this example, each room has a letter assigned to it: A through D. There are folks in each room and now they can be addressed in two ways. MAC addresses still need to be unique, but the protocol address needs to be unique only within that conference room. Addressing at the routable proto- col level would look something like Table 14.1. The benefit is realized when we have many conference rooms, as in Table 14.1. When device A.a wants to communicate with device D.c, it knows that (1) device D.c is not in the same conference room as itself (otherwise it would have the same room letter) and (2) the hallway knows how to find room D. So device A.a sends its information out into the hall- way (the router, sometimes referred to as its “default gateway”), and the router relays the conversation to room D, where device D.c receives the information.
NETWORKING FUNDAMENTALS (^281)
In the user 1. a protocol (network) layer address, the “1” is the data link layer unique address.
FIGURE 14. Four conference rooms (A through D) with devices in each.
Earlier we mentioned that there are devices that can take the spoken word and convert it to written, and the reverse, as well. Both routers and bridges are capable of doing this, and commonly do. For instance, room C could be a room in which all the devices are communicating via the written word, while rooms A, B, and D are communicating via oral speech. The router would know how to verbalize everything coming out of room C and going into the other rooms, and know how to do the reverse for traffic going into room C. Routing has been tremendously beneficial in large, complicated envi- ronments. Although it adds another layer of complexity and requires signif- icantly more engineering to set up, it goes a long way toward simplifying, troubleshooting, and preventing a network from collapsing during heavy traffic. Unfortunately, routing can slow traffic down, because it has to perform some intensive tasks in order to determine exactly where the packet needs to travel. Keeping with our analogy, the time spent using the hallway to get to another conference room slows the conversation. In most cases the slowdown is negligible, but as we discuss in designing PACS networks, it can be detrimental to PACS performance. A router is slow because it has to examine more of the packet to make routing decisions. Bridges work much more quickly because they have fewer decisions to make. The nature of networks is such that they are never set up as efficiently as possible—the server you need so you get your information inevitably has 2 or 3 routers in the way. In addition, as bandwidth demands increase, segments need to become smaller, which means more routers, which means slower response time to the server. When routing became too slow, another technology was introduced. Enter switching.
282 PACS: A Guide to the Digital Revolution
TABLE 14. Conference Rooms and Addresses of Their Devices
Room Devices’ Addresses
A A.a, A.b, A.c, A.d B B.a, B.b, B.c, B.d C C.a, C.b, C.c, C.d D D.a, D.b, D.c, D.d
Bandwidth, simply stated, is the rate at which information can be transmit- ted in a specific time interval, usually seconds. In computer networks, the rate at which data can be transmitted is measured in bits per second. A bit, or binary digit, is either a 0 or a 1. A bit can be considered the atom of the computer world. Eight bits are called a byte. The reason 8 bits are signifi- cant is that eight 1s in binary form (11111111) are equivalent to 255 in decimal form, which is enough to represent all variations in the English alphabet of upper- and lower-case letters, numbers, and other characters. One million bytes are commonly referred to as 1 megabyte, or 1 MB. This is how most computer users understand file sizes, hard drive sizes, and the like. In the data networking world, however, transmission rates are meas- ured in megabits, not megabytes. One megabit is denoted as 1 Mb to distinguish it from a megabyte. In this way, data transmission rates can be deceiving because a network that can transmit data at 10 Mb per second is really transmitting 1.25 MB per second (one eighth the speed). Why megabytes are used when referring to file sizes and megabits are used when referring to data transfer rates is a mystery. It could have been a marketing ploy by network vendors to make their networks sound faster than they really are. To most people, megabits mean very little. It is like telling people your car has 282 horsepower when they have not experienced 150, 250, or 300 horsepower. To put megabits into perspective, let us use the example shown in Table 14.2. Many different types of common networks are available. Along with the shared Ethernet mentioned in our example network, others are listed in Table 14.3 in relative order of performance (though bear in mind that certain
284 PACS: A Guide to the Digital Revolution
TABLE 14. Putting Megabits into Perspective
The typical individual reads at approximately 600 bits/second. The image transmitted to your television screen represents about 3,000, bits/second. Most modems connect to the Internet at 56,000 bits/second. The most common type of network in existence today is shared Ethernet, which operates at 10,000,000 bits/second.
traffic conditions may alter the order somewhat, meaning that mileage may vary). As data transmission rates increase, so does the quality of the cabling required to support those rates. For instance, there is no standard to trans- mit anything faster than 100 Mb/s Ethernet on copper cabling. All speeds higher than 100 Mb/s require some type of fiber-optic cabling. The indus- try continues to work on the standard for Gigabit Ethernet that will support copper, but the distance will likely be very short (25 m). Note that all network transmission rates are theoretical speeds. To say that 10 Mb/s Ethernet can transmit a 1.25 MB file in 1 second would be fal- lacious. It is important to make the distinction between theoretical and actual bandwidth and understand why the difference (sometimes called overhead) exists. Many factors contribute to the difference. To understand overhead, consider how, in shared Ethernet, there is the possibility of a collision. This is one form of overhead. Anytime there is a collision, the data that is being transmitted is discarded and must be retransmitted. In a shared Ethernet segment, this affects the actual bandwidth. Other network types, such as token ring, ATM, and to a lesser extent switched Ethernet, do not share the problems of collisions, but all network types must deal with some form of overhead that prevents them from reaching their theoretical bandwidth. To understand some of the other factors, we need to examine conver- sations again, and realize just how little of the conversation in a data network
NETWORKING FUNDAMENTALS (^285)
TABLE 14. Different Types of Networks Available and Their Speeds
4 Mb/s token ring 10 Mb/s Ethernet 16 Mb/s token ring 100 Mb/s Ethernet (also known as Fast Ethernet) 155 Mb/s ATM (also known as OC3) 622 Mb/s ATM (also known as OC12) 1000 Mb/s Ethernet (also known as Gigabit Ethernet) 2488 Mb/s ATM (also known as OC48)
actual bandwidth on a shared Ethernet segment is somewhere between 3 and 4 Mb/s. Any time you try to transmit more than that you will experience the law of diminishing returns in which collisions become the norm rather than the exception, and very little gets transmitted. The same holds true for 100 Mb/s shared Ethernet, which typically maximizes at somewhere between 30 and 40 Mb/s. Switching can go a long way toward bringing the theoreti- cal and actual closer together by eliminating collisions on a segment. For example, on 100 Mb Ethernet segments (known as Fast Ethernet) that have implemented switching, the maximum bandwidths are closer to 75%, or 75 Mb/s. For reasons we discuss later, ATM has different theoretical figures based on a variety of assumptions and other factors.
Up to this point we have discussed all the various working parts of a network. We have discussed hubs, routers, bridges, and switches. We have examined different types of cabling used in building networks, and we have discussed how data actually is transmitted between computers. Given the vast array of protocols, hardware, and topologies at our disposal, how is one supposed to determine exactly how to go about building a network? Our original example network is quite simple: 2 computers, a server and a client connected to a hub using CAT5 cabling to transmit image information. Depending on how important it is to get the information from the archive to the client, we could upgrade them to a faster network speed, such as 100 Mb/s Ethernet. What happens as we start to add workstations? (See Figure 14.14.) If all the devices are connected to the same hub, they share the same collision domain. Because all the devices are relatively close together (within 300 ft), we continue to use CAT5 cabling. Each device is configured to com- municate on the network at 10 Mb/s. In this scenario, each of the clinical
NETWORKING FUNDAMENTALS (^287)
Each LayerAdds More Bits
FIGURE 14. A simplified packet.
displays is attempting to access information on the archive computer. The clinical display can theoretically access the information at 10 Mb/s, and the fastest the archive can respond with information collectively is 10 Mb/s. Even if we were to implement a switched architecture here, that would only make the situation worse, as the clinical displays currently do not have to compete with one another to send out their packets. They have to compete only for the archive’s 10 Mb/s of bandwidth. Here we can see a bottleneck. Another way to look at bottlenecks is to look at the example of a human conversation. Let us say that with speaking and listening you can process 200 words per minute in a dialogue hypothetically. This means that you can listen at the rate of 200 words per minute or you can speak at the rate of 200 words per minute. Any more than that and you might become confused and request that the other person slow down in speaking, or you have to slow yourself down in speaking. For argument’s sake, let us say you are pretty good at mul- titasking and can actually be having 2 conversations at once; you can be dis- cussing PACS networking with 1 individual and the Red Sox with another. Nevertheless, you can discuss these 2 subjects collectively at a total of 200 words per minute. If 2 more people try to talk to you, those 200 words need to be divided among all 4 parties. At some point you become the bottleneck, as each of the other 4 parties is capable of handling 200 words per minute but you are able to give each party only 50 words apiece. Either they have to get their information from another source, or you have got to find a way to speak and listen more rapidly. Similarly, we will see how we can intelli- gently upgrade our network in the proper places to get the most for our investment. In our example, we could upgrade the server to “speak” at
288 PACS: A Guide to the Digital Revolution
FIGURE 14. Adding workstations to our network.