Lect 01 Introduction To CN 1
Lect 01 Introduction To CN 1
Network Concepts
OBJECTIVES
• To and
understand
basic
• To and
understand require for
components d data
• communication.
To analyze the function and
i) Business Application
ii) Home Application
iii) Mobile Users/ Application
iv) Social issues
v) E-Mail
NETWORK USAGE
• In the old days, computer systems were highly centralized.
• Now, a large number of autonomous computers are
interconnected to do the job Computer network Distributed
systems.
• Computer network v.s. distributed system
– Computer network: a collection of autonomous computers
interconnected by a single technology.
– Distributed systems: a collection of autonomous computers
appears to its users as a single coherent system. Coherence,
model, implementation (middleware).
– Examples: The Internet is not a single network but a
network of networks. The Web is a distributed system that
runs on top the of the Internet.
Uses of Computer
Computer networks are Networks
collections of autonomous
computers, e.g., the Internet
They have many uses:
•Business (VoIP, data/HW sharing, video conf )
•Home (Web, email, Netflix, games, cloud, social nets)
•Mobile users (maps, AV material, finding restaurants)
From: Computer Networks, 5/e by Andrew Tanenbaum & David Wetherall, Copyright Pearson
Business Applications (1)
Resource sharing : To make all programs, equipment,
and especially data available to anyone on the network
without regard to the physical location of the resource
and the user. A network with two clients and
one server
reques
t
respons
e
From: Computer Networks, 5/e by Andrew Tanenbaum & David Wetherall, Copyright Pearson
Network Usage: Business
applications
• Communication : To provide a powerful
communication medium among widely separated
employees.
– Email,
– BBS,
– Video conferencing (QQ, MSN).
• E-commerce :
– B2B,
– B2C.
Network Usage: Home
applications
• Access to remote information
• Person-to-person
communication
• Electronic commerce
• Interactive entertainment
• Ubiquitous computing
Home Applications (1)
• Homes contain many networked devices, e.g.,
computers, Internet TVs, smartphones, etc.
• Home users communicate, e.g., social networks,
consume content (Web, music, video,
newspapers, etc.)
• Some applications use the peer-to-peer model in
which there are no fixed clients and servers:
Network Usage: Home
applications
• Access to remote information
– Access to remote financial institutions.
– Access to on-line and personalized newspapers.
– Access to information systems like the WWW, which
contains information about the arts, business, cooking,
government, health, history, hobbies, recreation,
science, sports, travel, and
• too many other topics to even mention.
• (Some better left unmentioned)
Network Usage: Home
applications
• Person-to-person communication
– Email
– Instant messaging: chat room
– Using the Internet to carry telephone calls, video
phone, and Internet radio (YouTube)
– Facebook, MSN, QQ, BBS
– Wiki (Wikipedia)
– Tele-learning
Home Applications (2)
Some forms of e-
commerce
Network Usage: Home
applications
• Interactive entertainment
– VOD (video on demand) , interactive films and
interactive TVs.
– Network game playing
– Maybe a brand new industry based on computer
networking and entertainment
• Ubiquitous computing
– Computing is embedded into everyday life
– Power-line networks
– RFID
Mobile Users
• Tablets, laptops, and smart phones are popular;
WiFi hotspots and 3G cellular provide wireless
connectivity
• Mobile users communicate, e.g., voice and texts,
consume content, e.g., video and Web, and use
sensors, e.g., GPS
• Wireless and mobile are related but different:
Social Issues
• Network neutrality – no network restrictions
• Content ownership, e.g., DMCA takedowns
• Anonymity and censorship
• Privacy, e.g., Web tracking and profiling;
terrorists
• Jurisdiction: gambling, porn, political
speech
• Theft, e.g., botnets and phishing
• Incorrect (medical) information and fake
news
• Facebook & Twitter and Russian trolls
Data Representation
• Information today comes in different forms such
as text, numbers, images, audio, and video.
Text
• In data communications, text is represented as a
bit pattern, a sequence of bits (0s or
1s).Different sets of bit patterns have been
designed to represent text symbols. Each set is
called a code, and the process of representing
symbols is called coding.
• the prevalent coding system is called Unicode,
which uses 32 bits to represent a symbol
orcharacter used in any language in the world.
[https://en.wikipedia.org/wiki/
List_of_Unicode_characters ]
• The American Standard Code for
Infor_x0002_mation Interchange (ASCII),
developed some decades ago in the United
States, now constitutes the first 127 characters
in Unicode and is also referred to as Basic Latin.
[https://en.wikipedia.org/wiki/
ASCII#ASCII_control_characters ]
Numbers
• Numbers are also represented by bit
patterns.
• However, a code such as ASCII is not
used to represent numbers;
• the number is directly converted to a
binary number to simplify mathematical
operations.
Images
• Images are also represented by bit patterns.
In its simplest form, an image is composed of
a matrix of pixels (picture elements), where
each pixel is a small dot. The size of the pixel
depends on the resolution.
• There are several methods to represent color
images. One method is called RGB,
so called because each color is made of a
combination of three primary colors: red,
green, and blue.
Audio
Audio refers to the recording or broadcasting
of sound or music.
Video
Video refers to the recording or broadcasting
of a picture or movie. Video can either be
produced as a continuous entity (e.g., by a
TV camera), or it can be a combination of
images,
Data Communication
Data communication are the exchange of data
between two nides via some form of link
transmission medium such as a cable
Communication Model
• Data communications are exchange of data between
two devices via some transmission medium.
• It should be done in two ways
• Local - It takes LAN Connection.
• Remote - It takes Long distance like MAN & WAN.
• Data should be Transferred in the form of 0’s and 1’s
Transmissi
Source on
Medium Destination
iii) Medium
5.Protocol
5.Protocol Step : 1
Step : 1 4.Message
Step : 2
Step : 2
1. 3. 2.
Sender Medium Receiver
: It is a device ,
that Sends the information to the Receiver.
: It is a device , that Receives the
information from the Sender.
: It is the physical path between
Sender to Receiver.
: This is the passing Informations.
: It is a set of rules and regulations that “
Governed “ from data communication.
Data Flow
Simplex:
• Communication is always unidirectional
• One device can transmit and the other
device will receive
• Example keyboards traditional monitors
Data Flow
Half Duplex:
• Communication is in both directions but
not at same time
• If one device is sending the other
device can only receive and vise versa
• Example: Walkie-Talkies
Sender Reciever
Data Flow
Full Duplex:
• Communication is in both directions
simultaneously
• Device can send and receive at the same
time
• Example: Walkie-Talkies
Data
Flow
• Flow control.
• Response Timeout
Massage delivery options
Unicast
Multicast
Broadcast
NETWORK HARDWARE
• Network classification:
– Transmission technology
• Broadcast networks
• Point-to-point networks
– Scale
• Local area networks (LANs)
• Metropolitan area networks (MANs not
Men)
• Wide area networks (WANs)
• Inter-networks ( internet vs. Internet)
Network Hardware:
Transmission
• Broadcast networks : broadcast networks have a single
communication channel that is shared by all the
machines on the network. There are three addressing
possibilities:
– Unicasting ,
– Broadcasting,
– Multicasting .
• Point-to-point networks : point-to-point networks have
many communication connections between individual
pairs of machines.
Message Delivery Options
Unicast
Message Delivery Options
Multicast
Multicast In Computer Network
• Multicast is a method of group communication
where the sender sends data to multiple receivers or
nodes present in the network simultaneously.
Multicasting is a type of one-to-many and many-to-
many communication as it allows sender or senders to
send data packets to multiple receivers at once across
LANs or WANs. This process helps in minimizing the
data frame of the network because at once the data
can be received by multiple nodes.
• Multicasting is considered as the special case of
broadcasting as.it works in similar to Broadcasting,
but in Multicasting, the information is sent to the
targeted or specific members of the network.
Message Delivery Options
Broadcast
I
It Provides a dedicated links between two
devices.
• For example, a wired system that connects two
computers together can be thought of a point-
to-point link.
It is a link
between two or more devices. It is also known
as Multi- Point configuration. The networks
having multipoint configuration are called
Components of Network
i) Mobile phones
ii) Satellite microwave
iii) Infrared
Transmission Mode
Disadvantages :
4) Reliability.
5) Capacity.
6) High Cost.
2. MAN - Metropolitan Area Network
A Metropolitan Area Network (MAN) is a
network that interconnects users with
computer resources in a geographic area or
region larger than that covered by even a
large local area network (LAN) but smaller
than the area covered by a wide area
network (WAN).
Network Hardware: MAN
Disadvantages :
4) Large Space Requirements.
5) Slower Data Access.
6) High Cost.
3. WAN – Wide Area Network
•WAN Provide a Long Distance Transmission of Data.
•By Using WAN Exchange the Information from one
country to another country.
Network Hardware: WAN
• Types of Bridges. M4 P1
Static Bridge: M5 P2
Dynamic Bridge( Transparent Bridge) . M6 P2
M7 P2
M8 P2
•Static Bridge: Dynamic Bridge( Transparent
Bridge) .
MAC Port
MAC Port
M1 P1
M1 P1
M6 P2
M2 P1
M7 P2
M3 P1
M4 P1
M4 P1
M5 P2
M5 P2
M P
M6 P2
M P
M7 P2
M P
M8 P2
4.5. Switch:
A network switch is a computer networking device
that connects network segments.
Switch is data link layer device.
Switch can perform error checking before
forwarding data, that makes it very efficient as it
does not forward packets that have errors and
forward good packets selectively to correct port
only.
Multiport Bridge
Full Duplex Links
Traffic is minimal
Collision Domain is zero.
• Routers:
A router is a device like a switch that routes
data packets based on their IP addresses.
Router is mainly a Network Layer device.
Routers normally connect LANs and WANs
together and have a dynamically updating
routing table based on which they make
decisions on routing the data packets.
6. Gateway :
A gateway is a passage to connect two networks together that may work
upon different networking models.
They basically work as the messenger agents that take data from one
system, interpret it, and transfer it to another system.
Gateways are also called protocol converters and can operate at any
network layer.
7. Brouter:
Network Topology
• The network topology
defines the way in
which computers,
printers, and other
devices are connected.
A network topology
describes the layout of
the wire and devices as
well as the paths used
by data transmissions.
Introduction to Computer Networks
Bus Topology
• Commonly referred to
as a linear bus, all the
devices on a bus
topology are connected
by one single cable.
Introduction to Computer Networks
Ring Topology
• A frame travels around the ring,
stopping at each node. If a node
wants to transmit data, it adds the
data as well as the destination
address to the frame.
• The frame then continues around
the ring until it finds the
destination node, which takes the
data out of the frame.
• Single ring – All the devices on
the network share a single cable
• Dual ring – The dual ring topology
allows data to be sent in both
directions.
Introduction to Computer Networks
A B
Central controller
(or)
HUB
C D
Introduction to Computer Networks
Mesh Topology
• The mesh topology
connects all devices
(nodes) to each other
for redundancy and
fault tolerance.
• It is used in WANs to
interconnect LANs and
for mission critical
networks like those
used by banks and
financial institutions.
• Implementing the mesh
topology is expensive
and difficult.
• Here every device has a direct point to
point link between every other device.
• A fully connected mesh can have n(n-
1)/2 physical channels to link n devices.
if n=5 (Number of Nodes)
5(5-1)/2 = 10 ( Communication Links)
• 5 Nodes are Connected by using
10 Communication Links
Mesh
Topology
Mesh
Topology
Advantages:
• It eliminate the traffic problem.
• It is robustness.
• It has privacy and security.
• Fault can be easily found.
Mesh
Topology
Disadvantages:
• More number of cables to be used.
• Every devices must be connected to some
other devices. So installation process is very
difficult.
Tree Topology
Peer-to-peer network
Classification by Component
Roles
Server-based:
– A server-based network offers centralized
control and is designed for secure operations.
– In a server-based network, a dedicated server
controls the network.
– A dedicated server is one that services the
network by storing data, applications,
resources, and also provides access to
resources required by the client.
Classification by Component Roles
Server-based (continued):
– These servers can also control the network’s
security from one centralized location or share
it with other specially configured servers.
Classification by Component
Roles
Client-based:
– Client-based network servers process
requests from clients and return just the
results.
– These networks take advantage of the
powerful processing capabilities of both the
client and the server.
– Application servers and communications
servers are examples of client-based
networks.
Classification by Component
Roles
Client-based network
Computer networks is set of nodes
connected by communication links
A node can be a computer , printer or any
other device capable of sending
/receiving data generated by other nodes
in the network
Example of nodes
1.Computer
2.Server
3.Printer
4.Security camera
5.Many more (switches , bridges)
Characteristics of Network
3 Common characteristics
1. Size
2. Type
3. Effectiveness
Size:
1.Small Network
• Includes less no of nodes
• Covers small area
Example: PAN(Personal Area Network)
WPAN(Wireless PAN):Bluetooth
2. Large Network
• Includes more no of nodes
• Covers large area
Example: Internet
Types of Networks
1.Wired Network/connection oriented network
• 3 Phases of connection oriented network :
1. Connection Establishment
1. Physical
• Twisted Pair
• Coaxial Cable
• Fiber optics
2. Logical
• 3 Way Handshaking
• 4 Way Handshaking
2. Data Transfer
3. Connection Release
• Example : Telephone Network, Cable Network(Dish TV)
• Magnetic media
• Twisted pairs
• Coaxial cable
• Power lines
• Fiber optics
Magnetic Media
• Write data onto magnetic media
• Disks
• Tapes
• Data transmission speed
• Never underestimate the bandwidth of
a station wagon full of tapes hurtling
down the highway.
Twisted Pairs
A coaxial cable
Fiber Optics (1)
• Geostationary Satellites
• Medium-Earth Orbit Satellites
• Low-Earth Orbit Satellites
• Satellites Versus Fiber
Introduction to Computer Networks
Network Components
• Physical Media
• Interconnecting Devices
• Computers
• Networking Software
• Applications
Introduction to Computer Networks
Networking Media
• Networking media can
be defined simply as
the means by which
signals (data) are sent
from one computer to
another (either by cable
or wireless means).
Introduction to Computer Networks
Networking Devices
• HUB, Switches, Routers,
Wireless Access Points,
Modems etc.
Introduction to Computer Networks
Applications
• E-mail
• Searchable Data (Web Sites)
• E-Commerce
• News Groups
• Internet Telephony (VoIP)
• Video Conferencing
• Chat Groups
• Instant Messengers
• Internet Radio
Communication Satellites
Computer Networks
• Computer network
connects two or more
autonomous computers.
Applications of Networks
• Resource Sharing
• Hardware (computing resources, disks, printers)
• Software (application software)
• Information Sharing
• Easy accessibility from anywhere (files, databases)
• Search Capability (WWW)
• Communication
• Email
• Message broadcast
• Remote computing
• Distributed processing (GRID Computing)
Summary
• The basic purpose of networks is to
enable effective communication, share
resources, and facilitate centralized
management of data.
• Networks can be classified according to
their geographical boundaries or their
component roles.
Summary
• A network consists of two or more entities
sharing resources and information.
• A computer network consists of two or
more computers that are connected and
are able to communicate.