switching techniques (lecture #2 et3003 sem1 2014/2015)

9
Switching Techniques ET3003 Computer Networks Tutun Juhana Telecommunication Engineering School of Electrical Engineering & Informatics Institut Teknologi Bandung 2

Upload: tutun-juhana

Post on 19-Jun-2015

465 views

Category:

Engineering


4 download

DESCRIPTION

The slides discuss the techniques used to switch (transfer) information in a networks. Circuit switching, datagram packet switching, and virtual circuits packet switching, are disscused

TRANSCRIPT

Page 1: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Switching TechniquesET3003 Computer Networks

Tutun JuhanaTelecommunication EngineeringSchool of Electrical Engineering & InformaticsInstitut Teknologi Bandung

2

Page 2: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Switching Networks

A collection of nodes and connections is a communications network

Data is routed by being switched from node to node

Page 3: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

How to Switch the Data?

• Circuit switching• Packet switching

– Datagram– Virtual circuit

Page 4: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Circuit switching• Communication via circuit switching involves

three phases:– Circuit Establishment connection oriented– Data Transfer– Circuit Disconnect

• Circuit Dedicated communication path between two stations

• Developed for voice traffic (phone; Public Switched Telephone Network (PSTN))– Delay (and delay variation (jitter)) is guaranteed as

required by voice traffic

Page 5: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

• Circuit switching is inefficient– Channel capacity dedicated for duration of

connection If no data, capacity wasted• Information is transmitted at a fixed data

rate with no delay (except for the propagation delay)

Page 6: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Packet Switching

• Station breaks long message into packets• Packets sent one at a time to the network• Packets handled in two ways

– Datagram– Virtual circuit

• Network resources are shared

Page 7: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Datagram• There’s no preplanned route

established before any packets sent connectionless

• Each packet treated independently

• Packets can take any practical route

• Packets may arrive out of order

• Packets may go missing• Up to receiver to re-order

packets and recover from missing packets

Page 8: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Virtual Circuit• A preplaned route is

established before any packets are sent connection oriented– Call request and call accept

packets establish connection (handshake)

• Once route is established, all the packets follow same route

• Each packet contains a Virtual Circuit Identifier (VCI)

• No routing decisions required for each packet

• Clear request to drop circuit• Not a dedicated path

Page 9: Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)

Circuit switch vs virtual circuit(an analogy)