Home > Articles > Networking > Network Design & Architecture

This chapter is from the book

Network Control: Peer-to-Peer Networks Versus Client/Server

In the world of local area networks, there are basically two choices of network control, or network types: peer-to-peer and client/server. The choice of these two networks basically determines the relationship each PC or device on the network has with the other in terms of control.

A peer-to-peer network is a true democracy. Each PC on the network is equal to the other in that the PCs can communicate with each other directly, and do not have a centralized PC monitoring and controlling the communication on the network.

A client/server network, on the other hand, has a central authority figure that controls the communication and access to resources on the network. This centralized controlling PC is called a server.

NOTE

Servers are PCs that control access to different resources on the network. In a home network, this can be such things as printers, a central storage drive, MP3 files, and anything you can think of that can take advantage of the server's capabilities. The server generally has a bigger processor and more storage than other PCs, or the clients, on the network.

A network client is a PC on a client/server network that communicates to other PCs on the network community through the server. It takes advantage of the server's resources and is very similar to other "clients" on the network.

If the peer-to-peer network is like a democracy, the server in a client/server network is more a network "dictator." Don't worry; in reality, the server is not a bad guy, and there are actually sound reasons that many networks today are set up as client/server networks, which we will explore later.

But first, let's look at the relative characteristics of each type of network to help you better understand the differences. Table 3.1 outlines these differences.

Table 3.1 Peer-to-Peer Networks Versus Client/Server Networks

Peer-to-Peer Networks

Client/Server Networks

Each PC is an equal participant on the network

One PC acts as the network controller

PCs are not reliant on one PC for resources such as the printer

One PC controls access to network resources

Access to the network is not centrally controlled

Network access and security are centrally controlled

Can operate on a basic PC operating system

Need a special operating system

Are generally simpler and lower cost

Are generally more complex but give the user more control


As shown in Table 3.1, there are definite differences between networks set up as peer-to-peer and those set up as client/server. It should be stated that most home networks today are set up as peer-to-peer, because this network type is simpler and works great for the needs of the home user. Because most home networks today are set up to perform basic but important tasks such as sharing an Internet connection or multiplayer gaming, there is no reason for a user to consider a client/server network. However, we will discuss each type more in-depth, and this information will help you decide how you want to set up your network.

Understanding Peer-to-Peer Networks

When all PCs on the network are set up to act as equals, this is called a peer-to-peer network. Every PC shares its files and resources with the other PCs on the network. Communication among PCs is a direct link with no central network controller, such as a server.

As shown in Figure 3.1, the two PCs on this simplified network engage in direct communication, or peer-to-peer. In reality, the network can look as simple as this figure, with the PCs talking directly to each other through one cable. We will look more at the actual physical configuration of the PCs and cables later in this chapter.

Figure 3.1 A basic peer-to-peer network.

A basic peer-to-peer network can also be set up in which a piece of network equipment can facilitate this direct relationship. Remember the discussion in Chapter 2, "Home Network Building Blocks: What Makes Your Network Tick," about the network hub? The hub can, as described before, act as the central station for the direct, peer-to-peer communication between the different PCs on the network, as shown in Figure 3.2.

Figure 3.2 A basic peer-to-peer network using a hub.

At first it might not be apparent why you would want to use a hub in your network if you can connect them directly, NIC to NIC, with one piece of network cabling. We will discuss the benefits of each type of configuration in the second half of this chapter (in "Network Topologies"). For now you should know that it is easier to grow your network when you are using a hub, because you simply add a new connection from the PC to the hub.

Pluses of a Peer-to-Peer Network

The peer-to-peer network is the easiest type of network to set up. It does not require any software other than the operating system already on your PC, and it does not require the more complex configuration of a client/server network.

The following subsections cover all the advantages of a peer-to-peer network.

Simplicity

A peer-to-peer network is so basic that you don't need anything more than your PC's existing software, a couple of NICs, and some cable. In a wireless network, all the hardware you will need is two wireless NICs.

Peer-to-Peer Is Supported in Windows

Because most personal computers in homes today have some form of Windows, it is very easy to set up a home network. Of course, you need to have Windows 95 or a newer edition of Windows, but chances are that you do.

Low Cost

The cost to build a home network using peer-to-peer technology is lower than that for a client/server network because you do not need any special software or computer.

New Technologies for Home Networking Favor Peer-to-Peer

Technologies we will talk about in Part II, "Digital Plumbing: Network Wiring and Hardware Options," such as phoneline, powerline, and wireless networking, are built with the understanding that you will likely build a peer-to-peer network. This isn't to say that you can't build a client/server network with these technologies, but with these "no-new-wires" solutions, a peer-to-peer network is extremely simple.

What's Mine Is Yours

A peer-to-peer network allows each PC on the network to access resources on all the other PCs on the network. That Zip drive on Dad's PC, the laser printer downstairs on Mom's, the PC camera on Billy's PC—they're all part of the network community after you create a peer-to-peer network.

Potential Minuses of a Peer-to-Peer Network

