XII CS Introduction To Computer Networks 2021-22
XII CS Introduction To Computer Networks 2021-22
XII CS 2021-22
10.
Marks -
WHAT IS A NETWORK ?
Network, a group of computers and associated devices that are
connected by communication facilities.
Network is an inter connected collection of autonomous computers.
When two or more computers are joined together so that they are
capable of exchanging information , they form a network.
What is the need for Networking?
• Resource sharing - Through a network , data , s/w and h/w
resources can be shared irrespective of the physical location of the
resources and the user.
• Reliability – A file can have its copies on two or more computers
of the network.
• Reduced Cost – Sharing resources reduces the cost
• Fast Communication – Information can be exchanged at a very fast
speed
WHAT are the Components of a Network?
I. Workstation or Nodes
II. Server
III. Client
IV. Network hardware
V. Communication Channel
VI. Software
VII.Network Services
Components of Networks contd..
I. Workstation or Nodes
It refers to a computer that are attached to a network
II. Server
The master computer is called Server. It facilitates the sharing of data, software
(s/w) and hardware (h/w) .
Servers can be of two types ---
i) Dedicated Servers
• Master-Slave Network. (Clients are dependent on the server)
• On bigger network, there is a computer reserved for server’s job and its only job is to
help workstations access data, software and hardware resources. It does not require to
double-up as a workstation /server.
• Data is backed up in the main server.
• Main server controls the security of the network.
ii) Non- Dedicated Servers
• Peer to Peer Network (Clients are not dependent on a central server)
• Workstation can double up as a Server. One computer works as a workstation as well as
server.
• Each computer has to be backed up. Data can easily be deleted by the users.
Components of Networks contd..
III. Client
It is a host computer that sends request to the server for some services.
IV. Network Hardware/ Devices
Specialized hardware is required to carry out various roles in a network
For eg. Establishing connections, controlling network traffic and many
more.
NIC (Network Interface unit)
Hub
Switch
Router
Repeater
Bridge
Gateway
Modem etc.
Network Interface Unit (NIU)
• It is a device attached to each workstation and server.
Later in 1990’s the inter networking of ARPANET, NSFnet and other private
Networks resulted into INTERNET (INTERNETworking- A Network of
Networks)
What is INTERNET and INTRANET?
The Internet is a globally-connected network of computers that enables people
to share information and communicate with each other.
Internet is a public network. Internet contains various source of information.
TCP IP
TCP provides the service of providing IP handles addressing and routing
reliable and ordered exchange of data message across one or more networks.
directly between two network hosts.
IP is responsible for handling the address of
destination computer. So that the packets
are routed to correct destination computer.
IP defines addressing methods.
TCP is the protocol that major Internet IP is a connectionless protocol and does not
applications rely on, applications such as the need circuit setup prior to transmission.
World Wide Web, e-mail, and file transfer.
How INTERNET works? TCP/IP Protocol…contd..
• At the source computer, the message or the file/document to be
sent to another computer is firstly divided into very small parts
called Packets. A Packet generally contains some information.
• Each Packet is given a number serial wise e.g. 1,2,3.
• All these packets are then sent to the address of the destination
computer.
• The Destination computer receives the packets in random manner.
i.e. Packet 10 may come before packet 1.
• If a packet is erroneous or lost at the destination end, then it is
demanded again.
• The packets are reassembled in their original order.
Data Destination
Address
FIG: Sample Data Packet with Data part and destination address part
How INTERNET works? TCP/IP Protocol…contd..
SOURCE DESTINATION
A
MESSAGE Packet 1 Packet 4 Data
broken Packets are
Packet 2 B Packet 2
down into rearranged
equal Packet 3 Packet 5 in sequence
sized Data
c and then
Packet 4 Packet 1 MESSAGE is
Packets
D Opened
Packet 5 Packet 3
LAN
• A Local Area Network (LAN) is confined to a
relatively small area. It is generally limited to a
geographic area such as a lab, school, or
building. Rarely are LAN computers more than
a 5-10 Kms apart.
• In a typical LAN configuration, one computer is
designated as the file server. It stores all of the
software that controls the network, as well as
the software that can be shared by the
computers attached to the network.
• Computers connected to the file server are
called workstations.
• On most LANs, cables are used to connect the
network interface cards in each computer.
MAN
• Spread over a city
• E.g. Cable T.V. networks
• Purpose is to share h/w and s/w
resources among its users.
WAN (Largest)
• It is spread across countries.
• It can be a group of LANs
connected together to form
a big LAN.
• Largest WAN in existence is
Internet.
Difference between LAN and WAN
LAN WAN
Diameter of not more Span entire countries
than few km
Operate at data transfer Data rate less than 1
rate of several MBPS (1 to MBPS
10 MBPS)
Complete ownership by a Owned by multiple
single organization organizations
Very low error rates Comparatively higher
error rates
Extra
knowledge
SWITCHING TECHNIQUES Extra
knowledge
Circuit Switching.
Message Switching.
Packet Switching.
Circuit Switching Extra
knowledge
• Physical connection between the two computers is established and
then data is transmitted from source to destination computer.
• When a computer places a telephone call , the switching equipment
within the telephone system seeks out a physical copper path from
sender’s to receiver’s telephone. Ex:-Telephone Lines.
• It sets up end-to-end connection between computers before any
data can be sent.
Message Switching Extra
knowledge
• The source comp sends the data
to the switching office first
which stores the data in its Switching
buffer. Office1 Switching
Office3
Disadvantages of RADIOWAVE:-
Insecure.
Signals are affected by weather effects like rains,
thunder storms etc.
MICROWAVE – (Unguided media)
• These signals are used for long distance communication.
• This type of transmission consist of transmitter(source), receiver(destination) and
atmosphere.
• The signals are transmitted by using parabolic antennas mounted over towers.
Flexibility:- Can offer easy move of existing nodes and adding new ones.
TYPES OF TOPOLOGIES
STAR Topology TREE Topology
BUS Topology GRAPH Topology
RING/CIRCULAR Topology MESH Topology
FULLY CONNECTED Topology
STAR TOPOLOGY
A star topology is designed with each node (file server,
workstations, and peripherals) connected directly to a
central network hub or concentrator
Data on a star network passes through the hub or
concentrator before continuing to its destination.
The hub or concentrator manages and controls all
functions of the network. It also acts as a repeater for
the data flow.
Advantages of a STAR Topology
• Easy to install and wire.
• No disruptions to the network when connecting or
removing devices.
• Easy to detect faults and to remove parts.
Disadvantages of a STAR Topology
• Requires more cable length than a linear topology.
• If the hub or concentrator fails, nodes attached are
disabled.
• More expensive than linear bus topologies because of the
cost of the concentrators.
BUS TOPOLOGY
• A linear bus topology consists of a main run of cable with a terminator at
each end .
• All nodes (file server, workstations, and peripherals) are connected to the
linear cable.
INTERNET BACKBONE
(The WORLD WIDE WEB)
‘COBWEB’
Pre-built content is same each time the Contents is generated “on-the –fly” and
page is loaded. changes regularly
Content only changes when someone Page contains “server-side” code, allows
updates and publishes the file and sends it the server to generate unique content
to the server for uploading. when the page is loaded.
Uses HTML Codes Uses DynamicHTML, ASP,PHP,JSP
codes.
Ex. ABOUT US,MISSION,VISION,CONTACT Example : Amazon pages for buying
US information given on your school items, Facebook, upcoming events
website. A page of Tagore Poems. from a calendar and changing each
day for the different Calendar events
WWW Applications:
Web, E-mail, Chat, VoIP
WEB- A web application (or web app) is an application software that runs on
a web server, unlike computer-based software programs that are stored locally
on the Operating System (OS) of the device. Web applications are accessed by
the user through a web browser with an active internet connection.
Eg. Web applications include online forms, shopping carts, word
processors, spreadsheets, video and photo editing, file conversion, file
scanning, and email programs such as Gmail, Yahoo and AOL. Popular
applications include Google Apps and Microsoft 365.
Telnet Protocol
used to open remote-
machine access(telnet )
sessions.
SLIP(Serial Line Internet Protocol)
SLIP is an encapsulation of the Internet Protocol designed to work over serial ports and
modem connections. SLIP encapsulates IP packets.IP protocol is the only protocol supported
by SLIP. SLIP has been largely replaced by the Point-to-Point Protocol (PPP), which has more
features and does not require a predefined IP address configuration.
POP3 Protocol (Post Office Protocol 3) is the most recent version of a standard
protocol for receiving e-mail. POP3 is a client/server protocol in which e-mail is received and
held for you by your Internet server.
IMAP Protocol Internet Message Access Protocol means that all of your email is
saved on your Internet Service Provider's servers. IMAP is better than POP3 if you are going
to be accessing your email from multiple devices, such as a work computer and a smart phone.
POP3 works better if you are only using one device, but have a very large number of emails. It
is also better if you have poor internet connection and need to access your emails offline.
WIRELESS MOBILE COMMUNICATION PROTOCOL
GSM Protocol The Global System for Mobile Communications (GSM) is a standard developed
by the European Telecommunications Standards Institute (ETSI) to describe the protocols for second-
generation (2G) digital cellular networks used by mobile devices such as mobile phones and tablets.