You are on page 1of 102

Computer Communication

Networks

03/06/10 1
Introduction
• Communications – activity associated with
distributing or exchanging information
• Telecommunications – technology of
communications at a distance that permits
information to be created any where and used
everywhere with little delay
• Today it, involves
—Data: digital and analog (how analog data is
transmitted?)
—Voice: spoken word, music..
—Video: telelcommunication imaging

03/06/10 2
Communication Services &
Applications
• A communication service enables the exchange of
information between users at different locations.
• Communication services & applications are
everywhere.

E-mail

E-mail
server Exchange of text messages via servers

03/06/10 3
Communication Services &
Applications

Web Browsing

Web server

Retrieval of information from web servers

03/06/10 4
Communication Services &
Applications

Instant Messaging

Direct exchange of text messages

03/06/10 5
Communication Services &
Applications

Telephone

Real-time bidirectional voice exchange


03/06/10 6
Communication Services &
Applications

Cell phone

Real-time voice exchange with mobile users


03/06/10 7
Communication Services &
Applications

Short Message Service

Fast delivery of short text messages


03/06/10 8
Summarizing………

• Two or more than two computer


systems connected by means of a
communication medium like cables is
termed as a Network.
• Computer Network is a
communication system, which links
computers and their resources.

03/06/10 9
Why we need Networking?
• Sharing of data and resources
• Distributing computation
among nodes
• Remote I/O devices
• To share data/files access.
• Personal Communication (Chat,
E-mail, now VOIP)

03/06/10 10
BENEFITS OF A NETWORK

Following are the benefits of


networking. Information Sharing
• Printer Sharing
• Hard Disk Sharing
• Modem Sharing

03/06/10 11
• Hardware Sharing
• Software Sharing
• Service Access
• Easy Back-Up Management
• Security
• Centralized Administration and
Support
‘Networking’ helps to increase
the productivity
03/06/10 12
Many other examples!

• Peer-to-peer applications
—File exchange
—Searching for Extraterrestrial
Intelligence (SETI)
• Audio & video streaming
• Network games
• On-line purchasing
• Text messaging in PDAs, cell phones
(SMS)
• Voice-over-Internet
03/06/10 13
What is a communication
network?
Communication
Network

• The equipment (hardware & software) and facilities that provide the basic
communication service
• Virtually invisible to the user; Usually represented by a cloud

• Facilities
• Equipment
—Copper wires,
—Routers, servers, coaxial cables,
switches, optical fiber
multiplexers, hubs, —Ducts, conduits,
modems, … telephone poles …

How are communication networks designed and operated?


03/06/10 14
Communication Network
Architecture

• Network architecture: the plan that


specifies how the network is built and
operated
• Architecture is driven by the network
services
• Overall communication process is complex
• Network architecture partitions overall
communication process into separate
functional areas called layers

03/06/10 15
Networking: Why do we need
networks?
• Direct point-to-point communication is not
always possible/practical/efficient:
— Communicating entities can be too far apart for a single
link
— A large set of communicating entities (e.g. telephones)
would need impractically large number of connections

(full connectivity for N nodes needs N × (N – 1) / 2 links)


— Not all links would be needed all the time!
• Solution is
a communication network:
— Wide Area Network (WAN)
— Metropolitan Area Network (MAN)
— Local Area Network (LAN)
03/06/10 16
Network Architecture Evolution

1.0E+14
?
Information transfer

1.0E+12
per second

1.0E+10

1.0E+08

1.0E+06

1.0E+04

1.0E+02

1.0E+00
1850 1875 1900 1925 1950 1975 2000

Telegraph Telephone Internet, Optical Next


networks networks & Wireless Generation
networks Internet

03/06/10 17
Network Architecture Evolution

• Telegraph Networks
—Message switching & digital transmission
• Telephone Networks
—Circuit Switching
—Analog transmission → digital transmission
—Mobile communications
• Internet
—Packet switching & computer applications
• Next-Generation Internet
—Multiservice packet switching network

03/06/10 18
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

03/06/10 19
Communications Tasks

Transmission system Addressing


utilization
Interfacing Routing

Signal generation Recovery

Synchronization Message formatting

Exchange management Security

Error detection and Network management


correction
Flow control

03/06/10 20
Simplified Communications
Model - Diagram

03/06/10 21
Data Communication System Components

03/06/10 22
Network Transmission Medium
 Open air
 radio, microwaves, satellites, infrared

 noise signals, collision

 Optical fiber
 clear signals, low power and high rate (Gbps)

 Copper wire
 Lower cost interfaces

 Bi-directional

