1
1
John Magee
8 July 2013
CS101 Lecture 5: Networking: Topology, Packet Switching
2
Overview/Questions
– What is a communications network?
- For example, the phone network
Overview/Questions What is a communications network? For example, - - PDF document
CS101 Lecture 5: Networking: Topology, Packet Switching John Magee 8 July 2013 1 Overview/Questions What is a communications network? For example, the phone network Why connect computers together? How do computers connect to
1
2
POTS (the plain old telephone system), a.k.a PSTN (Public Switched Telephone Network) To connect a phone call, the caller’s phone must be physically connected to connect to the receiver’s phone. Connecting these circuits (called switching) takes place at dedicated facilities called central offices.
4
Telephone wires leave your house, and connect to the central office. At the central office, connections are made to other telephone lines…
Image from www.exegesis.uklinux. net.
5
Telephone operators used to actually switch wires to connect the calls. In the PSTN, this connection (called switching) is done electronically.
6
Modern telephone systems are hybrid. The audio is digitized at the exchange, then converted back to analog at the receiving exchange. A Nortel switch, which servers tens of thousands of customers.
(Image from Wikimedia Commons)
7
8
9
10
11
12
13
14
– Each node has two neighbors
Image source: http://www.edrawsoft.com/Network-Topologies.php
Image source: http://www.edrawsoft.com/Network-Topologies.php
Image source: http://www.edrawsoft.com/Network-Topologies.php
Ethernet The industry standard bus technology for local-area networks.
18
– How do you have a conversation in a large group?
19
20
Image source: http://www.air-stream.org.au/files/wide_area_network.gif
A Switched Circuit connects devices A and B.
Image from www.tcpipguide.com.
pieces allocated to calls resource piece idle if not
dividing link bandwidth
Introduction 1-22
Introduction 1-23 24
27
Image from http://www.teach-ict.com/technology_explained/packet_switching/packet.switching.gif
Image from www.tcpipguide.com.
user A, B packets share
each packet uses full link
resources used as needed
aggregate resource
congestion: packets
store and forward:
packet before forwarding Bandwidth division into “pieces” Dedicated allocation Resource reservation
Introduction 1-28
sequence of A & B packets has no fixed timing pattern
TDM: each host gets same slot in revolving TDM frame.
100 Mb/s Ethernet 1.5 Mb/s
statistical multiplexing
queue of packets waiting for output link
Introduction 1-29
takes L/R seconds to
store and forward: entire
delay = 3L/R (assuming
R R R L more on delay shortly …
Introduction 1-30
circuit-switching:
packet switching:
> 10 active at same time is less than .0004
N users 1 Mbps link
Introduction 1-31
great for bursty data
excessive congestion: packet delay and loss
Q: How to provide circuit-like behavior?
Q: human analogies of reserved resources (circuit switching) versus on-demand allocation (packet-switching)?
Introduction 1-32
33
34
35
36
– What current events topic relates to this?
37