SlideShare a Scribd company logo
1 of 18
Download to read offline
Network Core
Packet Switching and Circuit Switching

Engr. Abbas Abbasi
Important Terms Review
 DSL

 LAN

 DSLAM

 3G

 HFC

 LTE

 CMTS

 WiFi

 FTTH

 Physical Medium Types

 AON

 UTP

 PON

 Shared Medium

 ONT

 OC (Optical Carrier)

 OLT

 Geostationary Satellite
 LEO Satellite
The Network Core
 mesh of interconnected routers

 the fundamental question: how is

data transferred through net?
 circuit switching: dedicated
circuit per call: telephone net
 packet-switching: data sent
thru net in discrete “chunks”
 Routers Vs Switches
 Message length L, Transmission
rate R, and transmission delay
Network Core: Circuit Switching
network resources (e.g.,
bandwidth) divided into
“pieces”



 dividing link bandwidth into

“pieces”
 frequency division
pieces allocated to calls
 time division (TDM)
resource piece idle if not used by
 code division (CDM)
owning call (no sharing)
Circuit Switching: FDM and TDM
Example:
FDM

4 users

frequency

time
TDM

frequency

time
Numerical example
 How long does it take to send a file of 640,000 bits from host

A to host B over a circuit-switched network?
 All links are 1.536 Mbps
 Each link uses TDM with 24 slots/sec
 500 msec to establish end-to-end circuit

Let’s work it out!

t = (0.500 s)+ (640,000 bits)/((1,536,000 bits/s)/ (24 channels))
= 0.5 + 10.0 = 10.5 seconds until last bit leaves Host A
but how long until last bit arrives at Host B?
Network Core: Packet Switching
each end-end data stream divided into
packets
 user A, B packets share network
resources
 each packet uses full link bandwidth
(for short time)
 resources used as needed
Bandwidth division into “pieces”
Dedicated allocation
Resource reservation

resource contention:
 aggregate resource demand
can exceed amount available
 congestion: packets queue,
wait for link use
 store and forward: packets
move one hop at a time
 Node receives complete
packet before forwarding
Packet Switching: Statistical Multiplexing
100 Mb/s
Ethernet

A

B

C

statistical multiplexing
1.5 Mb/s

queue of packets
waiting for output
link
D

E

Sequence of A & B packets does not have fixed pattern, shared on demand
statistical multiplexing.
TDM: each host gets same slot in revolving TDM frame.
Packet-switching: store-and-forward
L
R

R

 Takes L/R seconds to transmit

(push out) packet of L bits on
to link or R bps
 Entire packet must arrive at
router before it can be
transmitted on next link: store
and forward
 delay = 3L/R (assuming zero
propagation delay)

R

Example:
 L = 7.5 Mbits
 R = 1.5 Mbps
 delay = 15 sec
Note: local connection so that
(a) propagation time is
negligible, and (b) no delay
due to congestion.

more on delay shortly …
Packet switching versus circuit switching
Packet switching allows more users to use network!
 1 Mb/s link

 each user:
 100 kb/s when “active”
 active 10% of time

1 Mbps link

 circuit-switching:
 10 users

 packet switching:
 with 35 users, probability > 10

active less than .0004

N users

Q: how did we get value 0.0004?
P(n,N) =(N!) ( p^n) (1-p)^(N-n)
(n!) (N-n)!
P(11,35) =(35!) ( 0.1^11) (0.9^24)
(11!) (24!)
= 0.0003
P(12,35) = 0.0001
Packet switching versus circuit switching
Is packet switching a “slam dunk winner?”
 Great for bursty data
resource sharing
simpler, no call setup
 If excessive congestion: packet delay and loss.

protocols needed for reliable data transfer, congestion control
(TCP does a good job)
 Q: How to provide circuit-like behavior?
bandwidth guarantees needed for audio/video apps
still an unsolved problem (chapter 7)
Internet structure: network of networks
 roughly hierarchical
 at center: “tier-1” ISPs (e.g., MCI, Sprint, AT&T, Cable and Wireless),

national/international coverage
 treat each other as equals
Tier-1
providers
interconnect
(peer)
privately

Tier 1 ISP

Tier 1 ISP

NAP
Tier 1 ISP

Tier-1 providers
also interconnect
at public network
access points
(NAPs)
Tier-1 ISP: e.g., Sprint
Sprint US backbone network

Seattle
Tacoma

DS3 (45 Mbps)
OC3 (155 Mbps)
OC12 (622 Mbps)
OC48 (2.4 Gbps)
POP: point-of-presence

to/from backbone
Stockton

peering

…

…
.
Kansas City
…

…

Anaheim

…

San Jose

Cheyenne

New York
Pennsauken
Relay
Wash. DC

