14 장 switching : a network layer function

29
1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 장장장장 (Circuit Switching) 14.2 장장 장장 (Packet Switching) 14.3 장장장 장장 (Message Switching) 14.4 장장장장장 14.5 장장

Upload: reya

Post on 11-Feb-2016

64 views

Category:

Documents


0 download

DESCRIPTION

14 장 SWITCHING : A NETWORK LAYER FUNCTION. 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층 14.5 요약. Switching(cont’d). Switching - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

1

14 장 SWITCHING :A NETWORK LAYER FUNCTION

14.1 회선교환 (Circuit Switching)

14.2 패킷 교환 (Packet Switching)

14.3 메시지 교환 (Message Switching)

14.4 네트워크층14.5 요약

Page 2: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

2

Switching(cont’d)Switching

~ whenever we have multiple devices, we have the problem the problem of how to connect them to make one-one-one communication possible.

Page 3: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

3

Switching(cont’d)

Switching method

Page 4: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

4

14.1 Circuit Switching~ create a direct physical connection between

two devices such as phones or computer.Circuit-switched network

Page 5: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

5

Circuit Switching(cont’d)Circuit Switching

~ is a device with n inputs and m outputs that creates a temporary connection between an input link and output link.

A circuit switch

Page 6: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

6

Circuit Switching(cont’d)n-by-n folded switch can connect n lines in

full-duplex mode

Page 7: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

7

Circuit Switching(cont’d)Circuit Switching

~ can use either two technologies.

Switching

Page 8: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

8

Circuit Switching(cont’d)

Space-Division Switches the paths in the circuit are separated from each

other spatially(crossbar switch)

Crossbar switch~ connect n input to m output in a grid, using

electronic microswitch(transistor) at each crosspoint.

Page 9: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

9

Circuit Switching(cont’d)

Crossbar switch

Page 10: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

10

Circuit Switching(cont’d)Limitation of crossbar switch

The number of switch(huge size): connect n inputs by m output -- require n * m crosspoint.(ex : 1000 input, 1000 output → 1,000,000 crosspoint)

inefficient~ fewer than 25% of the crosspoint are in use at a given time.

Page 11: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

11

Circuit Switching(cont’d)Multistage Switches

~ devices are linked to switches that, in turn are linked to a hierarchy of other switches

Page 12: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

12

Circuit Switching(cont’d)

Multiple paths

a. b.

Page 13: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

13

Circuit Switching(cont’d)Block

~ compare the number of crosspoints in a 15-by-15 single-stage crossbar switch with the 15-by-15 multistage switch.

single-stage switch~ need 225 crosspoint(15 * 15)

multistage switch~ first-stage : 10 crosspoint(5 * 2) *3 = 30 crosspoint~ second-stage : 9 crosspoint(3 *3) * 2 = 18 crosspoint ~ third-stage : 10 crosspoint(5 * 2) *3 = 30 crosspoint

total number of crosspoint : 78

Page 14: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

14

Circuit Switching(cont’d)

Time-Division Switch~ is accomplished using TDM(Time-division

multiplexing) and TSI(Time-Slot Interchange)

TSI - change the ordering of the slots based on the desired connections.

Page 15: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

15

Circuit Switching(cont’d)

Time-division multiplexing, without and with a time-slot interchange(TSI) - No switching

Page 16: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

16

Circuit Switching(cont’d)

Time-division multiplexing, without and with a time-slot interchange(TSI) - Switching

Page 17: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

17

Circuit Switching(cont’d)TSI 동작과정

Page 18: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

18

Circuit Switching(cont’d)

Space-and Time-Division Switching Combinations~ combine space-division and time-division

technology to take advantage of the best of both

TST(time-space-time) TSST(time-space-space-time) STTS(space-time-time-space)

Page 19: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

19

Circuit Switching(cont’d)TST switch

Page 20: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

20

14.2 Packet Switching

~ data are transmitted in discrete units of potentially variable length blocks cabled packets.

Packet switching approaches

Page 21: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

21

Packet Switching(cont’d)Datagram Approach

~ each packet is treated independently from all others (datagram)

Page 22: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

22

Packet Switching(cont’d)Multiple channels in datagram approach

~ packets can be carried simultaneously by either TDM or FDM multiplexing

Page 23: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

23

Packet Switching(cont’d)

Virtual Circuit Approach~ A single route is chosen between sender and

receiver at the beginning of the session

SVC(Switched Virtual Circuit) PVC(Permanent Virtual Circuit)

Page 24: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

24

Packet Switching(cont’d)SVC(Switched Virtual Circuit)

~ is comparable conceptually to dial-up circuit switching

a. b.

c.

Page 25: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

25

Packet Switching(cont’d)

PVC(Permanent Virtual Circuit)~ is comparable to leased lines same virtual circuit is provided between two users

on a continuous basis circuit is dedicated to the specific user two PVC user always get the same route

Page 26: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

26

14.3 Message Switching~ is best known by the descriptive term store an

d forward

Page 27: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

27

14.4 Network Layer

~ is responsible for establishing, managing, and termination connections between physical network

protocols at this layer provide transparent routing and relaying services between networks

OSI model support two type of protocol : CONS and CLNS

Page 28: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

28

Network Layer(cont’d)CONS(Connection-Oriented Network Service)

~ establishes a virtual circuit for the transmission of data that is active for the entire transmission

process sender transmit a connection-request packet receiver acknowledge with a connection-confirm packet sender transmit data sender transmit a disconnect-request packet receiver acknowledge with a disconnect-confirm packet

Page 29: 14 장  SWITCHING : A NETWORK LAYER  FUNCTION

29

Network Layer(cont’d)

CLNS(Connection less Network Service)~ each packet of a multipacket transmission is

treated as an independent unit process

~ is simpler than that of a CONS

Sender transmit data