28
ECOM 4314 Data Communications Fall September, 2010

ECOM 4314 Data Communications Fall September, 2010

Embed Size (px)

DESCRIPTION

ECOM 4314 Data Communications Fall September, 2010. Chapter 8 Outline. Switched Network Circuit-Switched Network Datagram Networks Virtual-Circuit Network. Introduction. In large networks we need some means to allow one-to-one communication between any two nodes. - PowerPoint PPT Presentation

Citation preview

Page 1: ECOM 4314 Data Communications Fall September, 2010

ECOM 4314

Data CommunicationsFall September, 2010

Page 2: ECOM 4314 Data Communications Fall September, 2010

Data Communication 2

Chapter 8 OutlineChapter 8 Outline

Switched Network Circuit-Switched Network Datagram Networks Virtual-Circuit Network

Page 3: ECOM 4314 Data Communications Fall September, 2010

Data Communication 3

IntroductionIntroduction

In large networks we need some means to allow one-to-one communication between any two nodes.

In LANs this is achieved using one of three methods: Direct point-to-point connection (mesh) Via central controller (star) Connection to common bus in a multipoint

configuration (bus/hup)

Page 4: ECOM 4314 Data Communications Fall September, 2010

Data Communication 4

IntroductionIntroduction

None of the previous works in larger networks with large physical separation or consisting of a large number of computers

The solution is a switching network

Page 5: ECOM 4314 Data Communications Fall September, 2010

Data Communication 5

Switched NetworkSwitched Network

Consists of a series of interlinked nodes called switched.

Switches are capable to create temporary connections between two or more devices

Page 6: ECOM 4314 Data Communications Fall September, 2010

Data Communication 6

Page 7: ECOM 4314 Data Communications Fall September, 2010

Data Communication 7

Circuit-Switched NetworkCircuit-Switched Network

A circuit-switched network consists of a set of switches connected by physical links.

A connection between two stations is a dedicated path made of one or more links

each connection uses only one dedicated channel on each link

Each link is normally divided into n channels by using FDM or TDM.

The link can be permanent (leased line) or temporary (telephone)

Page 8: ECOM 4314 Data Communications Fall September, 2010

Data Communication 8

Circuit-Switched NetworkCircuit-Switched Network

Page 9: ECOM 4314 Data Communications Fall September, 2010

Data Communication 9

Circuit-Switched NetworkCircuit-Switched Network

Switching take place at physical layer Resources

Such as bandwidth in FDM and time slot in TDM Switch buffer Switch processing time Switch I/O ports

Data transferred are not packetized, continuous flow

No addressing involved during data transfer

Page 10: ECOM 4314 Data Communications Fall September, 2010

Data Communication 10

ExampleExample

Page 11: ECOM 4314 Data Communications Fall September, 2010

Data Communication 11

Transmission phasesTransmission phases

Setup phase A dedicated circuit needs to be established So create dedicated channel by sending a

request

Page 12: ECOM 4314 Data Communications Fall September, 2010

Data Communication 12

Transmission phasesTransmission phases

Data transfer phase Teardown phase

Signal is sent to each switch to release resources

Page 13: ECOM 4314 Data Communications Fall September, 2010

Data Communication 13

DelayDelay

Page 14: ECOM 4314 Data Communications Fall September, 2010

Data Communication 14

Datagram NetworksDatagram Networks

Data are transmitted in discrete units called packets

Size of the packet depends on the protocol and network

Packets switched networks are connectionless, hence no resource allocation

Connectionless means the switch does not keep information about the connection state.

Datagram switching is done at network layer

Page 15: ECOM 4314 Data Communications Fall September, 2010

Data Communication 15

Datagram NetworksDatagram Networks

Page 16: ECOM 4314 Data Communications Fall September, 2010

Data Communication 16

Routing table & Destination AddRouting table & Destination Add..

A switch in a datagram network uses a routing table that is based on the destination address.

The destination address in the header of a packet in a datagram network remains the same during the entire journey of the packet.

Page 17: ECOM 4314 Data Communications Fall September, 2010

Data Communication 17

DelayDelay

Total Delay = 3T + 3t+ w1+ w2

Page 18: ECOM 4314 Data Communications Fall September, 2010

Data Communication 18

Virtual-Circuit NetworkVirtual-Circuit Network

Packets form a single message travel along the same path.

Characteristics Three phases to transfer data Resources can be allocated during setup phase Data are packetized and each packet carries

an address in the header All packets follow the same path Implemented in data link layer

Page 19: ECOM 4314 Data Communications Fall September, 2010

Data Communication 19

Virtual-Circuit NetworkVirtual-Circuit Network

Page 20: ECOM 4314 Data Communications Fall September, 2010

Data Communication 20

AddressingAddressing

Global addressing Source and destination needs unique

addresses Virtual-circuit identifier

Page 21: ECOM 4314 Data Communications Fall September, 2010

Data Communication 21

Transmission phasesTransmission phases

Setup phase A switch creates an entry for a virtual

circuit. Request acknowledgment

Page 22: ECOM 4314 Data Communications Fall September, 2010

Data Communication 22

SetupSetup

Page 23: ECOM 4314 Data Communications Fall September, 2010

Data Communication 23

acknowledgmentacknowledgment

Page 24: ECOM 4314 Data Communications Fall September, 2010

Data Communication 24

Data transfer and teardown phasesData transfer and teardown phases

After sending all frames, a special frame is send to end the connection

Page 25: ECOM 4314 Data Communications Fall September, 2010

Data Communication 25

EfficiencyEfficiency

In virtual-circuit switching, all packets belonging to the same source and destination travel the same path; But the packets may arrive at the

destination with different delays if resource allocation is on demand.

Page 26: ECOM 4314 Data Communications Fall September, 2010

Data Communication 26

DelayDelay

Total delay = 3T + 3ζ+ setup delay + teardown delay

Page 27: ECOM 4314 Data Communications Fall September, 2010

Data Communication 27

ReferencesReferences

Ayman, Maliha, “Data Communication Lectures”, IUG.

BehrouzA. Forouzan , “Data Communications and Networking”, 4rdEdition, Chapter8, 2007

Page 28: ECOM 4314 Data Communications Fall September, 2010

Data Communication 28

ThanksThanks