Beruflich Dokumente
Kultur Dokumente
Orientation
Jamali@iust.ac.ir Orientation 1 -1
Chapter 1: Orientation
Jamali@iust.ac.ir Orientation 1 -2
Why Networking !
Distributed Software
Application (will be discussed): WEB, email, 3-tier appl., …
Database
Directory
Resource Sharing
File, Software, Data, … (Network File System, File
Transfer, …)
CPU, Memory, Peripherals, …
Communication
Email, Chat, TV, Radio, Video Conference, Telephone, .
Virtual Terminal (Remote Login)
Jamali@iust.ac.ir Orientation 1 -3
Application Software
Application Software
Inter-process Communication
Jamali@iust.ac.ir Orientation 1 -4
Distributed Applications or Network Application:
Application System Client/Server
Jamali@iust.ac.ir Orientation 1 -5
Client/Server Applications
Jamali@iust.ac.ir Orientation 1 -6
Layered Application Model
Presentation
Client Part
User Interface
Application
Software Business (Application Logic)
Server Parts
Data (Database Access)
Jamali@iust.ac.ir Orientation 1 -7
Client Part
Jamali@iust.ac.ir Orientation 1 -8
Server Parts
Jamali@iust.ac.ir Orientation 1 -9
Layered Application:
3-Tier Client/Server Model
Runs by Application
Run by Client Agent Server Agent
Business
Presentation (Application Logic)
User Interface
Application Model
Logical Tiers
Presentation Client
• Presentation
• User Interface User Interface Workstation
• Business Business Application
• Data (Application Logic) Server
Data
Database
Physical Tiers (Database Access)
• Client workstation
• Application server
• Data Base
hub
modem Client
Servers
Client
Server
Client
Client Printer
modem
modem links
server modem
modem
Base Station
workstation
local ISP
mobile station
company
network
Examples?
Search Engines (Google)
Email (Hotmail)
Shopping (Amazon)
Auctions (eBay)
Chat (AOL)
Goals?
Fast service (low latency)
Service all users (scalability)
Always available (fault tolerance)
router
firewall
intranet
the Internet
Company 3
Company 1
Company 2
communication
infrastructure enables local ISP
regional ISP
modem
distributed applications:
Web, email, games, modem
e-commerce, database.,
file (MP3) sharing
communication services
provided to apps:
connectionless company
connection-oriented network
applications and
hosts modem
network core:
routers
access networks,
physical media:
company
communication links network
Client Side
Software
Application Software
modem
1. Client-Server
Client Side Software modem
Peer Side
Server Side Software
2. Peer-to-Peer ! (chapter 2)
Server Side
Peer Side Software
Web server
File Server (example: Network File System)
Database Server
Application Server
Groupware Server
Software Server
Object Server
Proxy Server
DNS Server
mesh of interconnected
local ISP
routers modem
regional ISP
the fundamental
question: how is data modem
capacity
dedicated resources:
no sharing
circuit-like
(guaranteed)
performance company
network
call setup required
10 Mbs
Ethernet statistical multiplexing C
A
1.5 Mbs
empty
B buffer
queue of packets
waiting for output
link
D E
User: 1
Switch
1 Mbps link
User: N
Each user:
sends 100 kbps when “active”
is active p=10% of time
simpler
no call setup
Excessive congestion:
packet delay and loss
L
R R R
Telecommunication
networks
Circuit-switched Packet-switched
networks networks
Networks Datagram
FDM TDM
with VCs Networks
networks (school,
company)
mobile access networks
Keep in mind:
bandwidth (bits per
second) of access company
network? network
shared or dedicated?
Diagram: http://www.cabledatacomnews.com/cmic/diagram.html
cable headend
home
cable distribution
network (simplified)
cable headend
home
cable distribution
network (simplified)
server(s)
cable headend
home
cable distribution
network
FDM:
C
O
V V V V V V N
I I I I I I D D T
D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channels
cable headend
home
cable distribution
network
Ethernet:
shared or dedicated link modem
wireless
to/from laptops
Internet
Delay
Latency for propagating data along the link
Corresponds to the “length” of the link
Typically measured in seconds
Bandwidth (Capacity)
Amount of data sent (or received) per unit time
Corresponds to the “capacity” of the link
Typically measured in bits per second
Delay
(sec)
Jamali@iust.ac.ir Orientation 1-60
Chapter 1 Outline
4
3
NAPs
▪▪▪
▪▪▪ NAPs
Tier--2 ISPs
Tier
Jamali@iust.ac.ir Orientation 1-65
Tier Definition-
Definition-Tier 2, 3
Tier-1
Tier-
ISP To Tier-1 ISP
▪▪▪
NAPs
▪▪▪▪
Tier-2
Tier-
Tier-2
Tier-
Access ISP
ISP
ISP
Servers modem
ISP
RAS modem
Clients +
Modem Pool
Jamali@iust.ac.ir Orientation 1-67
Tier--1 ISP: e.g., UUNET
Tier
roughly hierarchical
at center: “tier-1” ISPs (e.g., UUNet, BBN/Genuity,
Sprint, AT&T), national/international coverage
treat each other as equals
Tier-1 providers
also interconnect
Tier-1 at public network
providers
Tier 1 ISP
NAP access points
interconnect (NAPs)
(peer)
privately
Tier 1 ISP Tier 1 ISP
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Local and tier- Tier-2 ISP Internet
Tier-2 ISP
3 ISPs are Connection
customers of Tier 1 ISP Providers (ICPs)
higher tier NAP For local ISPs
ISPs
connecting
them to rest
Tier 1 ISP Tier 1 ISP Tier-2 ISP
of Internet
local
Tier-2 ISP Tier-2 ISP
ISP
local local local
ISP ISP ISP
Access
ISP Tier 3 Access
Access Access
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Tier 1 ISP
NAP
B
packets queue (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
transmission
A propagation
B
nodal
processing queue
B
nodal
processing queue
bit length: s/R [m]
packet length: Ls/R [m]
Jamali@iust.ac.ir Orientation 1-76
Caravan analogy
10 3 2 1
car=bit
caravan = packet
cars speed (km/hr) = propagation speed (m/sec)
service rate at toll booth (car/sec) = bandwidth
(bit/sec)
10 3 2 1
4km
10 9 8 7 3 2
1
Q: Will cars arrive to 2nd booth before all cars serviced at 1st
booth?
After (1+6) min, 1st car at 2nd booth and 3 cars still at 1st
booth.
1st bit of packet can arrive at 2nd router before packet is
fully transmitted at 1st router!
Jamali@iust.ac.ir Orientation 1-79
Bit Length
bit length = s/R
Packet length = Ls/R
s = propagation speed of energy in the link (medium)
[m/sec]
R = link bandwidth [bps]
L = number of bits in packet [bits]
Example : s= 200m/µs;
R=10Mbps [Tbit =0.1 µs];
L= 500 Byte = 2000 bit
20m
2000
1999
Propagation direction
1
2
4
3
source destination
20×2000 m
link
3 probes
3 probes
Jamali@iust.ac.ir Orientation 1-83
“Real” Internet delays and routes
Control and
Or at least our discussion
Management Software, of networks?
Communication,
Hardware.
application
presentation application application
Session
Transport Layer
transport Protocol (TCP, UDP) transport
[seg/sec]
Datagram
network [Packet/sec] network
Frame
link [frame/sec] link
1st layer PDU
physical (physical frame)
[bps]
physical
[Baud], [Hz]
Physical Communication Channel
Jamali@iust.ac.ir Orientation 1-98
Network Bandwidth
Bandwidth,, Throughput and Goodput
Throughput
Goodput
Goodput:
( recieved packets - recieved replica) × payload length per packet [bit]
Goodput [b / s ] =
recieving time duration [sec]
Efficiency:
goodput [bps]
Efficiency = × 100
optimum goodput [bps]
Optimum goodput = goodput in condition of :
no - loss packet, no - corupted packet, and no - congestion link.
Application Program
Services
application
End-to-End
protocols
transport
network
Data Transport
Services Hop-to-Hop
link protocols
physical
data
application
transport
network Host A
Router R
link
physical network
modem
link
physical
application
transport Host B
network
link modem data
physical
application
application
transport
transport
network
network
link
link
physical
physical
Jamali@iust.ac.ir Orientation 1-104
Layering: Logical Communication-
Communication-1
application
Each layer: transport
distributed network
link
“entities” physical network
implement
modem
link
layer functions physical
actions, physical
application
application
exchange transport
transport
messages with network
network
link
peers link
physical
physical
data
application
E.g.: transport transport
transport
take data from app network
add addressing,
link
physical network
reliability check modem
RFC Numbers
Introduction Year
Complimentary Hyperlinks
This part provides hyperlinks to interesting
(and hopefully useful) computer-networking
resources. Most of these resources provide
complimentary information to the material in
chapter 1. If you're asked to write a paper
pertaining to a specialized topic in computer
networking, these resources should serve as a
good starting point for your research.
Webopedia http://www.pcwebopaedia.com/
Online dictionary for computer and Internet technology
Internet Economics
http://china.si.umich.edu/telecom/net-
economics.html
Comprehensive index for resources relating to Internet
economics, including regulation and pricing.
traceroute.org http://www.traceroute.org/
As discussed in Section 1.6, Traceroute provides routes and packet
delays between pairs of hosts in the Internet. This site gives you direct
access to hundreds of source hosts from which you can trace routes to
arbitrary destination hosts. Choose a country, a source host in that
country, and any destination host -- then see how the packets weave
their way through the Internet.
Cable-modems.org http://www.cable-modems.org/
This site has many tutorials on cable modems, hybrid fiber-coax, and
related topics. Also includes reviews of cable modem products.