Chicago
Roachdale

Atlanta

to/from customers
Fort Worth
Introduction

Orlando
Internet structure: network of networks
 “Tier-2” ISPs: smaller (often regional) ISPs
 Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs

Tier-2 ISP pays
tier-1 ISP for
connectivity to
rest of Internet
 tier-2 ISP is
customer of
tier-1 provider

Tier-2 ISP

Tier-2 ISP

Tier 1 ISP

Tier 1 ISP
Tier-2 ISP

NAP
Tier 1 ISP

Tier-2 ISP

* NAP - Network Access Point

Tier-2 ISPs
also peer
privately with
each other,
interconnect
at NAP*
Tier-2 ISP
Internet structure: network of networks
 “Tier-3” ISPs and local ISPs
 last hop (“access”) network (closest to end systems)
local
ISP
Local and tier3 ISPs are
customers of
higher tier
ISPs
connecting
them to rest
of Internet

Tier 3
ISP
Tier-2 ISP

local
ISP

local
ISP

local
ISP
Tier-2 ISP

Tier 1 ISP

Tier 1 ISP

Tier-2 ISP
local
local
ISP
ISP

NAP
Tier 1 ISP

Tier-2 ISP
local
ISP

Tier-2 ISP
local
ISP
Internet structure: network of networks
 a packet passes through many networks!

local
ISP

Tier 3
ISP
Tier-2 ISP

local
ISP

local
ISP

local
ISP
Tier-2 ISP

Tier 1 ISP

Tier 1 ISP
Tier-2 ISP
local
local
ISP
ISP

NAP
Tier 1 ISP

Tier-2 ISP
local
ISP

Tier-2 ISP
local
ISP
IXPs and Content Provider Networks

IXP: Internet Exchange Point
Important Terms
 Store and Forward









Transmission
Messages and Packets
Packet Switch
Transmission Delay
Queuing Buffer or Output
Buffer
Packet Loss
Forwarding Table
Routing Protocols

 Circuit
 Circuit Switching
 End to End Connection
 FDM
 TDM

 Silent Period
 Tier 1,2,3 ISPs
 Access ISP
 IXP

More Related Content

What's hot

Switching techniques
Switching techniquesSwitching techniques
Switching techniquesGupta6Bindu
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniquestameemyousaf
 
Unit i packet switching networks
Unit i  packet switching networksUnit i  packet switching networks
Unit i packet switching networkssangusajjan
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingDr Rajiv Srivastava
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switchingDr Rajiv Srivastava
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesAmit Kumar
 
10 Circuit Packet
10 Circuit Packet10 Circuit Packet
10 Circuit PacketWaqas !!!!
 
Message switched
Message switchedMessage switched
Message switchedHawkarOsman
 
Networking Related
Networking RelatedNetworking Related
Networking RelatedZunAib Ali
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Kaushik Panta
 
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Tutun Juhana
 
Network layer and circuit switching
Network layer and circuit switchingNetwork layer and circuit switching
Network layer and circuit switchingasimnawaz54
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switchingSuneel Varma
 

What's hot (20)

Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
 
Unit i packet switching networks
Unit i  packet switching networksUnit i  packet switching networks
Unit i packet switching networks
 
Switching
SwitchingSwitching
Switching
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
 
Switching
SwitchingSwitching
Switching
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
10 Circuit Packet
10 Circuit Packet10 Circuit Packet
10 Circuit Packet
 
Message switched
Message switchedMessage switched
Message switched
 
Networking Related
Networking RelatedNetworking Related
Networking Related
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
 
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
 
Network layer and circuit switching
Network layer and circuit switchingNetwork layer and circuit switching
Network layer and circuit switching
 
8 Packet Switching
8 Packet Switching8 Packet Switching
8 Packet Switching
 
Swiching
SwichingSwiching
Swiching
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switching
 
Chap 8 switching
Chap 8 switchingChap 8 switching
Chap 8 switching
 
Ch 02 (1)
Ch 02 (1)Ch 02 (1)
Ch 02 (1)
 

Viewers also liked

Viewers also liked (7)

Palestra Fabiano Coura
Palestra Fabiano CouraPalestra Fabiano Coura
Palestra Fabiano Coura
 
Chap 03
Chap 03Chap 03
Chap 03
 
Packet switching
Packet switchingPacket switching
Packet switching
 
PS Core Presentation
PS Core PresentationPS Core Presentation
PS Core Presentation
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Introduction to Mobile Core Network
Introduction to Mobile Core NetworkIntroduction to Mobile Core Network
Introduction to Mobile Core Network
 
Evolution Of Telecommunication
Evolution Of TelecommunicationEvolution Of Telecommunication
Evolution Of Telecommunication
 

Similar to Lec 4 and_5