03/06/10 23
What’s a protocol?
human protocols: network protocols:
• “what’s the time?” • machines rather than
humans
• “I have a question”
• all communication
• introductions activity in Internet
governed by protocols
… specific msgs sent
… specific actions protocols define format,
taken when msgs order of msgs sent and
received, or other received among network
events entities, and actions
taken on msg
transmission, receipt
03/06/10 24
What’s a protocol?
a human protocol and a computer network protocol:

Hi TCP connection
req
Hi
TCP connection
Got the response
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time

03/06/10 25
Key Elements of a Protocol
• Syntax
—Data formats
—Signal levels
• Semantics
—Control information
—Error handling
• Timing
—Speed matching
—Sequencing

03/06/10 26
Basic Concepts
• Line Configuration
• Topology
• Transmission Mode
• Categories of Networks
• Internetworks

03/06/10 27
03/06/10 28
Point-to-Point Line Configuration

03/06/10 29
Point-to-Point Line Configuration

03/06/10 30
Point-to-Point Line Configuration

03/06/10 31
Multipoint Line Configuration

03/06/10 32
Networking
• Point to point communication not
usually practical
—Devices are too far apart
—Large set of devices would need
impractical number of connections
• Solution is a communications network
—Wide Area Network (WAN)
—Local Area Network (LAN)

03/06/10 33
03/06/10 34
Mesh Network Topology
• Type I - Nodes are arranged in grids
—each node can talk to its neighbors directly
—non-neighbor nodes needs store-and-forward
for communication

03/06/10 35
Type II - Mesh Topology

03/06/10 36
Star Network Topology
 One node at the center acts as the master node
 Other nodes linked to the master function as slaves
 slaves communicate via master

 easy to arbitrate among slaves (master decides)

 not scalable (the master is the bottleneck)

 normally for small networks or that requires

predictable performance
slave
 master failure shutdowns the whole net
Master
 Example: Ethernet, DSL slave

slave

slave slave

03/06/10 37
Star Topology

03/06/10 38
Tree Topology

03/06/10 39
Bus Network Topology
 Every node taps into a common medium
 Signals may collide with each other
 need to arbitrate who will get the bus

 capable of broadcasting message (one send & many listen)

 the common medium is the bottleneck


single node failure causes no network failure

the medium failure brings down the network
 Example: (10BASE2, 10BASE5) Ethernet

common medium

03/06/10 40
Bus Topology

03/06/10 41
Ring Network Topology
• Nodes are arranged in a ring
• One node receives from its predecessor & sends
to its successor
• arbitrate who can access the ring
• messages forwarded by each node
• sender deletes its messages from the ring
• the common ring is the single point of failure (complicated
connectors needed)

03/06/10 42
Ring Topology

03/06/10 43
Hybrid Network Topology
• No restrictions on how to link the nodes
• Topology can adapt to individual organization
needs

slave
Master
slave
slave

slave slave

03/06/10 44
Hybrid Topology

03/06/10 45
03/06/10 46
Simplex

03/06/10 47
Half-Duplex

03/06/10 48
Full-Duplex

03/06/10 49
03/06/10 50
Network Classification
• Classification of interconnected
processors by scale.

03/06/10 51
Network Types by Scope
 WAN - wide area network
 cross large span of space (continental)

 typically heterogeneous and low speed

 example: Internet

 MAN - metro-area network


 regional scope (city-wide)

 LAN - local area network


 limited scope (a couple of buildings)

 typically homogeneous & high speed

 example: Ethernet & Token ring

03/06/10 52
Local Area Networks

• Local area networks (LANs) are


privately-owned networks within a
single building or campus of up to a
few kilometers in size.
• LANs are distinguished by three
characteristics:
— (Restricted in) Size
— Transmission technology: 10 Mbps to 10
Gbps (1 Mbps = 1,000,000 bits/sec, 1
Gbps = 1,000,000,000 bits/sec).
— Topology: bus and ring

03/06/10 53
Local Area Networks

• Two broadcast networks


• (a) Bus: Ethernet – IEEE 802.3
• (b) Ring: IEEE 802.5, FDDI

03/06/10 54
Local Area Network

03/06/10 55
Local Area Network

03/06/10 56
LAN Configurations
• Switched
—Switched Ethernet
• May be single or multiple switches
—ATM LAN
—Fibre Channel
• Wireless
—Mobility
—Ease of installation

