CCN Introduction
CCN Introduction
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
server Exchange of text messages via servers
03/06/10 3
Communication Services &
Applications
Web Browsing
Web server
03/06/10 4
Communication Services &
Applications
Instant Messaging
03/06/10 5
Communication Services &
Applications
Telephone
Cell phone
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
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 …
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
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
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
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
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
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
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)
example: Internet
03/06/10 52
Local Area Networks
03/06/10 53
Local Area Networks
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/
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
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
03/06/10 75
Wireless Networks
• Categories of wireless networks:
—System interconnection
—Wireless LANs
—Wireless WANs
03/06/10 76
System Interconnection
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
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