Computer Network Chapter1
Computer Network Chapter1
Distributed, Network operating system (NIS) its types and 1.7 Classiiation Bases n Trarriss
feeture6. Terrinciogy 111
1.1 A Network
.1-1 1.7.1 Broardas Ngtuors 1-11
1.1.2 Need and Applicatons of Computer 1.8 Basics of Netwotk nptrg res 1-11
K Table of Contents
2.1.3 Host
of
Inftuencingthe Choice
1.10.6 Factors .1-15 Cornrnunication Subnet
2.1.4
Network
Peer-to-Peer 2.2 Network Interface Card (NIC)
Comparison between
1.10.7 ......1-15
Network
Network andClient-Server 2.2.1 NIC Operation
...1-16
Devicos
1.11 Network Features
2.3 Network Control / Connecting
1-16
1.11.1 File Sharing
2.3.1 Types of Network Connecting
1-16
1.11.2 Printer Sharing Devices
24
2-7
1.14.2 NOS Based on Client Server Model .....1-19 2.8 Bridges
1-20
2.11 Switches .2-10
1.15 Network Functions
Syllabus :
Needs, Uses of oomuter nenwork, Applicabons ot oomputer network, Advantagesbenefits of computer network
of
Shaningof infomation, Sharing resources, Centralised management of resources, Backingup of data, Classification
on
networks : Geographical cassification, Classihcstion based on transmission technokogy, Classification based
Distributed, Network
nework relstonships, BsSicS of network computing modes : Peer to peer, Client server,
operating system (NOS) its types and features.
1.1.1Computer Networks :
1.1 A Network:
In context with the computers we can say that a
Network: "computer network" is a system which allows
Network is a broad term similar to "system". Network communication among the computers connected in the
is acommunication system which supports many users. network.
The interconnection of one station to many stations is During 20" century the most important technology has
called as networking. been the information gathering, its processing and
distribution.
A netwwork is any interconnection of two or more
stations that wish to communicate. The computers and communications have been merged
together and their merger had a very deep impact on the
Node :
manner in which computer systems are organized.
Each station in a communication network is called as a
In the old model a single computer used to serve all the
node. The nodes are connected in different way to each
other to form a network. computational needs of an organization. But now it is
replaced by a new model in which a large number of
One of such networks is shown in Fig. 1.1.1. separate but interconnected computers do the job.
Many other forms of interconnections are possible. The Such systems are called as computer networks.
most familiar network is the telephone system. It is the
Definition:
largest and most sophisticated network of all.
-Node
A computer network is a group of computers and other
computing hardware devices are linked together
through communication channels to facilitate
communication and resource sharing among wide range
of users.
Unk
Two computers are said to be interconnected if they
exchange information. The connection between the
(G-13)Fig. 1.1.1 :Asimple communication network separate computers can be done via a copper wire, fiber
optics, microwaves or communication satellite.
Fundamentais of Computer Network
1-2
KP Computer Network (IT/Sem 4/ MSBTE) Computer
cach node in a computer
1.1.2 Need and Applications of
As shown in Fig. 1.1.2, Network:
connecting device such as a the
network is a computer, or a are needed because of
The computer networks
hub, or a switch etc. following points :
share files. the
The computers connected in a network such as printers among all
For sharing the resources
folders, applications and resources like scanners, web users.
cams, printers etc. softwares and database.
2. For sharing of expensive the
The best example of a computer network is the Internet. communication from one computer to
3. To facilitate
other.
amongst the
have exchange of data and information
4 To
Hub
users, via the network.
over the geographically
5. For sharing of information
wide areas.
between various
computers
6. For connecting the
buildings of an organization.
(G-1395)Fig. 1.1.2 : A computer network
make use of 7. For educational purposes.
In a computer network we need to Network:
hardware and software. 1.1.3 Components of aComputer
components of a
The hardware consists of connecting cables, Following are some of the important
the
connectors, network connecting devices and
computer network.
software consists of protocols, programs etc. 1. Two or more computers.
optic) as links
This enables the systematic exchange of
information 2. Cables (coaxial, twisted pair or fiber
network.
between the computers connected in the between the computers.
There are various ways of
interconnecting the 3 A Network Interfacing Card (NIC) on each computer.
computers. 4. Switches or other suitable connecting device.
Protocol: 5. A software called network operating system.
occur, it is not
For successful communication to 1.2 Network Benefits:
message
enough for the "sender" to simply transmit the
receive it
and "assume" that the "receiver' will A network is supposed to provide its uses some unique
properiy. capabilities, better than what the individual machines
followed to ensure
There are certain rules that must be and their software can provide.
proper communication. The benefits provided by the network to the users can
as a "protocol" of the
A set of such rules is known be divided into twO categories as follows :
cornputer communication system.
1. Sharing
Definition: 2. Connectiity
Protocol is defined as the set of rules agreed upon by 1.2.1 Sharing Information :
the sending and receiving computer systems, to
Networking allows the users to access the data stored
facilitate a proper communication between them.
on other's computers.
Many different protocols are used in the modern
computer communication system. It is possible for every user to share his bit of
information with the other users over the network.
Need:
Protocols are needed to ensure proper communication The information sharing can be in the form of exchange
among the computers connected in a computer of data, chatting, sending E-mails, sharing video
network. information, groups etc.
13 Fundamentals of Computer Nework
Computer Nework (T/Sem MSBTE)
cach computer is
t is also pssble for the users to share the information In addition, installing software on
about vanous prxducts, movies, technical information, time consuming and diffeult.
using the
Oking, travei bOson ntemet. This problem can be overcome hy
Concept of software esource sharing
Sharing of infornation via Intemet has bevome very
ommon now a days. In a network, we can centratty install ani configure
The infomation which is to be shard or beng shart only one copy of each software and share it aong
should be shared centrally. it mast be kept consistent rest of the computers.
and secured This actually saves a lot of time and cost Fg 122
The acoess to this stored informaton should be allowed shows the principle of software sharing
A network allows its users to share the many (GI39Fig. 1.22 :Sharing of software resources
hardware devices such as printes, modems, fax 1.2.3 Facilitating Centralized Management :
network
machines, CD ROM players etc. The computer network facilitates centralzed
management with espect to following:
These rsources are available to any one on the
etwork imespective of the physical location of the 1 Management of software
resource and the user. 2. Maintenance of network
This wilH save the expenses on duplication of such 3. Keeping the data back up
bardware resources Fig. 1.2.1 shows a laser printer
being shared by many users. 4 Central network security
All this is allowed by the client - server netwon.
Laser
printer Managing software:
As discussed earlier, it is a very god içca lo share
a
User 4
the software rsoures, instead of instalhng
User 3
User f User 2 separate copy of software on cach computer.
on
GISFig. 1.21:Sharing of hardware resources It is possible to load allthe important software
single computer (sever).
2. Sharing of software resources :
of th
some All the other computers can make use
With every computer, we need to install centralized softw are as per their equirments
basic software's on each computer's hard disk.
will have to This reduces the expenses in buying the expensiv
So cach computer on the network software's for each individual computer. l
equired
purchase a separate copy of each software makes the virus checks casy.
to be used. This will increase the cost to be
incured
tey veiwh( i m MaiE) funtamentas a amuta Natwan
Isaiated hackup
AMatntenanee of netwok .
Canralizd hakup
e enaized nangeen allows quek and eany hkp pgram allad as hck un
A pr akup ywhah s saiiahie ia th gvan
Ihas iN an aliaiv crttenon for lassifiraiMm of PAN LAN MAN WAN CAN
(Personal {acat (Metropoitan (Wide (Campus
Area Area Area Area Area
F 15l gies the ewwÀ Nehwork) Network) Network) Network) Network)
classifwation hased on
their phyial sie All thse Sstens are
ltipnvesSOr (Gi400Fig. 1.6.1: Network categories
inierr 1.6.1 Local Area Networks (LAN): L
Proessors ae Example of W-14. S-15, W-15
distae located in netwerk ISBTE Questions
Sax ut Data fiow Q.1 What is LAN ?Explain its advantages.
Machine
(W-14, 4 Marks)
Multicuputer 0.2 What is LAN ? List its advantages.
LAN (S-15,4 Marks)
Q.3 Enlist and explain four characteristics of LAN.
I00 m Sax building LAN
(W-15, 4 Marks)
LAN Q.4 Define LAN. Explain its advantages.
10 km (W-15, 4 Marks)
MAN
100km Sak state Definition:
WAN
L.000km Sak ontinent WAN The Local Area Network (LAN) is a network which is
10, 000 km Same planet designed to operate over a small physical area such as
Intermet
an office, factory or a group of buildings. LANs are
Fig. 1.5.1: Netwerk ciasification sccording to scale
very widely used in a variety of applications.
Beyond the mulicomputers are the true networks, in
LANS are easy to design and troubleshoot. The
which he computers communicate by exchanging
messaes over loag cables. personal computers and workstations in the offices are
interconnected via LAN.
Such networts are divided into following categories :
The exchange of information and sharing of resources
Locl rsneworts
becomes easy because of LAN.
2 Metropolitan aranetworks and
In LAN all the machines are connected to a single
3 Wide arra networks.
cable. Different types of topologies such as Bus, Ring.
Internetwork : Star, Tree etc. are used for LANS.
The connection of two or more networks is called as an
LAN uses a layered architecture and they are capable
internetwork of operating at hundreds of Mbits/sec.
The best exampie of internetwork is the Internet.
A Local Area Network (LAN) is usuaily a privately
1.6 Classification of Networks : owned and links the devices in a single office, building
Geographical Classification: of campus of upto a few kilometres in size as shown in
Fig. 1.6.1.
Computer network can be classified based on the
geograpical area they cover, ie. the area over which Depending on the needs of an organisation and the type
the network is spread. of technology used, a LAN can be as simple as a few
COmpuiers and a printer at home or itcan contain many
Such a classifcation is sbon in Fig. 1.6.1.
computers in a company and include voice, sound and
In this section. we will discuss the following categories
video peripherals.
of networks :
Fundamentals o!
MSBTE) 1-8
Computer Network (|T/Sem 4/
allow resources to be
shared Advantages of LAN:
LANS are widcty tased to workstations, The individual compters cea
between personal computers
or 1. High reiabilsty. Failure of
a printer or not affect the entire LAN.
resources to be shared can be hardware like
computer casily
softwares or data. 2. It ispossible to add a new
in aLAN One of the computer can become a server a very high rate
3. The transmission of data is at
serving all the remaining computers called clients. 4. Sharing of peripheral de vices
ssch as printer 8
Software can be stored on the server and it can be used
possible.
by the remaining clients.
Applications of LAN :
LAN's are also distinguished from MAN's and WAN's
based on the transmission media they use and topology. 1.
File transfer and file access.
In general a given LAN will use only one type of
transmission medium. The most common networking
2. Personal computing.
topologies used are bus, ring and star. 3 Office automation.
The data rates for LAN can now range from 10 Mbps 4. Distributed computing.
to 16 Gbps. 5. Wordand text proccssing.
Important characteristics /Features of LAN: 6. Document distribution.
1. Very high degree of interconnection between the
7. Remote access to database.
computers.
2. High rate of data transmission. 8. Electronic message handling.
3. Physical connection of computers in a LAN is casy. 1.6.2 Ethernet :
4. Every computer in the LAN can communicate with
Both Internet and ATM (Asynchronous Transfer Mode)
every other computer.
5. The medium used for data transmission is inexpensive.
were designed for wide area networking. But in nany
applications, alarge number of computers are to be
LAN topologies : connected to each other.
Network topology is defined as the pattern in which the For this the Local Area Network (LAN) was
network elements are connected to each othcr.
introduced. The most popular LAN is called Ethernet.
Different network topologies are :Bus, ring, star etc.
Various topologies are possible for the broadcast LANs The IEEE 802.3 standard is popularty called as
Ethernet. It is a bus based broadcast network with
such as bus topology or ring topology as shown in
Fig. 1.6.2. decentralized control.
It can operate at 10 Mbps or 100 Mbps or even above I
Cable
Gbps.
(Bus) Computers on an Ethernet can trans1nit whenever they
Hu want to do so. If two or more machines transmit
Computers simultaneously, then their packects collide.
(a) Bus topology Then the transmitting computers just wait for an
arbitrary time and retransmit their signaB.
Computers There are various technologies available in the LAN
market but the most popular one of then is Ethernet.
Definition:
The MAN can be in the form of a single Most wide area networks are used for transferring large
network such
as a cable network or it can be a blocks of data between its users. As the data is from
combination of
multiple LANs as shown in Fig. 1.6.3. existing records or files, the cexact time taken for this
A MAN may be wholly owned and data transfer is not a critical parameter.
operated by a
pnvate company or it may be a service provided by a Anexample of WAN is an airline reservation system.
public company, such as a local telephone company Terminals are located all over the country through
(telco).
which the reservations can be made.
LAN It is important to note here that all the terminals use the
LAN same centralized common data provided by the central
reservation computer.
LAN
Because of the large distances involved in the wide
Public city network
area networks, the propagation delays and variable
signal travel times are major problems.
Therefore most wide area networks are not used for
LAN
time critical applications. As explained earlier they are
more suitable for transfer of data from one user to the
other which is not a time critical application. Wide area
(G-3)Fig. 1.6.3 : Metropolitan area network
networks are basically packet switching networks.
Definition:
AMAN is a network that interconnects users with the
computer resources in a geographical area larger than
that covered by a LAN and smaller than that covered
by a Wide Area Network (WAN).
1.6.4 Wide Area Network (WAN):
When a network spans a large distance or when the
computers to be connected to each other are at widely
be
separated locations a local area network cannot (G-35)Fig. 1.6.4 : Wide area network
used.
A WAN provides long distance transmission of data,
For such situations a Wide Area Network (WAN) must
different voice image and video information over large
be installed. The communication between
geographical areas that may comprise a country, a
users of "WAN" is established using leased telephone shown in
continent or even the whole world as
lines or satellite links and similar channels.
the phone Fig. 1.6.4.
It is cheaper and more efficient to use
network for the links.
Fundamentais of Computer Network
Computer Network (|T/Sem 4/ MSBTE) 1-10
MAN :
Characteristics / features of WAN: 1.6.7 Comparisonof LAN, WAN and
W-14, W-16, S-17
Following are some of the important characteristics of MSBTE Questions
following
WAN: Q. 1 Compare LAN and WAN by considering
Remote data entry and access is possible. points :
(W-14, 4 Marks)
1.6.6 CAN (Campus Area Network) : 5. |Data rates High low Moderate
(speed)
The Campus Area Network (CAN) is made up of an
6.Mode of Each station Each Each
interconnection of LAN within a limited geographical
communication can transmit station station
area.
and receive cannot can
Brvadcast networks
Point to point networks.
Sender Path (1 Recetver
Peer Peer
required.
2. Use less expensive computer hardware : In peer-to
(G-40)Fig. 1.9.1 :Peer-to-peer network
peer network, the resources are distributed over many
Access to individual resources can be controlled if the
user who shared the resources installs a computers, so there is no need for higher-end-server
password to
access it. computer.
3. Easy to administer : In
peer-to-peer network each
machine performs its own administration.
Fnteettate o te Natwoh
Iiwwt ar ienty
Defniton of eerver:
A verver is sinyl a Mter that unakex te etwok
mnNN availalle and oviteN Nervie o her
1.9.4 Disadvantages of Peer to Peer muniterN when they mqwstfr it.
Networks :
Lwal ANa Neiwuking (LAN) iN haNed m the client
There sever netww* rlatimship. You wan onstwt u cient
netn paiculariy for larger nTwrds ss ÂNhy:
1. Iindividual pertormance is sftected : netwrd muters as a sCIvers and the est of as
clients Client server network (ypicallyuseN ndirevtory
II soe wortstatons heve freqndy used unes on servie o stoe intumation atut the nctwork and its
them then the use of these esuNS hy ocher couter
mght adversely affects the pesn using this particular A chent-server neiwork is one in wich all available
workstadon network such files, diretories,
3 Backup is difficut:
server.
In peer-to-peer Detwork there is N centralized
Hence data is scattered over many workstations. So it is
difficult to backup alldata in an organized manner.
Hard to maintain version control :
number of
In peer-to-peer network, files are stored on
different workstations. So it is difficult to manage
Clent Clent Clent
different document versions or files. Cient
Server computers typically are more powerful than (c) The operating system runs on client-server are
client computers or are optimised to function as designed to provide better security to network.
Servers. to network due to good
(d) Better security
No user can access the resourres of the servers until be administration.
has been authenticated (pemitted) by the server to do 2. Better pertormance:
The dedicated server computers are more expensive
Operating system : than standard computer workstations, but they also
We can use any common operating system such as offer considerably better perfornance.
Windows 7 for a client.
3. Centralized backup :
But the server is loaded with a special operating system
Backing up company's important data is much easier
such as Microsoft Windows Server 2008. when it is located on a centralized server. Centralized
1.10.1 Communication in Client-Server backup is much faster too.
Configuration : 4 Higher reliability :
Fig. 1.10.2 explains the principle of communication in In client server network centralized dedicated server
the client server configuration.
provide more reliability. It has built-in redundancy.
Response 5 Central file storage, which allows all users to work
Server Chent from the same of data.
Request 6. Reduces cost because of sharing of hardware and
software.
(GDFig. 1.10.2 : Clhent/server communication
7. Increased speed due to dedicated server for sharing
The client places a request on the server machine when
he wants an access to the centralised resources. resources.
mànagement. manageRaL
Print servers :
In this each machine has In this server has mor
printing on the 2
The print server controls and manages same power. power and cheat bas less
network. power.
Another application service you can have on the Clhent-server e-mail systems, are more secure and far
network is a shared installation. This enables you to use more powerful than file based e-mail system. They
workstation without CD-ROM for installation. i.e. offer additional features that enable you to use the e
contents of CD-ROM copy to the server, then run the mail system for different business processes.
installation program for workstation from server. This
Advantages :
makes installing application much faster and more
convenient. 1. Helpful for communication within a company or
outside a company.
Advantages :
2 Faster communication.
Reduces the amount of disk space needed on each
Disadvantages :
workstation.
1. Network becomes unreliable due to viruses.
2. Centralized administration, so provide higher security
and reliability. 2. Require more security.
3. Without CD-ROM we can install the software on 1.11.5 Remote Access :
workstation over network. Another important feature of network is remote access
4 Installing application on workstation is much faster and to the network resources. Using this feature users can
more convenient. access their files and e-mail, when they are travelling or
5 This gives economical solution for more costly working on remote location.
softwares. Remote access feature is implemented as per user need
Disadvantages : or business need. Some of the features are all follows:
1 Setting up a simple remote access service
1 It increases network traffic on network.
connection on a windows 2000 server with using
2 If server fail or crash, then workstation is useless on
modem.
network.
2 Using a dedicated remote access system, which
3 Requires network license copy for application software handles many modems.
or business software.
3. Using dial-up mechanism with modem for
1.11.4 E-mail :
workstation on the network.
E-mail is extremely valuable and important feature for 4. Setting up a Virtual Private Network (VPN)
communication within organization or outside the connection to the Internet.
people in world.
5. Installing Windows Terminal Services On
E-mail service can be used by user in two different windows 2000 server.
ways :
Advantages :
(a) File based and (b) Client server.
1. User access their files and e-mail from remote location.
File based e-mail system is the one that consists of a set 2.
of files kept in a shared location on a server. File based
It enables users access to centralized application, stored
private or shared files on LAN,
e-mail system requires gateway server for connecting
or handling the e-mail interface between the two Disadvantages :
systems using gateway software that is part of the file 1. Require more security.
based e-mail system. 2 More hardware or complex hardware required.
A client-server e-mail system is the one where an e Different types of remote access technologies :
mail server contains the messages and handles all
Following are different types of Remote Access
incoming and outgoing mail.
Technologies (Connection Types) as follows:
1. Public Switched Telephone Networks (PSTN)
Fundanmentals of
In this model, many computers are used. They are to accomplish a single or similar goal.
capable of operating independently. A distributed network uses a
network management
Processing of data takes place on each individual software which monitors and manages the following
computer. tasks :
1. Novell Netware.
ANOS enables the sharing of data, users, groups,
security, applications and other network functions 2 Windows server.
typically over a LAN or a private network. 3 Banyan VINES.
Historical NOS: Other Examples :
Early microcomputers uses the operating systems such Some other examples of NOS are UNIXLinux,
as CP/M, DOS (Disc Operating System) and classic Netware, Microsoft Windows NT, Microsoft Windows
Mac OS. Server 2008, etc.
These operating systems were designed for one user on 1.14.3 Duties of A NOS :
one computer.
Typically a NOS is supposed to handle the following
Types of NOS: network duties :
But after the availability of local area network 1 Providing access to emote printers to every user
technology, the following two approaches to handle by queueing the jobs.
sharing were tried:
2. To enable and manage the access to files on
1. Peer to peer NOS. remote systems.
2 NOS based on the client server model. 3. Grating access to remote applications such as the
1.14.1 Peer to Peer NOS: Internet.
ln a peer to peer NOS, all the users are allowed to share 4. To provide routing services.
resources and files on their computers and access the 5. To make the entire network secure against viruses,
shared resources from the other computers. hackers and data corruption.
There is no centralized management. All the connected 6. To provide the basic network administration.
computers are equally important.
Fundamentals of Computer
omputer vetwork (IT/Sem 4 MSBTE)
1-20 Netwotk
Telegraph network which uses message
1.14,4 Features of Windows NOS:
1
switching
for the transfer of text messages called telegrame
network which uses circuit
Folowng are some important features of windowWS
NOS
2. Telephone messages.
for the transfer of voice
switching
1 Adrectory service. 3 Internet operation is based on packet switching
data.
which provides the transfer of digital
2 Chent support
Review Questions
3 Interoperability Windows NOS also support
UNDX, Novell Netware, Windows NT etc.
Q. 1 Define the following terms :
4 Auhentication : Deals with users logging on. 1. Network 2. Protocol 3. Handshaking
between computer network and
Fle and print services. Q.2 Distinguish
Active durectory. distributed system.
by the
Provides 8ecurity. State and explain the services provided
7
Q.3
I mantains the netwwork connections to the network to organizations.
ServerS.
Q. 4 State and explain the services provided by the
1.15 Network Functions : network to people.
Q. 5 What are the performance parameters of a network ?
The basic function of a network is to transfer
information between source machine and Q. 6 State and explain the transmission technologies used
destination rachine. in computer networks.
The folowing is a list of functions that a network must Q.7 State the various types of networks.
caTy out: Q.8 Write a short note on LAN.
1 Basic user service ie. the primary services that are
Q. 9 Write a short note on MAN.
provided by the network to its users.
Q. 10 Write a short note on WAN.
2 Switching facility for connecting users.
Transmission system for transmission of data on Q. 11 Compare LAN and WAN.
3.
the medium Q.12 Write a note on: Peer to peer networks.
4. Routing in order to decide the path of the packets. Q. 13 State the advantages and disadvantages of peer to
peer network.
5. Multiplexing for sharing multiple infornation
channels. Q. 14 State merits and demerits of client server network.
6. Infornation representation for determining the Q. 15 Wite a short note on: Client server network.
format of infornation handled by the network. Q. 16 State the various functions carried out by a network.
7. Addressing for identifying the end system
Q. 17 Explain the human network.
(Terminal).
Q. 18 What is family network ?
The essential network functions include all
Lransnission, multiplexing, routing and switching in a Q. 19 Explain different types of human networks.
network
Q. 20 What is the need of computer network ?
The services that are provided to the use are built on
the basic transfer capability of a network. Q. 21 State various components of a computer network.
Q. 22 Explain the two models of network computing.
There are three types of networks in existence which
uSe three different types of switching techniques : Q. 23 What is network plan ? What is its importance ?
Fundamerntala of Conputer Network
Computer Network (IT/Sem 4/ MSBTE) 1-21
Q. 25 Explain any two benefits in detat. Q. 33 State cifterernt types of servera anxd axptain
Q. 26 Explain the centrallzed management ot software, Q. 34 What are the factors influencing the dhoce of
maintenance, data backup. network.
0. 30 Compare peer to peer and ciont server network. Q. 38 Explain E -malland Henote Access