Understanding Ethernet
Getting the inside scoop on TCP/IP and IPX/SPX
Finding out about other important protocols
Protocols and standards make networks work together. Protocols make it possible for the various components of a network to communicate with each other, and standards make it possible for different manufacturers’ network components to work together. This chapter introduces you to the protocols and standards that you’re most likely to encounter when building and maintaining a network.
A protocol is simply a set of rules that enable effective communications to occur. You encounter protocols every day and probably don’t even realize it. When you pay for groceries with a debit card, the clerk tells you how much the groceries cost, and then you swipe your debit card in the card reader, punch in your security code, indicate whether you want cash back, enter the amount of the cash back if you so indicated, and verify the total amount. You then cross your fingers behind your back and say a quiet prayer while the machine authorizes the purchase. Assuming the amount is authorized, the machine prints out your receipt.
Here’s another example of an everyday protocol: making a phone call. You probably take most of the details of the phone-calling protocol for granted, but it’s pretty complicated if you think about it:
When you pick up a phone, you listen for a dial tone before dialing the number (unless you’re using a cellphone). If you don’t hear a dial tone, you know that someone else in your family is talking on the phone, or something is wrong with your phone.
When you hear the dial tone, you dial the number of the party you want to reach. If the person you want to call is in the same area code, you simply dial that person’s seven-digit phone number. If the person is in a different area code, you dial 1, the three-digit area code, and the person’s seven-digit phone number.
If you hear a series of long ringing tones, you wait until the other person answers the phone. If the phone rings a certain number of times with no answer, you hang up and try again later. If you hear a voice say, “Hello,” you begin a conversation with the other party. If the person on the other end of the phone has never heard of you, you say, “Sorry, wrong number,” hang up, and try again.
If you hear a voice that rambles on about how they’re not home but they want to return your call, you wait for a beep and leave a message.
If you hear a series of short tones, you know the other person is talking to someone else on the phone. So you hang up and try again later.
If you hear a sequence of three tones that increase in pitch, followed by a recorded voice that says “We’re sorry …” you know that the number you dialed is invalid. Either you dialed the number incorrectly, or the number has been disconnected.
You get the point. Exchanges — using a debit card or making a phone call — follow the same rules every time they happen.
Computer networks depend upon many different types of protocols. These protocols are very rigidly defined, and for good reason. Network interfaces must know how to talk to other network interfaces to exchange information, operating systems must know how to talk to network interfaces to send and receive data on the network, and application programs must know how to talk to operating systems to know how to retrieve a file from a network server.
Protocols come in many different types. At the lowest level, protocols define exactly what type of electrical signal represents a 1 and what type of signal represents a 0. At the highest level, protocols allow (say) a computer user in the United States to send an email to another computer user in New Zealand — and in between are many other levels of protocols. You find out more about these levels of protocols (often called “layers”) in the upcoming section, “ Seeing the Seven Layers of the OSI Reference Model.”
Protocols tend to be used together in matched sets called protocol suites. The two most popular protocol suites for networking are TCP/IP and Ethernet. TCP/IP, originally developed for Unix networks, is the protocol of the Internet and most local area networks (LANs). Ethernet is a low-level protocol that spells out the electrical characteristics of the network hardware used by most LANs.
As I mention earlier, a standard is an agreed-upon definition of a protocol. In the early days of computer networking, each computer manufacturer developed its own networking protocols. As a result, you couldn’t easily mix equipment from different manufacturers on a single network.
Then along came standards to save the day. Hurrah! Because standards are industry-wide protocol definitions not tied to a particular manufacturer, you can mix and match equipment from different vendors. As long as the equipment implements the standard protocols, it should be able to coexist on the same network.
Many organizations are involved in setting standards for networking. The five most important organizations are
American National Standards Institute (ANSI; www.ansi.org
): The official standards organization in the United States. ANSI is pronounced AN-see.
Institute of Electrical and Electronics Engineers (IEEE; www.ieee.org
): An international organization that publishes several key networking standards — in particular, the official standard for the Ethernet networking system (known officially as IEEE 802.3). IEEE is pronounced eye-triple-E.
International Organization for Standardization (ISO; www.iso.org
): A federation of more than 100 standards organizations throughout the world. If you’re wondering why the acronym for International Organization for Standardization is ISO and not IOS, the answer is simple: ISO is truly an international organization, and although it is known as the International Organization for Standardization in English-speaking countries, it goes by different names in non-English-speaking countries — for example, in French-speaking countries, it’s known as Organisation internationale de normalisation. The organization’s founders chose ISO so that it would have the same short name in all languages.
Internet Engineering Task Force (IETF; www.ietf.org
): The organization responsible for the protocols that drive the Internet.
World Wide Web Consortium (W3C; www.w3.org
): An international organization that handles the development of standards for the World Wide Web.
Seeing the Seven Layers of the OSI Reference Model
“OSI” sounds like the name of a top-secret government agency you hear about only in Tom Clancy novels. What it really stands for in the networking world is Open Systems Interconnection, as in the Open Systems Interconnection Reference Model, affectionately known as the OSI model.
Читать дальше