Understanding Networks

A network is nothing more than two or more computers connected to each other so that they can exchange information, such as e-mail messages or documents, or share resources, such as disk storage or printers. In most cases, this connection is made via electrical cables that carry the information in the form of electrical signals.

But in some cases, other types of connections are used. For example, fiber-optic cables let computers communicate at extremely high speeds by using impulses of light. Wireless networks let computers communicate by using radio signals, so the computers aren’t restricted by physical cables.

In addition to the hardware that comprises the network, a network also requires special software to enable communications. In the early days of networking, you had to add this software to each computer on the network. Nowadays, network support is built into all major operating systems, including all current versions of Windows, Macintosh operating systems, and Linux.

Network Building Blocks

All networks, large or small, require specialized network hardware to make them work. For small networks, the hardware may consist of nothing more than a network interface card in each computer, a cable for each computer, and a network switch that all the computers plug into.

Larger networks probably have additional components, such as routers or repeaters. Small or large, all networks are built from the following basic building blocks:

  • Client computers: The computers that end users use to access the resources of the network. Client computers are typically located on users’ desks. They usually run a desktop version of Windows such as Windows XP Professional, along with application software such as Microsoft Office. Client computers are sometimes referred to as workstations.
  • Server computers: Computers that provide shared resources, such as disk storage and printers, as well as network services, such as e-mail and Internet access. Server computers typically run a specialized network operating system such as Windows Server 2003, NetWare, or Linux, along with special software to provide network services. For example, a server may run Microsoft Exchange to provide e-mail services for the network, or it may run Apache Web Server so that the computer can serve Web pages.
  • Network interface cards (NICs): A card installed in a computer that enables the computer to communicate over a network. Almost all NICs implement a networking standard called Ethernet. Newer computers come with either Ethernet cards already installed or with Ethernet support built into the motherboard so a separate card is not required. Every client and every server computer must have a network interface card (or a built-in network port) in order to be a part of a network.
  • Cable: Computers in a network are usually physically connected to each other using cable. Although several types of cable have been popular over the years, the most commonly used cable today is called twisted pair, also known by its official designation 10BaseT.

Another type of cable commonly used is coaxial, also called 10Base2. For high-speed network connections, fiber-optic cable is sometimes used. In many cases, the cables run through the walls and converge on a central room called a wiring closet. But for smaller networks, the cables are often just strung along the floor.

  • Switches: Network cable usually doesn’t connect computers directly to each other. Instead, each computer is connected by cable to a device known as a switch. The switch, in turn, connects to the rest of the network. Each switch contains a certain number of ports, typically 8 or 16.

Thus, you can use an eight-port switch to connect up to eight computers. Switches can be connected to each other to build larger networks. Older networks may use a more primitive type of device called a hub instead of a switch. A hub provides the same function as a switch, but it isn’t as efficient. The term hub is sometimes used to mean switch, even though hubs and switches are not technically the same thing.

  • Wireless networks: In many networks, cables and switches are making way for wireless network connections, which enable computers to communicate via radio signals. In a wireless network, radio transmitters and receivers take the place of cables. The main advantage of wireless networking is its flexibility.

With a wireless network, you don’t have to run cables through walls or ceilings, and your client computers can be located anywhere within range of the network broadcast. The main disadvantage of wireless networking is that it is inherently less secure than a cabled network.

  • Network software: Although network hardware is essential, what really makes a network work is software. A whole bunch of software has to be set up just right in order to get a network working. Server computers typically use a special network operating system (also known as a NOS) in order to function efficiently, and client computers need to have their network settings configured properly in order to access the network.

One of the most important networking choices to make is which network operating system you’ll use on the network’s servers. That’s because much of the task of building a new network and managing an existing one is setting up and maintaining the network operating system on the servers.

Why Network?

If the truth be told, computer networks are a pain to set up. So, why bother? Because the benefits of having a network make the difficulty of setting one up worthwhile. You don’t have to be a Ph.D. to understand the benefits of networking. In fact, you learned everything you need to know about the benefits of networking in kindergarten.

Networks are all about sharing. Specifically, networks are about sharing three things: information, resources, and applications.

  • Sharing information: Networks allow users to share information in several different ways. The most common way of sharing information is to share individual files. For example, two or more people can work together on a single spreadsheet file or word-processing document.

In most networks, a large hard drive on a central server computer is set up as a common storage area where users can store files to be shared with other users. In addition to sharing files, networks allow users to communicate with each other in various ways.

For example, messaging applications let network users exchange messages with each other using an e-mail application such as Microsoft Outlook. Users can also hold online meetings over the network. In fact, with inexpensive video cameras and the right software, users can hold videoconferences over the network.

  • Sharing resources: Certain computer resources, such as printers or hard drives, can be set up so that network users can share them. Sharing these resources can result in significant cost savings. For example, it is cheaper to buy a single high-speed printer with advanced features such as collating, stapling, and duplex printing that can be shared by an entire workgroup than it is to buy separate printers for each user in the group.