Ch1 2ed 29_dec03
Ch1 2ed 29_dec03Ch1 2ed 29_dec03
Ch1 2ed 29_dec03Sugan Nalla
 
Networks (Distributed computing)
Networks (Distributed computing)Networks (Distributed computing)
Networks (Distributed computing)Sri Prasanna
 
lec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.pptlec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.pptMahamKhurram4
 
3- Lec 3 - Packet-Circuit Switching.pptx
3-  Lec 3  - Packet-Circuit Switching.pptx3-  Lec 3  - Packet-Circuit Switching.pptx
3- Lec 3 - Packet-Circuit Switching.pptxShahdAbdElsamea2
 
Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1whiz5
 
Chapter_1 V6.1 absolute java original slides
Chapter_1 V6.1 absolute java original slidesChapter_1 V6.1 absolute java original slides
Chapter_1 V6.1 absolute java original slidesmzayed5
 
Sept 2017 introduction
Sept 2017   introductionSept 2017   introduction
Sept 2017 introductionshahin raj
 

Similar to Lec 4 and_5 (20)

Ch1 2ed 29_dec03
Ch1 2ed 29_dec03Ch1 2ed 29_dec03
Ch1 2ed 29_dec03
 
Lec - 1_Chapter_1.ppt
Lec - 1_Chapter_1.pptLec - 1_Chapter_1.ppt
Lec - 1_Chapter_1.ppt
 
1st Talk
1st Talk1st Talk
1st Talk
 
Ch1 internet Networks
Ch1 internet NetworksCh1 internet Networks
Ch1 internet Networks
 
Networks (Distributed computing)
Networks (Distributed computing)Networks (Distributed computing)
Networks (Distributed computing)
 
Chapter1
Chapter1Chapter1
Chapter1
 
Network th ITM3
Network th ITM3Network th ITM3
Network th ITM3
 
lec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.pptlec 3 4 Core Delays Thruput Net Arch.ppt
lec 3 4 Core Delays Thruput Net Arch.ppt
 
3- Lec 3 - Packet-Circuit Switching.pptx
3-  Lec 3  - Packet-Circuit Switching.pptx3-  Lec 3  - Packet-Circuit Switching.pptx
3- Lec 3 - Packet-Circuit Switching.pptx
 
Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1Week 1B.pdf Networking introduction week 1
Week 1B.pdf Networking introduction week 1
 
1 introduction
1 introduction1 introduction
1 introduction
 
Lecture24
Lecture24Lecture24
Lecture24
 
Chapter_1_V6.1.ppt
Chapter_1_V6.1.pptChapter_1_V6.1.ppt
Chapter_1_V6.1.ppt
 
Chapter_1 V6.1 absolute java original slides
Chapter_1 V6.1 absolute java original slidesChapter_1 V6.1 absolute java original slides
Chapter_1 V6.1 absolute java original slides
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Chapter 1 v6.1
Chapter 1 v6.1Chapter 1 v6.1
Chapter 1 v6.1
 
Frame
FrameFrame
Frame
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
 
5 Lan
5 Lan5 Lan
5 Lan
 
Sept 2017 introduction
Sept 2017   introductionSept 2017   introduction
Sept 2017 introduction
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 

