Week 1 - Fundamentals - 1
Week 1 - Fundamentals - 1
Computer Networks
Fundamentals
Week 2-Lecture 1
1-1
What is a computer network?
2
What is a computer network?
3
What’s a protocol?
Human protocols: Network protocols:
“what’s the time?” computers (devices) rather than humans
“I have a question” all communication activity in Internet governed by
protocols
introductions
Rules for:
Protocols define the format, order of messages
… specific messages sent sent and received among network entities,
… specific actions taken when and actions taken on message transmission,
message received, or other receipt
events
What’s a protocol?
A human protocol and a computer network protocol:
Hi TCP connection
request
Hi
TCP connection
response
Got the
time? GET http://gaia.cs.umass.edu/kurose_ross
2:00
<file>
time
What do computer networks do?
6
A closer look at network structure:
• network edge: mobile network
• hosts: clients and servers
• servers often in data centers global ISP
home
access networks, network
regional ISP
physical media:
wired, wireless
communication
links
network core:
interconnected
routers institutional
network of network
networks 1-7
Access networks: cable-based access
cable headend
DSL splitter
modem DSLAM
10
Links: physical media
Coaxial cable: Fiber optic cable:
two concentric copper conductors glass fiber carrying light pulses, each pulse a bit
high-speed operation:
bidirectional
• high-speed point-to-point transmission (10’s-
broadband: 100’s Gbps)
• multiple frequency channels on cable low error rate:
• 100’s Mbps per channel • repeaters spaced far apart
• immune to electromagnetic noise
11
The network core
• mesh of interconnected
routers
• packet-switching: hosts
break application-layer
messages into packets
• forward packets from one
router to the next, across
links on path from source
to destination
• each packet transmitted at
full link capacity
1-12
Many mechanisms: What do we mean by …
13
How GOOD is a NETWORK?
14
What do we look at before commuting to
places?
• Which are the possible routes to take from DAIICT to home?
• Which one is the best?
• How long does it take to reach my home from DAIICT?
• What is the capacity of a road(s) between DAIICT and home?
15
Capacity
• How wide is the
road?
• How fat is the tunnel?
• How many cars can
fit at a time?
• One, two, three…?
16
Performance metrics in computer networks!
Capacity is Bandwidth: Number of bits sent per unit time (bits per second, or
bps)
• Depends on
• Hardware Bandwidth
• Network traffic conditions
Time taken is Propagation delay: Time for one bit to move through the link
(seconds)
• Depends on
Hardware
•
• Network traffic conditions Propagation
Delay
• How large is the unit?
17
Bandwidth
• Each bit is a pulse of some width.
• For example, each bit on a
• 1-Mbps link is 1 µs wide
• 2-Mbps link is 0.5 µs wide,
• The narrower each bit can become, the higher the bandwidth.
• This means more bits can get inside the tunnel
• So MORE DATA CAN FLOW WITHIN A TIME
18
Bandwidth-delay product (BDP)
Number of bits “in flight” at any point of time
(bits)
• Bits sent, but not received
Bandwidth Bandwidth x delay
Propagation
• Same city over a slow link Delay
• Bandwidth: ~100Mbps
• propagation delay: ~0.1ms
• BDP = 10,000 bits (1.25KBytes)
Between cities over fast link:
• Bandwidth: ~10Gbps p, ropagation delay: ~10ms
• BDP = 100,000,000 bits (12.5MBytes)
19
Who is the father of the Internet? Who is the father of the World Wide Web?
20
Match
• PC • Smart Device
• End • End
• Intermediary • Intermediary
• Printer • Router
• End • End
• Intermediary • Intermediary
• Switch
• Firewall • End
• End • Intermediary
• Intermediary
21
A person X recently got a job with a computer support services company in his hometown
Gandhinagar. A customer has asked for someone to come connect their home network to the
Internet. They only have a cable modem. Which of the following devices would X most likely take
with him to complete the task?
• wireless router
• LAN switch
• desktop computer
• firewall appliance
• wireless router
22
Match
• PC • Smart Device
• End • End
• Intermediary • Intermediary
• Printer • Router
• End • End
• Intermediary • Intermediary
• Switch
• Firewall • End
• End • Intermediary
• Intermediary
23
Source: Cisco Networking Academy
24