Hard drives can also be shared resources. In fact, providing users with access to a shared hard drive is the most common method of sharing files on a network. A computer whose main purpose in life is to host shared hard drives is called a file server. In actual practice, entire hard drives are not usually shared.

Instead, individual folders on a networked hard drive are shared. This way, the network administrator can allow different network users to have access to different shared folders. For example, a company may set up shared folders for its sales department and accounting department.

Then, sales personnel can access the sales department’s folder and accounting personnel can access the accounting department’s folder. You can share other resources on a network. For example, a network can be used to share an Internet connection.

In the early days of the Internet, it was common for each user who required access to the Internet to have his or her own modem connection. Nowadays, it’s more common for the network to provide a shared high-speed Internet connection that everyone on the network can access.

  • Sharing applications: One of the most common reasons for networking in many businesses is so that several users can work together on a single business application. For example, an accounting department may have accounting software that can be used from several computers at the same time. Or a sales-processing department may have an order-entry application that runs on several computers to handle a large volume of orders.

Clients and Servers

The network computer that contains the hard drives, printers, and other resources that are shared with other network computers is called a server. This term comes up repeatedly, so you have to remember it. Write it on the back of your left hand.

Any computer that’s not a server is called a client. You have to remember this term, too. Write it on the back of your right hand. Only two kinds of computers are on a network: servers and clients. Look at your left hand and then look at your right hand. Don’t wash your hands until you have these terms memorized.

The distinction between servers and clients in a network would be somewhat fun to study in a sociology class because it’s similar to the distinction between the haves and the have-nots in society:

  • Usually, the most powerful and expensive computers in a network are the servers. This fact makes sense because every user on the network shares the server’s resources.
  • The cheaper and less powerful computers in a network are the clients. Clients are the computers used by individual users for everyday work. Because clients’ resources don’t have to be shared, they don’t have to be as fancy.
  • Most networks have more clients than servers. For example, a network with ten clients can probably get by with one server.
  • In some networks, a clean line of segregation exists between servers and clients. In other words, a computer is either a server or a client, and not both. A server can’t become a client, nor can a client become a server.
  • Other networks are more progressive, allowing any computer in the network to be a server and allowing any computer to be both server and client at the same time. The network illustrated in Figure 1 is this type of network.

Servers and Peers

In some networks, a server computer is a server computer and nothing else. This server computer is dedicated solely to the task of providing shared resources, such as hard drives and printers, to be accessed by the network client computers.

Such a server is referred to as a dedicated server because it can perform no other task besides network services. A network that relies on dedicated servers is sometimes called a client/server network. Other networks take an alternative approach, enabling any computer on the network to function as both a client and a server.

Thus, any computer can share its printers and hard drives with other computers on the network. And while a computer is working as a server, you can still use that same computer for other functions such as word processing. This type of network is called a peer-to-peer network because all the computers are thought of as peers, or equals.

While you’re walking the dog tomorrow morning, ponder these points concerning the difference between dedicated server networks and peer-to-peer networks:

  • Peer-to-peer networking has been built in to all versions of Windows since Windows 95. Thus, you don’t have to buy any additional software to turn your computer into a server. All you have to do is enable the Windows server features.
  • The network server features that are built into desktop versions of Windows (such as Windows XP) aren’t very efficient because these versions of Windows were not designed primarily to be network servers. If you’re going to dedicate a computer to the task of being a full-time server, you should use a full-fledged network operating system, such as Windows Server 2003, instead.

Networks Kind

Networks come in all sizes and shapes. In fact, it is common to categorize networks based on the geographical size they cover, as described in the following paragraphs.

  • Local area networks: A local area network, or LAN, is a network in which computers are relatively close together, such as within the same office or building. Note that the term LAN doesn’t imply that the network is small. A LAN can, in fact, contain hundreds of computers.

What makes a network a LAN is that all those computers are located within close proximity to each other. Usually a LAN is contained within a single building, but a LAN can extend to several buildings on a campus — provided the buildings are close to each other.

  • Wide area networks: A wide area network, or WAN, is a network that spans a large geographic territory, such as an entire city, region, or even an entire country. WANs are typically used to connect two or more LANs that are relatively far apart. For example, a WAN may connect an office in San Francisco with an office in New York.

Again, it is the geographic distance that makes a network a WAN, not the number of computers involved. If the office in San Francisco and the office in New York both have only one computer, the WAN will have a total of two computers but will span more than 3,000 miles.

  • Metropolitan area networks: A metropolitan area network, or MAN, is a network that’s smaller than a typical WAN but larger than a LAN. Typically, a MAN connects two or more LANs within a same city but are far enough apart that the networks can’t be connected using a simple cable or wireless connection.

Network Topology