Lec 4 and_5

  • 1. Network Core Packet Switching and Circuit Switching Engr. Abbas Abbasi
  • 2. Important Terms Review  DSL  LAN  DSLAM  3G  HFC  LTE  CMTS  WiFi  FTTH  Physical Medium Types  AON  UTP  PON  Shared Medium  ONT  OC (Optical Carrier)  OLT  Geostationary Satellite  LEO Satellite
  • 3. The Network Core  mesh of interconnected routers  the fundamental question: how is data transferred through net?  circuit switching: dedicated circuit per call: telephone net  packet-switching: data sent thru net in discrete “chunks”  Routers Vs Switches  Message length L, Transmission rate R, and transmission delay
  • 4. Network Core: Circuit Switching network resources (e.g., bandwidth) divided into “pieces”    dividing link bandwidth into “pieces”  frequency division pieces allocated to calls  time division (TDM) resource piece idle if not used by  code division (CDM) owning call (no sharing)
  • 5. Circuit Switching: FDM and TDM Example: FDM 4 users frequency time TDM frequency time
  • 6. Numerical example  How long does it take to send a file of 640,000 bits from host A to host B over a circuit-switched network?  All links are 1.536 Mbps  Each link uses TDM with 24 slots/sec  500 msec to establish end-to-end circuit Let’s work it out! t = (0.500 s)+ (640,000 bits)/((1,536,000 bits/s)/ (24 channels)) = 0.5 + 10.0 = 10.5 seconds until last bit leaves Host A but how long until last bit arrives at Host B?
  • 7. Network Core: Packet Switching each end-end data stream divided into packets  user A, B packets share network resources  each packet uses full link bandwidth (for short time)  resources used as needed Bandwidth division into “pieces” Dedicated allocation Resource reservation resource contention:  aggregate resource demand can exceed amount available  congestion: packets queue, wait for link use  store and forward: packets move one hop at a time  Node receives complete packet before forwarding
  • 8. Packet Switching: Statistical Multiplexing 100 Mb/s Ethernet A B C statistical multiplexing 1.5 Mb/s queue of packets waiting for output link D E Sequence of A & B packets does not have fixed pattern, shared on demand statistical multiplexing. TDM: each host gets same slot in revolving TDM frame.
  • 9. Packet-switching: store-and-forward L R R  Takes L/R seconds to transmit (push out) packet of L bits on to link or R bps  Entire packet must arrive at router before it can be transmitted on next link: store and forward  delay = 3L/R (assuming zero propagation delay) R Example:  L = 7.5 Mbits  R = 1.5 Mbps  delay = 15 sec Note: local connection so that (a) propagation time is negligible, and (b) no delay due to congestion. more on delay shortly …
  • 10. Packet switching versus circuit switching Packet switching allows more users to use network!  1 Mb/s link  each user:  100 kb/s when “active”  active 10% of time 1 Mbps link  circuit-switching:  10 users  packet switching:  with 35 users, probability > 10 active less than .0004 N users Q: how did we get value 0.0004? P(n,N) =(N!) ( p^n) (1-p)^(N-n) (n!) (N-n)! P(11,35) =(35!) ( 0.1^11) (0.9^24) (11!) (24!) = 0.0003 P(12,35) = 0.0001
  • 11. Packet switching versus circuit switching Is packet switching a “slam dunk winner?”  Great for bursty data resource sharing simpler, no call setup  If excessive congestion: packet delay and loss. protocols needed for reliable data transfer, congestion control (TCP does a good job)  Q: How to provide circuit-like behavior? bandwidth guarantees needed for audio/video apps still an unsolved problem (chapter 7)
  • 12. Internet structure: network of networks  roughly hierarchical  at center: “tier-1” ISPs (e.g., MCI, Sprint, AT&T, Cable and Wireless), national/international coverage  treat each other as equals Tier-1 providers interconnect (peer) privately Tier 1 ISP Tier 1 ISP NAP Tier 1 ISP Tier-1 providers also interconnect at public network access points (NAPs)
  • 13. Tier-1 ISP: e.g., Sprint Sprint US backbone network Seattle Tacoma DS3 (45 Mbps) OC3 (155 Mbps) OC12 (622 Mbps) OC48 (2.4 Gbps) POP: point-of-presence to/from backbone Stockton peering … … . Kansas City … … Anaheim … San Jose Cheyenne New York Pennsauken Relay Wash. DC Chicago Roachdale Atlanta to/from customers Fort Worth Introduction Orlando
  • 14. Internet structure: network of networks  “Tier-2” ISPs: smaller (often regional) ISPs  Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs Tier-2 ISP pays tier-1 ISP for connectivity to rest of Internet  tier-2 ISP is customer of tier-1 provider Tier-2 ISP Tier-2 ISP Tier 1 ISP Tier 1 ISP Tier-2 ISP NAP Tier 1 ISP Tier-2 ISP * NAP - Network Access Point Tier-2 ISPs also peer privately with each other, interconnect at NAP* Tier-2 ISP
  • 15. Internet structure: network of networks  “Tier-3” ISPs and local ISPs  last hop (“access”) network (closest to end systems) local ISP Local and tier3 ISPs are customers of higher tier ISPs connecting them to rest of Internet Tier 3 ISP Tier-2 ISP local ISP local ISP local ISP Tier-2 ISP Tier 1 ISP Tier 1 ISP Tier-2 ISP local local ISP ISP NAP Tier 1 ISP Tier-2 ISP local ISP Tier-2 ISP local ISP
  • 16. Internet structure: network of networks  a packet passes through many networks! local ISP Tier 3 ISP Tier-2 ISP local ISP local ISP local ISP Tier-2 ISP Tier 1 ISP Tier 1 ISP Tier-2 ISP local local ISP ISP NAP Tier 1 ISP Tier-2 ISP local ISP Tier-2 ISP local ISP
  • 17. IXPs and Content Provider Networks IXP: Internet Exchange Point
  • 18. Important Terms  Store and Forward        Transmission Messages and Packets Packet Switch Transmission Delay Queuing Buffer or Output Buffer Packet Loss Forwarding Table Routing Protocols  Circuit  Circuit Switching  End to End Connection  FDM  TDM  Silent Period  Tier 1,2,3 ISPs  Access ISP  IXP