Chap1 Network
Chap1 Network
Network Introduction
Peer to Peer (P2P) network
Client/Server network
Hybrid network
Network Introduction
• What is a Network?
• A network consists of two or more computers that are linked in order
to share resources (such as printers and CDs), exchange files, or allow
electronic communications. The computers on a network may be
linked through cables, telephone lines, radio waves, satellites, or
infrared light beams.
• Two very common types of networks include:
• Local Area Network (LAN)
• Wide Area Network (WAN)
05/31/2025 2
Advantage of a network
• Resource Sharing : A network enables the sharing of data files.
Software can be installed on a central server instead of purchasing
licenses for every machine. Peripherals such as printers and scanners
can be shared across an organization. Databases and files can also be
shared, effectively reducing costs
• Better Communication : Internet enables better
communication through email messaging, chat rooms
and video conferencing.
• Access to remote databases : Internet allows users to access
remote databases like railway reservations, universities, hotels, etc.
05/31/2025 3
Need of Computer Network
05/31/2025 6
Advantages of peer-to-peer networks
05/31/2025 9
• Since usernames and passwords are stored locally, a user can change
them without notifying you. If this happens, the user will not be able to
connect to the shared folder. This can be an organizational nightmare.
• Since peer-to-peer networks do not use dedicated network operating
systems, the performance of these networks is less than client-server
networks that use dedicated network operating systems or applications.
• Peer-to-peer networks are also not considered secure networks. In a
peer-to-peer network, shared resources can be easily discovered and
used by unauthorized users.
• In this type of network, since data is not stored in a centralized location,
backing up critical data is quite a difficult task.
05/31/2025 10
Where should peer-to-peer networking be used?
05/31/2025 12
• For example, if one student has summarized notes for a particular topic,
they can share it with the rest of the group by making copies or simply
showing it to others. Another student might have found useful online
resources or practice questions, which they can share with the group. The
students can discuss and explain concepts to each other, asking questions
and clarifying doubts.
• In this P2P study group, no one student is solely responsible for providing
all the information. Instead, each student contributes knowledge and
resources, and everyone benefits from the collective effort. If one student
is absent, it doesn’t stop the others from studying and sharing information.
The study group functions efficiently because the peers are directly
interacting and sharing resources without relying on a central authority.
05/31/2025 13
• Similarly, in a P2P computer network, each device can act as a peer, sharing files,
data, or services directly with other peers in the network. There is no need for a
central server to manage and distribute resources. Peers can communicate,
exchange information, and collaborate, creating a decentralized network where
everyone contributes to the overall functioning of the system.
05/31/2025 14
Client/Server Network
• In the client-server network model, shared resources are managed through
a centralized database. A centralized database stores all information about
the network. Usually, this information includes user accounts, passwords,
computer accounts, location of shared resources, access rules, and the
hierarchy of the network. The system on which the centralized database is
installed is known as the server system.
• Depending on the size of the centralized database and hierarchy of the
network, the database can be installed on a single server system or
multiple server systems. A centralized database can only be installed on a
NOS. A NOS (network operating system) is a type of operating system that
is mainly designed for applications that are used to perform networking-
related tasks. Microsoft Windows Server, Ubuntu Server, and RHEL Server
are examples of NOS.
05/31/2025 15
• Client systems are used to access shared resources. A client system
provides two types of login access: local login and network login. The local
login is used to access the resources available on the local system. The
network login is used to access the shared resources available on the
network.
• A client system stores login information of only local user accounts. When
a user uses the local user account to log in, the client system
authenticates the login. When the user uses the network user account to
log in, the client system transfers the credential to the server system. The
server system checks the centralized database and grants login access if
the supplied username and password are correct.
• Since the login information of network user accounts is stored on the
server system, a user can use any client system to log in and access his
network user account.
05/31/2025 16
Client/Server network
05/31/2025 17
Typically, a server is used for the following functions:
• Authenticating user login
• Restricting unauthorized access
• Controlling what a user can access
• Storing and managing data in a centralized location
• Backing up data regularly
• Creating network users accounts
• Grouping user accounts based on multiple criteria and requirements
• Storing locations of shared resources
• Mapping user accounts with shared resources
• Creating access rules for shared resources
• Supplying network applications to client systems
• Defining client computers from where a user can log in
• To perform the above tasks, a server system requires more processing power, memory, and storage capacity than
client systems. For example, a file server may use multiple hard disks to store a large amount of data.
05/31/2025 18
Advantages of the client-server network model
05/31/2025 20
Differences between the client-server network model and peer-to-peer network
model
• The peer-to-peer network model stores user accounts and passwords on the local system.
The client-server network model stores user accounts and passwords on a centralized
database that can be installed on a single system or a group of systems.
• If a device accesses a service and presents a platform to use the accessed service, the
device is known as the client. If a device provides a service, the device is known as the
server. In the peer-to-peer network model, a device can act as both. It can act as a server
to provide a service and act as a client to access a service. In the client-server model, a
device has a dedicated role. It can be either a server or a client. It cannot be both.
• In the peer-to-peer network model, each device has equal rights. A device cannot control
another device in any form. In the client-server network model, the server defines the rights
of each client.
• The peer-to-peer network model does not require a special operating system and
applications. The client-server network model needs a special operating system known as
NOS and network applications.
05/31/2025 21
• The peer-to-peer network model is easy to set up and does not
need an experienced administrator for management. The client-
server network model is complex and needs an experienced
administrator for management.
• The peer-to-peer network is less expensive than the client-server
network model.
• The peer-to-peer network model provides basic sharing options.
The client-server model provides all sharing options.
• The peer-to-peer network is mostly used in a home or small office
network. The client-server model is mainly used in a business
environment.
05/31/2025 22
Hybrid Network
• Hybrid networks are the networks that are based on both peer-to-peer & client-server relationship.
• Hybrid networks incorporate the best features of workgroups in peer-to-peer networks with the
performance, security and reliability of server-based networks.
• Hybrid networks still provide all of the centralized services of servers, but they also allow users to
share and manage their own resources within the workgroup.
05/31/2025 23
Advantages of Hybrid Network
05/31/2025 24
Disadvantages of Hybrid Network
05/31/2025 25