03/06/10 57
Metropolitan Area Networks
• A metropolitan Area Networks (MAN)
is a network that interconnects users
with computer resources in a
geographic area or region such as a
city.
• Deployment
— Cable television
— Wireless: IEEE 802.16

03/06/10 58
Metropolitan Area Networks

• MAN
• Middle ground between LAN and
WAN
• Private or public network
• High speed data transmission
• Large area coverage

03/06/10 59
Metropolitan Area Networks
• A metropolitan area network based on
cable TV.

03/06/10 60
Metropolitan Area Network

03/06/10 61
Wide Area Networks
• A wide area network (WAN) spans a
large geographical area, often a country
and continent.
• It contains a collection of machines
(hosts).
• The hosts are connected by a
communication subnet.
• The subnet consists of two components:
— Transmission lines
— Switching elements: router
03/06/10 62
Wide Area Networks
• Relation between hosts on LANs and the
subnet.

03/06/10 63
Wide Area Networks
• Large geographical area
• Crossing public rights of way
• Rely in part on common carrier circuits
• Alternative technologies
—Circuit switching
—Packet switching
—Frame relay
—Asynchronous Transfer Mode (ATM)

03/06/10 64
Wide Area Network

03/06/10 65
Internetworks
• Different networks are connected by
means of machines called gateways.
• A collection of interconnected networks
is called an internetwork or internet.
• A common form of internet is a
collection of LANs connected by a WAN.

03/06/10 66
Internetwork
(Internet)

03/06/10 67
Networking
Configuration

03/06/10 68
What’s the Internet: “nuts and bolts”
view
• millions of connected
router
computing devices: hosts, workstation
end-systems server
— PCs workstations, servers mobile
— PDAs phones, toasters local ISP
running network apps
• communication links
— fiber, copper, radio, satellite
regional ISP
— transmission rate bandwidth
• routers: forward packets
(chunks of data)

company
network
03/06/10 69
“Cool” internet appliances

IP picture frame
http://www.ceiva.com/

Web-enabled toaster + weather


forecaster
World’s smallest web server
http://www-ccs.cs.umass.edu/~shri/iPic.html
03/06/10 70
What’s the Internet: “nuts and bolts”
view
• protocols control sending, router
workstation
receiving of msgs
— e.g., TCP, IP, HTTP, FTP, PPP server
mobile
• Internet: “network of local ISP
networks”
— loosely hierarchical
— public Internet versus private
intranet regional ISP
• Internet standards
— RFC: Request for comments
— IETF: Internet Engineering Task
Force

company
network
03/06/10 71
What’s the Internet: a service view
• communication
infrastructure enables
distributed applications:
— Web, email, games, e-
commerce, database.,
voting, file (MP3) sharing
• communication services
provided to apps:
— connectionless
— connection-oriented

 cyberspace [Gibson]:
“a consensual hallucination experienced daily by
billions of operators, in every nation, ...."
03/06/10 72
Frame Relay
• Packet switching systems have large
overheads to compensate for errors
• Modern systems are more reliable

• Errors can be caught in end system


• Most overhead for error control is stripped
out

03/06/10 73
Asynchronous Transfer Mode
• ATM
• Evolution of frame relay
• Little overhead for error control
• Fixed packet (called cell) length
• Anything from 10Mbps to Gbps
• Constant data rate using packet switching
technique

03/06/10 74
Wireless Communication
• Wireless communication is not a
new idea.
—Native American smoke signal
—Chinese Beacon fire
—Wireless telegraph using Morse Code

• Modern digital wireless systems


have better performance, but the
basic idea is the same.

03/06/10 75
Wireless Networks
• Categories of wireless networks:
—System interconnection
—Wireless LANs
—Wireless WANs

03/06/10 76
System Interconnection

• System interconnection is all about


interconnecting the components of a
computer using short-range radio.
• Some companies got together to design a
short-range wireless network called
Bluetooth to these components.
• Bluetooth allows digital cameras, headsets,
scanners, and other devices to connect to a
computer is a short range.

03/06/10 77
Bluetooth Standard
• The Bluetooth document is adopted by
IEEE (Institute of Electrical and Electronics
Engineers) 802.15 as a basis for wireless
personal area networks.
—Work at 2.4 GHz
—Transfer up to 2 Mbps
—10 meters range

03/06/10 78
Wireless Networks
• (a) Bluetooth configuration
• (b) Wireless LAN

