Computer Networking: A Top Down Approach �6th edition �Jim Kurose, Keith Ross�Addison-Wesley�March 2012
Computer Communications �& Networks
CSNC-2413
Lec: 5
Chapter 1: roadmap
1.1 what is the Internet?
1.2 network edge
1.3 network core
1.4 delay, loss, throughput in networks
1.5 protocol layers, service models
1.6 networks under attack: security
1.7 history
2
The network core
“how is data transferred thru N/W”
3
Circuit switching
4
Multiplexing in Circuit switching
5
FDM
TDM
6
Time Division Mux (TDM)
7
TDM : DeMux
TDM circuit: data Tx rate
8
Given…
Frame rate = 8000 frames/sec
Slot size = 8 bits
Data Rate = Frame Rate x Slot Size
Sol…
Data rate of one circuit = 8000 x 8 = 64 kbps
Data rate of TDM line = 8000 x (8 x 4) = 256 kbps
TDM circuit: file Tx time
9
Given…
TDM line rate = 1.536 Mbps Frame size = 24 slots
Circuit establishment delay = 500 ms File size = 640 kbits
Sol…
Data rate of one TDM circuit = 1.536 Mpbs / 24 = 64 kbps
Tx time of file = 640 kbits / 64 kbps = 10 sec
Total File sending time = 500 ms + 10 sec = 10.5 sec
(actual file sending time would also involve propagation delay…)
The network core
Bandwidth division into “pieces”
Dedicated allocation
Resource reservation
10
Multiplexing in Packet switching: Statistical Mux
A
B
C
10 Mb/s
Ethernet
1.5 Mb/s
D
E
statistical multiplexing
queue of packets
waiting for output
link
11
12
Statistical Mux vs TDM
Why do we need address here…??
Packet switching may allow more users to use network…
……...
N users
1 Mbps link
Packet-switching Vs Circuit-switching
Packet switching may allow a user access to greater B/W…
13
Is packet switching a “ winner…?”
14
Packet-switching Vs Circuit-switching
Two key network-core functions
Forwarding
move pkts from router’s input port �to appropriate output port
Routing
determine source-to-destination route taken by pkts
routing algorithm
local forwarding table
header value
output link
0100
0101
0111
1001
3
2
2
1
1
2
3
0111
dest address in arriving
packet’s header
15
How do pkts make their way thru a pkt switched network…