The term network topology refers to the shape of how the computers and other network components are connected to each other. There are several different types of network topologies, each with advantages and disadvantages. In the following discussion of network topologies, I use two important terms:

  • Node: A node is a device that is connected to the network. For our purposes here, a node is the same as a computer. Network topology deals with how the nodes of a network are connected to each other.
  • Packet: A packet is a message that is sent over the network from one node to another node. The packet includes the address of the node that sent the packet, the address of the node the packet is being sent to, and data.

Bus Topology

The first type of network topology is called a bus, in which nodes are strung together in a line, as shown in Figure 1. Bus topology is commonly used for LANs.

Figure 1: Bus topology.

The key to understanding how a bus topology works is to think of the entire network as a single cable, with each node “tapping” into the cable so that it can listen in on the packets being sent over that cable. If you’re old enough to remember party lines, you get the idea.

In a bus topology, every node on the network can see every packet that’s sent on the cable. Each node looks at each packet to determine whether the packet is intended for it. If so, the node claims the packet. If not, the node ignores the packet. This way, each computer can respond to data sent to it and ignore data sent to other computers on the network.

If the cable in a bus network breaks, the network is effectively divided into two networks. Nodes on either side of the break can continue to communicate with each other, but data can’t span the gap between the networks, so nodes on opposite sides of the break can’t communicate with each other.

Star Topology

In a star topology, each network node is connected to a central device called a hub or a switch, as shown in Figure 2. Star topologies are also commonly used with LANs.

Figure 2: Star topology.

If a cable in a star network breaks, only the node connected to that cable is isolated from the network. The other nodes can continue to operate without interruption — unless, of course, the node that’s isolated because of the break happens to be the file server.

You should be aware of the somewhat technical distinction between a hub and a switch. Simply put, a hub doesn’t know anything about the computers that are connected to each of its ports. So when a computer connected to the hub sends a packet to a computer that’s connected to another port, the hub sends a duplicate copy of the packet to all its ports.

In contrast, a switch knows which computer is connected to each of its ports. As a result, when a switch receives a packet intended for a particular computer, it sends the packet only to the port that the recipient is connected to. Strictly speaking, only networks that use switches have a true star topology.

If the network uses a hub, the network topology has the physical appearance of a star, but is actually a bus. That’s because when a hub is used, each computer on the network sees all the packets sent over the network, just like in a bus topology.

In a true star topology, as when a switch is used, each computer sees only those packets that were sent specifically to it, as well as broadcast packets that were specifically sent to all computers on the network.

Expanding Stars

Physicists tell us that the universe is expanding, and network administrators know they’re right. A simple bus or star topology is suitable only for small networks, with a dozen or so computers, but small networks inevitably become large networks as more computers are added.

For larger networks, it’s common to create more complicated topologies that combine stars and buses. For example, a bus can be used to connect several stars. In this case, two or more hubs or switches are connected to each other using a bus.

Each of these hubs or switches is then the center of a star that connects two or more computers to the network. This type of arrangement is commonly used in buildings that have two or more distinct workgroups. The bus that connects the switches is sometimes called a backbone.

Another way to expand a star topology is to use a technique called daisychaining. When you use daisy-chaining, a hub or switch is connected to another hub or switch as if it were one of the nodes on the star. Then, this second hub or switch serves as the center of a second star.

Ring Topology

A third type of network topology is called a ring, shown in Figure 3. In a ring topology, packets are sent around the circle from computer to computer. Each computer looks at each packet to decide whether the packet was intended for it. If not, the packet is passed on to the next computer in the ring.

Figure 3: Ring topology.

Years ago, ring topologies were common in LANs, as two popular networking technologies used rings: ARCNET and Token Ring. ARCNET is still used for certain applications such as factory automation, but is rarely used in business networks. Token Ring is a popular network technology for IBM midrange computers.

Although plenty of Token Ring networks are still in existence, not many new networks use Token Ring any more. Ring topology was also used by FDDI, one of the first types of fiber-optic network connections. FDDI has given way to more efficient fiber-optic techniques, however. So ring networks have all but vanished from business networks.

Mesh Topology

A fourth type of network topology, known as mesh, has multiple connections between each of the nodes on the network, as shown in Figure 4. The advantage of a mesh topology is that if one cable breaks, the network can use an alternative route to deliver its packets.

Figure 4: Mesh topology.

Mesh networks are not very practical in a LAN setting. For example, to network eight computers in a mesh topology, each computer would have to have seven network interface cards, and 28 cables would be required to connect each computer to the seven other computers in the network. Obviously, this scheme isn’t very scalable.

However, mesh networks are common for metropolitan or wide area networks. These networks use devices called routers to route packets from network to network. For reliability and performance reasons, routers are usually arranged in a way that provides multiple paths between any two nodes on the network in a mesh-like arrangement.

Popular posts from this blog

Super I/O Chips

ISA Bus

Flex-ATX