Professional Documents
Culture Documents
6- السويتش وترنزميشن
6- السويتش وترنزميشن
6- السويتش وترنزميشن
Computer Networks
• Interactive exercises:
http://gaia.cs.umass.edu/kurose_ross/interactive/
* Animations:
https://media.pearsoncmg.com/ph/esm/ecs_kurose_compn
etwork_8/cw/#interactiveanimations
Introduction 1-2
The network core: Packet Switching
▪ 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
Introduction 1-3
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
▪ end systems, access networks, links
1.3 network core
▪ packet switching, circuit switching, network structure
1.4 delay, loss, throughput in networks
1.5 protocol layers, service models
1.6 networks under attack: security
1.7 history
https://www.javatpoint.com/computer-network-switching-techniques
Introduction 1-5
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
Introduction 1-6
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
Speed: 100Km/Hour
Time taken?
Introduction 1-8
Poll Everywhere
https://pollev.com/sayeedghani483
9
Introduction 1-10
Introduction 1-11
Propagation Delay : d(prop)
Speed: 100Km/Hour
Propagation delay
d(prop) = distance/speed = d/s
= 200km / 100km/hr
= 2 hours
Introduction 1-12
Propagation delay example:
▪ Propagation delay example:
• How long would it take a packet to go around the
world on a fiber optic cable?
• Circumference of Earth = 40,000km
• Assume propagation speed is at speed of light
about 300,000 km/sec
Introduction 1-13
Propagation delay example:
▪ Propagation delay example:
• How long would it take a packet to go around the
world on a fiber optic cable?
• Circumference of Earth = 40,000km
• Assume propagation speed is at speed of light
about 300,000 km/sec
Introduction 1-14
“Real” Internet delays, routes
E.g. mit.edu = domain name
95.100.239.225 is the IP address
3 probes 3 probes
3 probes
Introduction 1-17
“Real” Internet delays, routes
mit.edu = domain name
Introduction 1-19
“Real” Internet delays, routes
▪ How far is a 200ms router?
▪ d(prop) = distance / speed
▪ Distance = d(prop) * speed
= 200ms * 300,000 Km/sec
= 0.2 sec * 300,000 km/sec
= 60,000 km round trip
Introduction 1-20
“Real” Internet delays, routes
▪ How far is a 200ms router?
▪ d(prop) = distance / speed
▪ Distance = d(prop) * speed
= 200ms * 300,000 Km/sec
= 0.2 sec * 300,000 km/sec
= 60,000 km round trip
Introduction 1-21
Animation
https://media.pearsoncmg.com/ph/esm/ecs_kurose_compnetwork_8/cw/content/interactiveanimatio
ns/transmission-vs-propogation-delay/transmission-propagation-delay-ch1/index.html
Introduction 1-22
2. Transmission Delay: d(trans)
1000 bits
R = 10 bps
L bits
per packet
3 2 1
source destination
R bps R bps
Introduction 1-25
Animation
https://media.pearsoncmg.com/ph/esm/ecs_kurose_compnetwork_8/cw/content/interactiveanimatio
ns/transmission-vs-propogation-delay/transmission-propagation-delay-ch1/index.html
Transmission delay
d(trans) = Length of packet / bit Rate = L/R
= 100bytes x 8 bits/byte / 1Mb/s
= 800/1000 b/ms
= 0.8msec
Introduction 1-26