CS65-Computer Networks Department of EEE
CS65-Computer Networks Department of EEE
3 4
By Dr.S.Muralidharan 1
CS65-Computer Networks Department of EEE
Host 1 Host 2
Switch 1 Switch 2
Transmission delay
propagation
delay
between Host 1
and Host 2
Information
time
– Datagram
• Each packet is treated independently ie
ie..
Routed
• In a packet-
packet-switched network, there is no
resource reservation; resources are allocated • The destination may receive the packets in
different sequence
on demand.
– Virtual circuit
• Data to be transmitted needs to be divided
• A logical connection is established before any
into packets of fixed or variable size. The size
packets are sent.
of the packet is determined by the network
• The route between the stations is set up prior
and the governing protocol to data transfer. It doesn’t mean it is circuit
switching.
– A packet is still buffered at each node and
7
queued for output over a line. 8
By Dr.S.Muralidharan 2
CS65-Computer Networks Department of EEE
Host C
Host A Host D
Node 1 Node 2
Node 3
Node 5
Host B
Node 7 Host E
Node 6
Node 4
Host 1 Host 2
propagation
delay between
transmission Host 1 and
time of Packet 1 Packet 1 Switch 2
processing
at Host 1 delay of
Packet 2
Packet 1 Packet 1 at
Packet 3 Switch 2
Packet 2
Packet 1
Packet 3
Packet 2
Packet 3
By Dr.S.Muralidharan 3
CS65-Computer Networks Department of EEE
13 14
• A virtual-
virtual-circuit network is a cross between a
circuit--switched network and a datagram
circuit
network. It has some characteristics of both.
15 16
By Dr.S.Muralidharan 4
CS65-Computer Networks Department of EEE
Host 1 Host 2
• In virtual-
virtual-circuit switching, all packets
belonging to the same source and
destination travel the same path; but the
VC
establishment
packets may arrive at the destination with
different delays if resource allocation is on
Packet 1
Packet 2
demand.
Packet 1
Packet 3
Data Packet 2
transfer Packet 1
Packet 3
Packet 2
Packet 3
VC
termination
Timing of Virtual
Virtual--Circuit Packet Switching
17 18
Host C
Host A Host D
Host B
Node 7 Host E
Node 6
Node 4
By Dr.S.Muralidharan 5
CS65-Computer Networks Department of EEE
Virtual--circuit identifier
Virtual
Setup request in a virtual-
virtual-circuit network
21 22
Source--to
Source to--destination data transfer in a virtual-
virtual-circuit
Setup acknowledgment in a virtual-
virtual-circuit
network
network
23 24
By Dr.S.Muralidharan 6
CS65-Computer Networks Department of EEE
Message switching
• Packet switching is very much like message
switching except that the length of the units of • In circuit switching network, each node is an
data that may be presented to the network is electronic or electromechanical switching
limited in a packet switched network device. But in message switching it is a
• Need not establish a dedicated path computer with sufficient storage to store
• Sending station appends address of messages.
destination and sent via network. At each • Also known as “store-
“store-and
and--forward message
intermittent node the message is received, system”
stored briefly, and then transmitted to the next • Disadvantage :
node. 1) not suited for real-
real-time traffic
2) delay is relatively long
25 3) Not suited for voice 26
By Dr.S.Muralidharan 7
CS65-Computer Networks Department of EEE
29
29
By Dr.S.Muralidharan 8