Documente Academic
Documente Profesional
Documente Cultură
Computer networks are build primarily from general-purpose hardware (not optimized for particular applications like phone call, data traffic or videos conversation)
Generality
26-Jul-13
BEE-8B
Applications
Networks are known by application they carry
(wrold wide web, email, streaming audio, chat and music file sharing)
Network provider list the characteristics of a system that is easy to administer and manage
(Easy fault detection and accounting of usage)
26-Jul-13 BEE-8B 3
Requirements
Connectivity
limited machines, corporate networks, internet (scalability) Links , Nodes and Clouds Network : pair of nodes (P2P) , multiple access, indirect connection (switched network : circuit switched packet switched) Packet Switched : store and forward Circuit Switched: establishes the dedicated circuit across a sequence of links
After providing connectivity between host to host, is that enough for network designer ? address
26-Jul-13 BEE-8B 4
Connectivity type
Unicast BroadCast MultiCast
26-Jul-13 BEE-8B 5
26-Jul-13
BEE-8B
Computer Networks
Computer networks are build primarily from general-purpose hardware (not optimized for particular applications like phone call, data traffic or videos conversation)
Generality
26-Jul-13
BEE-8B
Applications
Networks are known by application they carry
(wrold wide web, email, streaming audio, chat and music file sharing)
Network provider list the characteristics of a system that is easy to administer and manage
(Easy fault detection and accounting of usage)
26-Jul-13 BEE-8B 10
Requirements
Connectivity
limited machines, corporate networks, internet (scalability) Links , Nodes and Clouds Network : pair of nodes (P2P) , multiple access, indirect connection (switched network : circuit switched packet switched) Packet Switched : store and forward Circuit Switched: establishes the dedicated circuit across a sequence of links
After providing connectivity between host to host, is that enough for network designer ? address
26-Jul-13 BEE-8B 11
Connectivity type
Unicast BroadCast MultiCast
26-Jul-13 BEE-8B 12
Statistical Multiplexing
queue
switch
Each flow is broken into packets and sent to a switch, which can deal with the arriving packets according to a policy (FIFO, round-robin, etc).
26-Jul-13 BEE-8B 14
Analytical Framework
l1 m
l2
Network Architecture
Application programs Process-to-process channels Host-to-host connectivity Hardw are
How is a layered architecture helpful in the design of networks that meet the goals we stated?
26-Jul-13 BEE-8B 16
Host B Layer n
peer interface
Layer n
service interface
Layer n-1
26-Jul-13
BEE-8B
17
Protocol Graph
Host 1 Digital library application Host 2 File application Video application File application
Video application
18
ISO: International Standards Organization OSI: Open Systems Interconnection Application The protocol stack:
The idea behind the model: Break up the design to make implementation simpler. Each layer has a well-defined function. Layers pass to one another only the information that is relevant at each level. Communication happens only between adjacent layers.
Presentation Session
Transport
Network Data link Physical
26-Jul-13
BEE-8B
19
Network: Routing.
Transport: Break up data into chunks, send them down the protocol stack, receive chunks, put them in the right order, pass them up. Session: Establish connections between different users and different hosts. Presentation: Handle syntax and semantics of the info, such as encoding, encrypting.
Application: Protocols commonly needed by applications (cddb, http, ftp, telnet, etc).
26-Jul-13 BEE-8B 20
Layer n+1
SAP
SAP
Layer n
SAP
Layer n-1
26-Jul-13 BEE-8B 21
Encapsulation
sender
data
Application
Presentation Session Transport Network
AH
PH
SH TH NH DH
Data link
Physical
26-Jul-13
data
BITS
DT
BEE-8B
22
Presentation
Presentation
Session
Session
Transport
Transport
Network
Network
Network
Network
Data link
Data link
Data link
Data link
Phy sical
Phy sical
Phy sical
Phy sical
Peer-to-Peer Processes
Figure 2.2
Internet layers
26-Jul-13
BEE-8B
25
Figure 2.3
Peer-to-peer processes
26-Jul-13
BEE-8B
26
Figure 2.4
26-Jul-13
BEE-8B
27
Figure 2.5
Physical layer
26-Jul-13
BEE-8B
28
FTP
HTTP
DNS
NFS
TCP
UDP
Network
IP
ARP RARP
Reliability
Networks must deal with:
Physical damage to cables, Electromagnetic interference, Machine crashes and reboots, Memory limitations, Software bugs.
Classes of failure:
Bit errors (single bit or burst), Packet loss, Link and node failures.
Metrics:
Bit error rate, Packet loss ratio, End-to-end delay
Challenge: Fill in the gap between what applications expect of the medium and what underlying technologies can actually provide.
26-Jul-13 BEE-8B 30
Performance
throughput Bandwidth: number of bits transmitted over a
(b) 1
We can talk about bandwidth at the physical level, but we can also talk about logical process-to-process bandwidth. Delay
Latency: time taken for a message to travel from one end of the network to the other.
Again, we can consider a single-link or an end-to-end channel.
26-Jul-13
BEE-8B
31
terminology
Bandwidth
measure of link capability
(MHz or bps)
possible Throughput
measure of performance of the link
actual
26-Jul-13 BEE-8B 32
Latency
Latency Propagation Transmit Queue Propagation Distance / Speed of light
2.0 10 8 m / s in a fiber Speed of light 2.3 10 8 m / s in a cable 3.0 10 8 m / s in a vaccum
Amount of time to transmit a unit of data, function of n/w bandwidth and size of packet
Delay x Bandwidth
Delay Bandwidth
This product is analogous to the volume of a pipe or the number of bits it holds. It corresponds to how many bits the sender must transmit before the first bit arrives at the receiver. Delay may be thought of as one-way latency or round-trip time (RTT) depending on the context.
26-Jul-13
BEE-8B
34
Throughput
Throughput Transfer size / Transfer t ime
(effective end-to-end throughput)
26-Jul-13
BEE-8B
35
Jitter
Interpacket gap 4 3 2 1 4 3 2 1
Packet source
Network
Packet sink
Jitter is a variation (somewhat random) of the latency from packet to packet. Jitter is most often observed when packets traverse multiple hops from source to destination. Question: What is the cause of jitter?
26-Jul-13
BEE-8B
36
26-Jul-13
BEE-8B
37