Multiple Xing and Switching
Multiple Xing and Switching
Multiplexing
3 2 1
MUX
3 2 1
THE TRANSMITTER
3 3 3 2 2 2 1 1 1
THE LINK
DEMUX
THE RECEIVER
WARNING………!!!!!!!
There should be no Timing difference between
the
MUX and DEMUX
Therefore, the two devices
should be synchronized……
3 2 1
1
MUX
2 1
3 2 2 1 1 1
THE LINK
Time slots are being
wasted….!!
The solution is
Statistical TDM
Statistical TDM
D
User 2 f2
U
L
A
T
User 3 f3
O
All the users transmit their data simultaneously….
f1 f2 f3
The Received data at the Receiver
f1 f2 f3
The output
f1 f2 f3
Switching
Switching Networks
A network is made up of end hosts and
intermediate switching nodes
7
1 6
2 4
Switching Nodes
End Hosts E
3
B
F
Some Notes…
Some nodes only connect to other nodes
Circuit Switching
Packet Switching
7
1 6
2 4
Switching Nodes
End Hosts E
3
B
F
Three Phases
Circuit Establishment
• Host-B send a connection request towards Host-D
• Intermediate nodes route the request to Host-D based
on measures of availability and cost
• If ready, D accepts the connection and a dedicated path
(generally full duplex) is established from B through the
intermediate nodes to D
Data Transfer
• The data (analog/digital) is carried on the dedicated
path
Circuit Disconnect
• Done by any one station
• Signals are propagated to intermediate nodes to de-
allocate the dedicated resources
Principle
• Circuit switching designed for voice
– Resources dedicated to a particular call
– Much of the time a data connection is idle
– Data rate is fixed
• Both ends must operate at the same rate
Packet Switching
Problems in Circuit Switching
Circuit Switching approach is inefficient
Datagram Approach
The packets with the same destination do not always follow the
same route
Some packets can get late and some can get destroyed in the
network
B
Virtual Circuit Packet Switching