Data Comn and Computer NW
Data Comn and Computer NW
COMPUTER NETWORKS
INTRODUCTION
Data Comn
• Data comn are the exchange of data b/w two devices
via some form of txn medium such as wire cable.
• These comn devices must be part of a comn sys
(combination of HW & SW)
• Effectiveness of data comn depends upon
– Delivery
– Accuracy
– Timeliness
– Jitter
2
A Communication Model
• Source
– Generates data to be transmitted
• Transmitter
– Converts data into transmittable signals
• Transmission System
– Carries data
• Receiver
– Converts received signal into data
• Destination
– Takes incoming data
3
Communication Model Diagram
4
Components
• Message
• Sender
• Receiver
• Txn Media
• Protocol
5
Components
6
Data Flow
• Simplex
• Half - Duplex
• Full - Duplex
7
Data Flow (Transmission)
8
NETWORKS
Company Logo
9
Networks
• A network is a set of devices(referred as
nodes) connected by comn ch.
• Node can be any device capable of sending/
receiving data generated by other nodes on
the network.
10
What is a Distributed System?
• Distributed System is a collection of
independent computers that appear to its
users as a single coherent system
– Existence of multiple autonomous computers is
transparent
– It is like a virtual uniprocessor
– Implemented in SW and build over computer
networks
11
Network Criteria
• Performance
– Throughput (High)
– Delay (Low)
• Reliability
• Security
12
Networking Reqmt
• Info Exchange
• Resource Sharing
• Robustness
• Load Balancing
• Location Independence
• Productivity
13
Classification of Networks
• Based on transmission technology
– Broadcast networks
– Pt-to-Pt networks
– Topology based
• Based on scale
– Personal Area Networks (PAN)
– Local Area Networks (LAN)
– Metropolitan Area Networks (MAN)
– Wide Area Networks (WAN)
14
Broadcast Networks
• Single comn channel shared by all cmptrs
• Packets send by one cmptr received by all others.
• Address in packet- specifies for whom intended.
• Packet can also be addressed to all cmptrs (broadcast)
or a gp of cmptrs(Multicasting)
• Smaller networks – broadcast
• Eg – Ethernet(802.3),IBM Token Ring(802.5)
15
Point To Point Networks
• Many connections between indl pairs of cmptrs.
• Packets visit one or more intermediate machines.
• Multiple routes .
• Routing algorithm – To determine the best route
• Also called as unicasting
• Larger networks – pt to pt
• Eg. WAN
16
Classification of Networks Based on
Geographical Area
• LAN
• WAN
• MAN
17
Classification of Networks Based on Geographical Area
18
LOCAL AREA NETWORK
Bus
Star
Hybrid
Mesh
21
Characteristics of LAN
• Operates within the limited geographical area.
• Allow access through high bandwidth up to 1000
mbps.
• Controls the network under local administration
• Provides the full time connectivity to local system.
• Connects physical adjacent devices.
22
Metropolitan Area Networks(MAN)
• Bigger version of LAN.
• Uses similar technology as LAN.
• Can cover a city.
• Eg- Wi-Max(802.16,Wireless MAN)
23
WIDE AREA NETWORK
• While local area networks are perfect for sharing resources
within a building or campus, they cannot be used to connect
distant sites.
• Wide area networks (WANs) fill this need. Stated simply, wide
area networks are the set of connecting links between local
area networks.
• These links are made over telephone lines leased from the
various telephone companies. In rare instances, WANs can be
created with satellite links, packet radio, or microwave
transceivers.
• These options are generally far more expensive than leased
telephone lines, but they can operate in areas where leased
lines are not available. 24
WIDE AREA NETWORK
A wide area network links computers in different
locations.
ARMY HQ
New Delhi
MCEME
25
Secunderabad
CHARACTERISTICS OF WAN
• Operates over a large geographical area.
26
Wide Area Networks(WAN)
• Spans larger geographical area.
• Collection of cmptrs (hosts) connected by a comn
subnet
• Subnet consists of :-
Transmission lines.
Switching elements (or routers).
• Packet sent from router to router. (Store and fwd /
packet switching)
• Gen Pt to Pt Topologies
27
Topology
• The way in which the connections are made of the
physical devices is called the topology of the network.
• Network topology specifically refers to the physical
layout of the network, especially the locations of the
computers and how the cable is run between them.
• It is important to select the right topology for how the
network will be used.
• Each topology has its own strengths and weaknesses.
28
Topology
• Bus
• Star
• Mesh
• Ring
• Hierarchical
– To reduce complexity of NW
Tiered Architecture
– Better comd & contrl
– Better mgmt
29
Bus Topology
34
Star Topology
• In a star topology, all the cables run from the computers
to a central location, where they are all connected by a
device called a hub.
• Each computer on a star network communicates with a
central hub that resends the message either to all the
computers (in a broadcast star network) or only to the
destination computer (in a switched star network). The
hub in a broadcast star network can be active or passive.
• An active hub regenerates the electrical signal and sends
it to all the computers connected to it. This type of hub
is often called a multiport repeater. Active hubs and
switches require electrical power to run. 35
Star Topology
• A passive hub, such as wiring panels or
punch-down blocks, merely acts as a
connection point and does not amplify or
regenerate the signal.
• Passive hubs do not require electrical power
to run.
• You can use several types of cable to
implement a star network. A hybrid hub can
accommodate several types of cable in the
same star network. 36
Hybrid Star Topology
• You can expand a star
network by placing
another star hub
where a computer
might otherwise go,
allowing several
more computers or
hubs to be connected
to that hub. This
creates a hybrid star
network, like the one
shown in Fig
37
Star Topology : Advantages
• It is easy to modify and add new computers to a
star network without disturbing the rest of the
network. You simply run a new line from the
computer to the central location and plug it into
the hub. When the capacity of the central hub is
exceeded, you can replace it with one that has a
larger number of ports to plug lines into.
• You can use several cable types in the same
network with a hub that can accommodate
multiple cable types.
38
Star Topology : Advantages
• The center of a star network is a good place to
diagnose network faults.
• Intelligent hubs (hubs with microprocessors that
implement features in addition to repeating
network signals) also provide for centralized
monitoring and management of the network.
• Single computer failures do not necessarily bring
down the whole star network. The hub can detect
a network fault and isolate the offending computer
or network cable and allow the rest of the network
to continue operating. 39
Star Topology : Disadvantages
• If the central hub fails, the whole network
fails to operate.
• Many star networks require a device at the
central point to rebroadcast or switch
network traffic.
• It costs more to cable a star network because
all network cables must be pulled to one
central point, requiring more cable than
other networking topologies.
40
Ring Topology
41
Ring Topology
• In a ring topology, each computer is
connected to the next computer, with the last
one connected to the first.
• Rings are used in high-performance
networks, networks requiring that bandwidth
be reserved for time-sensitive features such
as video and audio, or when even
performance is needed when a large number
of clients access the network.
42
Ring Topology : Advantages
• Because every computer is given equal access
to the token, no one computer can
monopolize the network.
• The fair sharing of the network allows the
network to degrade gracefully (continue to
function in a useful, if slower, manner rather
than fail once capacity is exceeded) as more
users are added.
43
Ring Topology : Disadvantages
• Failure of one computer on the ring can
affect the whole network.
• It is difficult to troubleshoot a ring network.
• Adding or removing computers disrupts the
network.
44
Mesh Topology
45
Tree Topology
46
Hybrid Topology
47