03/06/10 79
Wireless LANS
• The wireless local area networks (LANs)
are systems in which every computer has
a radio modem and antenna with which it
can communicate with other systems.
• Wireless LANs are common in small offices
and homes.
• There is a standard for wireless LANs,
called IEEE 802.11.

03/06/10 80
Wireless WANS
• The wireless wide area networks (WANs) are
systems used in the wide area.
• The radio network used for cellular
telephones is an example of a low-
bandwidth (low transfer rate) wireless
system.
—First generation: analog for voice
—Second generation: digital for voice
—Third generation: digital for voice and
data
03/06/10 81
Wireless WANS
• High-bandwidth wide area wireless
networks are also being developed.
• A standard for metropolitan area networks
(MANs), called IEEE 802.16, has also
been developed.
—Work at 10-to-66 GHz
—Transfer up to 155 Mbps
—30 miles range

03/06/10 82
Wireless Networks
• (a) Individual mobile computers
• (b) A flying LAN

03/06/10 83
Wireless WANS
• High-bandwidth wide area wireless
networks are also being developed.
• A standard for it, called IEEE 802.16, has
also been developed.
—Work at 10-to-66 GHz
—Transfer up to 155 Mbps
—30 miles range

03/06/10 84
Home Network Categories
• Computers (desktop PC, PDA, shared
peripherals)
• Entertainment (TV, DVD, VCR, camera,
stereo, MP3)
• Telecomm (telephone, cell phone,
intercom, fax)
• Appliances (microwave, fridge, clock,
furnace, airco)
• Telemetry (utility meter, burglar alarm,
babycam).
03/06/10 85
Home Network Properties

• The network and devices have to be easy to install.


• The network and devices have to be foolproof in operation.
• Low price is essential for success.
• The main application is likely to involve multimedia.
• It must be possible to start out with one or two devices and
expand the reach of the network gradually.
• Security and reliability will be very important.

03/06/10 86
A closer look at network
structure:
• network edge: applications
and hosts
• network core:
—routers
—network of networks
• access networks, physical
media: communication links

03/06/10 87
Circuit Switching
• Dedicated communications path
established for the duration of the
conversation
• e.g. telephone network

03/06/10 88
Packet Switching
• Data sent out of sequence
• Small chunks (packets) of data at a time
• Packets passed from node to node
between source and destination
• Used for terminal to computer and
computer to computer communications

03/06/10 89
Data Communication
Frameworks
• Two major data communication
frameworks have been developed to help
ensure that networks meet business and
communication requirements:
—Open Systems Interconnection (OSI) reference
model developed by the International
Standards Organization (ISO)
—Transmission Control Protocol/Internet Protocol
(TCP/IP) suite

03/06/10 90
Transmission Speeds

M
ediu
m S
peed C
ost
Tw istedW ire 300bps-10M bps Low
M icrow ave 256Kbps-100M bps
Satellite 256Kbps-100M bps
CoaxialC able 56Kbps-200M bps
Fiber-O pticC able 500Kbps-10G
bps High

03/06/10 91
03/06/10 92
Important Standard-Setting
Organizations

03/06/10 93
03/06/10 94
Online System Requirements
• Response Time
• Throughput
• Consistency
• Flexibility

03/06/10 95
Online Systems Requirements
Continued
• Availability
• Reliability
—Mean time between failure (MTBF)
—Mean time to repair (MTTR)
—Fault Tolerance
• Recovery
• Security

03/06/10 96
Business Data Communication
Applications
• Major data communication applications
include:
—E-mail
—Groupware
—Knowledge management systems
—E-commerce and e-business applications
—Wireless applications

03/06/10 97
Groupware Applications
• Group calendar • Electronic meeting
systems and
• Electronic filing videoconferencing
cabinets systems
• Project • Document
management management
software systems (image
• Group support processing
systems)
systems

03/06/10 98
Other Data Communication
Applications
• Batch applications • Interactive
• Data entry applications
applications • Sensor-based
• Distributed applications
applications • Combined
• Inquiry/response applications
applications

03/06/10 99
Application Service Providers
• Many businesses have turned to third-
party services for some or all of their
business and data communications
applications
• Application service providers (ASPs) are
third-party organizations that manage and
distribute software and services to other
companies over the Web
• Many ASPs specialize in integrated e-
commerce and e-business applications

03/06/10 100
Business Data Communications
Issues
• Major data communications issues
include:
—Cost-effectiveness
—The Internet
—Bandwidth
—Evolving technologies
—Convergence
—Standards
—Privacy and security

03/06/10 101
Services versus Throughput Rates

03/06/10 102

You might also like