Now that you have seen some of the advantages a peer-to-peer network can offer, you will explore some possible drawbacks peer-to-peer networks can hold. The following are the potential minuses of a peer-to-peer network.

Security

If a PC is on a peer-to-peer network, there is the chance that another PC on the home network will access files that the owner of the PC might not want accessed. Not that this will necessarily happen or that you have something to hide from other users (or do you?), but this is something to think about. However, Windows provides the capability to block access to certain drives, so this shouldn't be a worry for anyone who properly configures her network software.

PCs Down on the Network Can Cause the Network to Go Down

In some instances, a PC might not be working, either because of problems or because it has simply been shut off. In a basic peer-to-peer network that uses direct connections from PC to PC without a hub, this might cause a problem.

Network Speed

In a peer-to-peer network situation in which a hub or switch is not used (such as a phoneline network), it becomes a real possibility that the network can get bogged down when more than one user is using it at the same time.

Scalability

A peer-to-peer network is great for a home network with a handful of users such as three to five PCs. However, if one day you decide to go into business with Brad, your neighbor, and set up a network in your home, when you start to increase the number of users to 10 or beyond, you might want to consider moving to a client/server network.

Understanding Client/Server Networks

The other network type is a client/server network. As described earlier, client/server networks have more centralized control of the network through the network server.

As shown in Figure 3.3, the communication and services on the network are controlled through the server. The resources, such as Internet service and printer sharing, are controlled through the network server. If you were to set up passwords to get on the network, this would also be controlled through the server.

TIP

An important distinction to make here is that this does not mean that all communication needs to go through the server. In a situation in which a hub or network "central station" is used, Client A can communicate directly with Client B. However, the permission that enabled this direct connection was granted by the network "dictator," the server. Figure 3.3 is a conceptual diagram and doesn't show the use of a hub or switch that actually handles network "traffic."

NOTE

Network traffic is what we call the actual communication over the network. Network gurus like to use this term to describe how "congested" (see where we're going here?) or busy the network is.

Figure 3.3 Central control through a client/server network.

Considering that a client/server network is generally more complicated and expensive than a peer-to-peer network, you're probably asking yourself why you would ever need one. Here are the circumstances in which you might want to consider using a client/server network:

  • You expect that your network will grow over time and might exceed 10 users.

  • You have a PC that has a noticeable advantage in processor speed and disk drive (storage) space.

  • You need to control access to your network.

  • You want to be able to have greater management and monitoring control over your network.

  • You want to set up a Web server (a special server that creates Web pages on the Internet).

These are all reasons you should consider using a client/server network over a peer-to-peer network. A client/server network, because of a more robust operating system such as Windows NT or NetWare, allows the network administrator to have better control over who accesses what and allows monitoring of network traffic and usage patterns.

Choosing Between Peer-to-Peer and Client/Server: A Suggestion for Your Sanity

As you can see, you must weigh a few basic considerations when deciding between the two options. But to give you even more value from your investment in this book, I will make a suggestion that should ease your pain considerably:

Unless you feel very strongly that you should have a client/server network based on the answers you had to the previous questions, by all means go with the much easier solution of a peer-to-peer network.

So you might be shocked that I go so far as to suggest what you should use, but don't be. That's my job (and I'm an extremely nice person).

Not convinced? Let me go over a few reasons I believe you should consider a peer-to-peer network unless you are absolutely convinced a client/server is for you:

  • As I've mentioned repeatedly, peer-to-peer networks are much simpler. They use your basic PC operating system and the newer operating systems, such as Windows ME and XP, have built-in wizards to help you create your home network.

  • Network operating systems are more complex, and you will have to learn a whole new set of commands to get your client/server network operating to your liking.

  • Client/server networks are more expensive.

  • Most home networks have only five or fewer PCs, which is well within the capabilities of a peer-to-peer network.

  • Most important, in a peer-to-peer network you can share files, share printers, create passwords, and do most of the things you do with a client/server network.

Don't be surprised by that last statement. A peer-to-peer network can take advantage of the resources of different PCs within the network. If one has a larger hard drive, make that one the PC where you store all your large music and video files. If you want to use dad's laser printer in the den, make sure you ask him nicely to allow sharing. For a home network, in almost all instances, you can do all the things you want to do with a peer-to-peer network.

Here's one more reason to consider a peer-to-peer network. As I've mentioned before, new products aimed specifically for home networks are coming to market, and many of these are beginning to fulfill functions that a server might have done in the past.

For example, home routers or residential gateways are available today to provide basic security against hackers and allow for Internet sharing, two functions that could have been administered by a server in the past. Media servers and network storage drives are available that allow you to store large multimedia files such as movies and music in a "media tank." Some of these products are even designed to plug right into your stereo system or TV so that they won't look like a PC sitting awkwardly in your living room.

Because I feel so strongly that a peer-to-peer network is a great fit for a home network, the rest of this book focuses mainly on explaining how to set up and use a peer-to-peer home network.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020