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

1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

Dec 29, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

3

Switching(cont’d)

Switching method

Page 4: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

4

14.1 Circuit Switching~ create a direct physical connection between

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

Page 5: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

6

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

full-duplex mode

Page 7: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

7

Circuit Switching(cont’d)Circuit Switching

~ can use either two technologies.

Switching

Page 8: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

9

Circuit Switching(cont’d)

Crossbar switch

Page 10: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

12

Circuit Switching(cont’d)

Multiple paths

a. b.

Page 13: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

15

Circuit Switching(cont’d)

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

Page 16: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

16

Circuit Switching(cont’d)

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

Page 17: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

17

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

Page 18: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

19

Circuit Switching(cont’d)

TST switch

Page 20: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

20

14.2 Packet Switching

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

Packet switching approaches

Page 21: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

21

Packet Switching(cont’d)Datagram Approach

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

Page 22: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

22

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

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

Page 23: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

24

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

~ is comparable conceptually to dial-up circuit switching

a. b.

c.

Page 25: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

26

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

d forward

Page 27: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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: 1 14 장 SWITCHING : A NETWORK LAYER FUNCTION 14.1 회선교환 (Circuit Switching) 14.2 패킷 교환 (Packet Switching) 14.3 메시지 교환 (Message Switching) 14.4 네트워크층

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