IAP-Week#1
IAP-Week#1
What is a Network?
What is a Network?
1
2/6/2023
12
2
2/6/2023
Networks Support the way we live The Internet: a “nuts and bolts” view
Billions of connected mobile network
computing devices: national or global ISP
hosts = end systems
running network apps at
Internet’s “edge”
Amazon Echo
protocols are everywhere Skype
IP
Streaming
video
Web-enabled toaster +
IP picture frame
weather forecaster
• control sending, receiving of
Internet
messages local or
regional ISP
refrigerator • e.g., HTTP (Web), streaming video,
Slingbox: remote cars Skype, TCP, IP, WiFi, 4G, Ethernet home network content
control cable TV provider
Security Camera HTTP network datacenter
AR devices Internet standards network
Gaming devices
Others? Force
enterprise
network
Internet phones Fitbit WiFi
3
2/6/2023
enterprise
Q: other human protocols? network
interconnected routers
enterprise
network network of networks enterprise
network
Channels
enterprise
network frequency division multiplexing (FDM): different channels transmitted in
different frequency bands
4
2/6/2023
Access networks: cable-based access Access networks: digital subscriber line (DSL)
cable headend
central office telephone
… network
5
2/6/2023
enterprise
network
destination address in arriving
packet’s header
6
2/6/2023
forwarding
forwarding
routing
packet transmission delay: takes L/R seconds to One-hop numerical example: Queueing occurs when work arrives faster than it can be serviced:
transmit (push out) L-bit packet into link at R bps L = 10 Kbits
store and forward: entire packet must arrive at R = 100 Mbps
router before it can be transmitted on next link one-hop transmission delay
= 0.1 msec
7
2/6/2023
Circuit switching: FDM and TDM Packet switching versus circuit switching
Frequency Division Multiplexing example:
(FDM) 4 users 1 Gb/s link
N
each user:
frequency
optical, electromagnetic frequencies users 1 Gbps link
divided into (narrow) frequency • 100 Mb/s when “active”
• active 10% of time
bands
each call allocated its own band, can Q: how many users can use this network under circuit-switching and packet switching?
transmit at max rate of that narrow time
band
circuit-switching: 10 users
Time Division Multiplexing (TDM)
frequency
Performance
great for “bursty” data – sometimes has data to send, but at other times not – Depends on Network Elements
– Measured in terms of Delay and Throughput
• resource sharing
Reliability
• simpler, no call setup – Failure rate of network components
excessive congestion possible: packet delay and loss due to buffer overflow – Measured in terms of availability/robustness
• protocols needed for reliable data transfer, congestion control Security
– Data protection against corruption/loss of data due to:
Q: How to provide circuit-like behavior with packet-switching? – Errors
• “It’s complicated.” We’ll study various techniques that try to make packet – Malicious users
switching as “circuit-like” as possible.
Throughput
Throughput Example
• Throughput is an important network
metric which is also known as bandwidth. • A network might have a bandwidth of
• The bandwidth of a network is given by 10 million bits/second (Mbps),
the number of bits that can be transmitted meaning that it is able to deliver 10
over the network in a certain period of million bits every second.
time.
• Depends on the network technology
(hardware capabilities) and therefore is
constant.
8
2/6/2023
Delay
Delay Example
• Also known as latency.
• corresponds to how long it takes a • A transcontinental network might have
message to travel from one end of a a latency of 24 milliseconds (ms); that
network to the other. is, it takes a message 24 ms to travel
from one end of North America to the
• Latency is measured strictly in terms of
other.
time.
• Effected by number of users and hence
may change from time to time.
Reliability
Factors Affecting Performance
• Accuracy of delivery.
⮚Type of transmission media, • Measured by:
⮚Capabilities of connected hardware – Frequency of failures
and the efficiency of software. – Time it takes to recover from a failure
⮚Number of user – The network’s robustness in a catastrophe.
9
2/6/2023
Networks Models
Type of Connection
• Computer networks are created by different
• For communication to occure, two devices entities.
must be connected in someway to the same • Standards are needed so that these
link at the same time. heterogeneous networks can communicate.
• Two possible connections: • The two most know standards:
– Point-to-point
– Multipoint
– OSI model: defines a seven layer network.
– Internet model: defines a five layer network.
interconnected access
net
access
net
10
2/6/2023
global
access
net
access
net
access
net
ISP access
net
access access
net net
access access
net net
access access
net net
access access
net net
access access access access
net access net net access net
net net
access
net ISP B access
net
access
net
IXP ISP B access
net
access
net
access
net
peering link
access access
net net
access access access access
net access net net access net
net net
access access
net
regional ISP access
net
regional ISP access
net net
access access access access
net access net net access net
net net
11
2/6/2023
Internet Internet
12
2/6/2023
Internet Internet
76
– Response time: the elapsed time between The possible result of adaptive routing is that the
destination may receive the packets out of order.
an inquiry and a response.
Connectionless System:
• Often evaluated by two networking This means Circuits are not setup between the Users.
metrics: throughput and delay. As a result, the internet does not maintain an ongoing
knowledge of user traffic and does not build a fixed path.
13
2/6/2023
Data Applications:
This aspect of Internet describes that Internet is
not Particularly good choice for the transport of
voice traffic, because there is not “tune” for
voice or video.
14