03 Introduction
03 Introduction
Introduction
2
Network Criteria
◼ Performance
◼ Depends on Network Elements
◼ Measured in terms of Delay and Throughput
◼ Reliability
◼ Failure rate of network components
◼ Measured in terms of availability/robustness
◼ Security
◼ Data protection against corruption/loss of data due to:
◼ Errors
◼ Malicious users
Types of Networks
◼ Local Area Network (LAN)
◼ Links the nodes in a single office, building or
campus (usually less than 1 km)
◼ Wide Area Network (WAN)
◼ Links the nodes in states, countries or in the
whole world (world wide)
◼ Metropolitan Area Network (MAN)
◼ Between LAN and WAN
◼ Links the nodes in a town or city (tens of kms)
◼ HAN, PAN, SAN
4
LAN
5
A heterogeneous network made of four WANs and two LANs
Chapter 1
Applications
◼ Internet Vs internet
◼ Most people know about the Internet (a network
of networks) through applications
◼ World Wide Web
◼ Email
◼ Online Social Network
◼ Streaming Audio Video
◼ File Sharing
◼ Instant Messaging
◼ …
7
Chapter 1
Perspective
◼ For network user
◼ Connectivity: for services required; error free
delivery within acceptable time limits
◼ For network designer
◼ Efficiency: cost-effective design, fair allocation
and efficient use of resources
◼ For network operator
◼ Maintenance: easy to administer, fault
localization & isolation, usage accounting
8 8
Network Overview
◼ What must a network provide ?
◼ Scalable Connectivity
◼ Cost-effective resource sharing
◼ Performance
◼ How are networks designed and built ?
◼ Layering
◼ Protocols
9
Connectivity: Building Blocks
◼ Nodes: PC, special-purpose hardware…
◼ Hosts
◼ Switches
◼ Multiple access …
10
Why not connect each node
with every other node ?
◼ Number of computers that can be
connected becomes very limited
◼ Number of wires coming out of each
node becomes unmanageable
◼ Amount of physical hardware/devices
required becomes very expensive
◼ Solution: indirect connectivity using
intermediate data forwarding nodes
11
Switched Networks
◼ Rectangular nodes
(switches)
implement the
network
◼ Squared nodes (hosts)
use the network
12
Switched Networks
• A network can be defined recursively as...
13
What next ?
◼ Hosts are directly or indirectly connected to
each other does not mean that we have
succeeded in providing host-to-host (H-H)
connectivity
15
MAC Address
16
Switching Strategies
◼ Circuit switching: • Packet switching:
carry bit streams store-and-forward
a. establishes a messages
dedicated circuit a. operates on discrete
b. links reserved for use blocks of data
by communication b. utilizes resources
channel dynamically according
c. send/receive bit to traffic demand
stream at constant c. send/receive
rate messages at variable
d. example: original rate
telephone network d. example: Internet
17
Circuit Switching
18
Packet switching
19
MULTIPLEXING
6.20
Cost effective resource sharing
(Multiplexing)
◼ Physical links/switches must be shared among
users (simultaneous transmission of multiple signals)
◼ Time-Division Multiplexing (TDM)
◼ Frequency-Division Multiplexing (FDM)
S1 Multiple flows R1
on a single link
S2 R2
Switch 1 Switch 2
S3 R3
Do you see any problem with TDM / FDM ?
21
Frequency-division multiplexing
4kHz
4kHz
4kHz
6.22
Time-division multiplexing
6.23
Statistical Multiplexing
◼ On-demand time-division
◼ Schedule link on a per-packet basis
◼ Buffer packets in switches that are contending for
the link
24
Statistical Multiplexing
◼ An application needs to break-up its message in
packets, and re-assemble at the receiver
◼ Fair allocation of link capacity: FIFO, round-robin or
QoS
◼ If congestion occurs at a switch - buffer may
overflow, packets may be lost
25
What’s the Internet: “nuts and bolts” view
PC
▪ billions of connected mobile network
server computing devices:
wireless
laptop
• hosts = end systems global ISP
Web-enabled toaster +
weather forecaster
IP picture frame
http://www.ceiva.com/
Tweet-a-watt:
Slingbox: watch, monitor energy use
control cable TV remotely
sensorized,
bed
mattress
Internet
refrigerator Internet phones
Introduction 1-27
“Fun” Internet-connected devices
Tweet-a-watt:
monitor energy use
bikes
Gaming devices
Others?
Internet phones diapers
Introduction: 1-28