network protocols unit ii – atm and bisdn. protocol architecture zsimilarities between atm and...

68
Network Protocols Unit II – ATM AND BISDN

Upload: wesley-harrison

Post on 05-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Network Protocols

Unit II – ATM AND BISDN

Page 2: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Protocol ArchitectureSimilarities between ATM and packet

switching Transfer of data in discrete chunks Multiple logical connections over single physical

interface

In ATM flow on each logical connection is in fixed sized packets called cells

Minimal error and flow control Reduced overhead

Data rates (physical layer) 25.6Mbps to 622.08Mbps

Page 3: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Protocol Architecture (diag)

Page 4: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Reference Model PlanesUser plane

Provides for user information transfer

Control plane Call and connection control

Management plane Plane management

whole system functions

Layer managementResources and parameters in protocol entities

Page 5: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Logical ConnectionsVirtual channel connections (VCC)Analogous to virtual circuit in X.25Basic unit of switchingBetween two end usersFull duplexFixed size cellsData, user-network exchange (control) and

network-network exchange (network management and routing)

Virtual path connection (VPC) Bundle of VCC with same end points

Page 6: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Connection Relationships

Page 7: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Advantages of Virtual PathsSimplified network architectureIncreased network performance and

reliabilityReduced processingShort connection setup timeEnhanced network services

Page 8: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Call Establishment Using VPs

Page 9: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Virtual Channel Connection UsesBetween end users

End to end user data Control signals VPC provides overall capacity

VCC organization done by users

Between end user and network Control signaling

Between network entities Network traffic management Routing

Page 10: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

VP/VC CharacteristicsQuality of serviceSwitched and semi-permanent channel

connectionsCall sequence integrityTraffic parameter negotiation and usage

monitoring

VPC only Virtual channel identifier restriction within VPC

Page 11: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Control Signaling - VCCDone on separate connectionSemi-permanent VCCMeta-signaling channel

Used as permanent control signal channel

User to network signaling virtual channel For control signaling Used to set up VCCs to carry user data

User to user signaling virtual channel Within pre-established VPC Used by two end users without network intervention

to establish and release user to user VCC

Page 12: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Control Signaling - VPCSemi-permanentCustomer controlledNetwork controlled

Page 13: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM CellsFixed size5 octet header48 octet information fieldSmall cells reduce queuing delay for high

priority cellsSmall cells can be switched more

efficientlyEasier to implement switching of small

cells in hardware

Page 14: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Cell Format

Page 15: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Header FormatGeneric flow control

Only at user to network interface Controls flow only at this point

Virtual path identifierVirtual channel identifierPayload type

e.g. user info or network management

Cell loss priorityHeader error control

Page 16: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Generic Flow Control (GFC)Control traffic flow at user to network interface

(UNI) to alleviate short term overloadTwo sets of procedures

Uncontrolled transmission Controlled transmission

Every connection either subject to flow control or not

Subject to flow control May be one group (A) default May be two groups (A and B)

Flow control is from subscriber to network Controlled by network side

Page 17: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Single Group of Connections (1)Terminal equipment (TE) initializes two

variables TRANSMIT flag to 1 GO_CNTR (credit counter) to 0

If TRANSMIT=1 cells on uncontrolled connection may be sent any time

If TRANSMIT=0 no cells may be sent (on controlled or uncontrolled connections)

If HALT received, TRANSMIT set to 0 and remains until NO_HALT

Page 18: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Single Group of Connections (2)If TRANSMIT=1 and no cell to transmit on

any uncontrolled connection: If GO_CNTR>0, TE may send cell on controlled

connectionCell marked as being on controlled connectionGO_CNTR decremented

If GO_CNTR=0, TE may not send on controlled connection

TE sets GO_CNTR to GO_VALUE upon receiving SET signal Null signal has no effect

Page 19: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Use of HALTTo limit effective data rate on ATMShould be cyclicTo reduce data rate by half, HALT issued

to be in effect 50% of timeDone on regular pattern over lifetime of

connection

Page 20: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Two Queue ModelTwo counters

GO_CNTR_A, GO_VALUE_A,GO_CNTR_B, GO_VALUE_B

Page 21: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Header Error Control8 bit error control fieldCalculated on remaining 32 bits of headerAllows some error correction

Page 22: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

HEC Operation at Receiver

Page 23: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Effect of Error in Cell Header

Page 24: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Impact of Random Bit Errors

Page 25: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Transmission of ATM Cells622.08Mbps155.52Mbps51.84Mbps25.6MbpsCell Based physical layerSDH based physical layer

Page 26: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Cell Based Physical LayerNo framing imposedContinuous stream of 53 octet cellsCell delineation based on header error

control field

Page 27: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Cell Delineation State Diagram

Page 28: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Impact of Random Bit Errors on Cell Delineation Performance

Page 29: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Acquisition Time v Bit Error Rate

Page 30: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

SDH Based Physical LayerImposes structure on ATM streame.g. for 155.52MbpsUse STM-1 (STS-3) frameCan carry ATM and STM payloadsSpecific connections can be circuit

switched using SDH channelSDH multiplexing techniques can combine

several ATM streams

Page 31: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

STM-1 Payload for SDH-Based ATM Cell Transmission

Page 32: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Service CategoriesReal time

Constant bit rate (CBR) Real time variable bit rate (rt-VBR)

Non-real time Non-real time variable bit rate (nrt-VBR) Available bit rate (ABR) Unspecified bit rate (UBR)

Page 33: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Real Time ServicesAmount of delayVariation of delay (jitter)

Page 34: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

CBRFixed data rate continuously availableTight upper bound on delayUncompressed audio and video

Video conferencing Interactive audio A/V distribution and retrieval

Page 35: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

rt-VBRTime sensitive application

Tightly constrained delay and delay variation

rt-VBR applications transmit at a rate that varies with time

e.g. compressed video Produces varying sized image frames Original (uncompressed) frame rate constant So compressed data rate varies

Can statistically multiplex connections

Page 36: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

nrt-VBRMay be able to characterize expected

traffic flowImprove QoS in loss and delayEnd system specifies:

Peak cell rate Sustainable or average rate Measure of how bursty traffic is

e.g. Airline reservations, banking transactions

Page 37: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

UBRMay be additional capacity over and

above that used by CBR and VBR traffic Not all resources dedicated Bursty nature of VBR

For application that can tolerate some cell loss or variable delays e.g. TCP based traffic

Cells forwarded on FIFO basisBest efforts service

Page 38: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ABRApplication specifies peak cell rate (PCR)

and minimum cell rate (MCR)Resources allocated to give at least MCRSpare capacity shared among all ARB

sourcese.g. LAN interconnection

Page 39: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Adaptation LayerSupport for information transfer protocol

not based on ATMPCM (voice)

Assemble bits into cells Re-assemble into constant flow

IP Map IP packets onto ATM cells Fragment IP packets Use LAPF over ATM to retain all IP

infrastructure

Page 40: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ATM Bit Rate Services

Page 41: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Adaptation Layer ServicesHandle transmission errorsSegmentation and re-assemblyHandle lost and misinserted cellsFlow control and timing

Page 42: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Supported Application typesCircuit emulationVBR voice and videoGeneral data serviceIP over ATMMultiprotocol encapsulation over ATM

(MPOA) IPX, AppleTalk, DECNET)

LAN emulation

Page 43: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL ProtocolsConvergence sublayer (CS)

Support for specific applications AAL user attaches at SAP

Segmentation and re-assembly sublayer (SAR) Packages and unpacks info received from CS into

cells

Four types Type 1 Type 2 Type 3/4 Type 5

Page 44: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL Protocols

Page 45: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Segmentation and Reassembly PDU

Page 46: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL Type 1CBR sourceSAR packs and unpacks bitsBlock accompanied by sequence number

Page 47: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL Type 2VBRAnalog applications

Page 48: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL Type 3/4Connectionless or connectedMessage mode or stream mode

Page 49: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

AAL Type 5Streamlined transport for connection

oriented higher layer protocols

Page 50: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

CPCS PDUs

Page 51: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Example AAL 5 Transmission

Page 52: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Multiplexing

Page 53: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Frequency Division MultiplexingFDMUseful bandwidth of medium exceeds

required bandwidth of channelEach signal is modulated to a different

carrier frequencyCarrier frequencies separated so signals

do not overlap (guard bands)e.g. broadcast radioChannel allocated even if no data

Page 54: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

FDM System

Page 55: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Synchronous Time Division MultiplexingData rate of medium exceeds data rate of

digital signal to be transmittedMultiple digital signals interleaved in timeMay be at bit level of blocksTime slots preassigned to sources and

fixedTime slots allocated even if no dataTime slots do not have to be evenly

distributed amongst sources

Page 56: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

TDM System

Page 57: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

TDM Link ControlNo headers and tailersData link control protocols not neededFlow control

Data rate of multiplexed line is fixed If one channel receiver can not receive data, the

others must carry on The corresponding source must be quenched This leaves empty slots

Error control Errors are detected and handled by individual

channel systems

Page 58: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Data Link Control on TDM

Page 59: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

FramingNo flag or SYNC characters bracketing

TDM framesMust provide synchronizing mechanismAdded digit framing

One control bit added to each TDM frameLooks like another channel - “control channel”

Identifiable bit pattern used on control channel e.g. alternating 01010101…unlikely on a data

channel Can compare incoming bit patterns on each

channel with sync pattern

Page 60: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Pulse StuffingProblem - Synchronizing data sourcesClocks in different sources driftingData rates from different sources not

related by simple rational numberSolution - Pulse Stuffing

Outgoing data rate (excluding framing bits) higher than sum of incoming rates

Stuff extra dummy bits or pulses into each incoming signal until it matches local clock

Stuffed pulses inserted at fixed locations in frame and removed at demultiplexer

Page 61: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

TDM of Analog and Digital Sources

Page 62: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Digital Carrier SystemsHierarchy of TDMUSA/Canada/Japan use one systemITU-T use a similar (but different) systemUS system based on DS-1 formatMultiplexes 24 channelsEach frame has 8 bits per channel plus

one framing bit193 bits per frame

Page 63: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Digital Carrier Systems (2)For voice each channel contains one word of

digitized data (PCM, 8000 samples per sec) Data rate 8000x193 = 1.544Mbps Five out of six frames have 8 bit PCM samples Sixth frame is 7 bit PCM word plus signaling bit Signaling bits form stream for each channel

containing control and routing info

Same format for digital data 23 channels of data

7 bits per frame plus indicator bit for data or systems control

24th channel is sync

Page 64: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Mixed DataDS-1 can carry mixed voice and data

signals24 channels usedNo sync byteCan also interleave DS-1 channels

Ds-2 is four DS-1 giving 6.312Mbps

Page 65: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

ISDN User Network InterfaceISDN allows multiplexing of devices over

single ISDN lineTwo interfaces

Basic ISDN Interface Primary ISDN Interface

Page 66: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Basic ISDN Interface (1)Digital data exchanged between subscriber

and NTE - Full DuplexSeparate physical line for each directionPseudoternary coding scheme

1=no voltage, 0=positive or negative 750mV +/-10%

Data rate 192kbpsBasic access is two 64kbps B channels and

one 16kbps D channelThis gives 144kbps multiplexed over 192kbpsRemaining capacity used for framing and sync

Page 67: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Basic ISDN Interface (2)B channel is basic iser channelDataPCM voiceSeparate logical 64kbps connections o

different destinationsD channel used for control or data

LAPD frames

Each frame 48 bits longOne frame every 250s

Page 68: Network Protocols Unit II – ATM AND BISDN. Protocol Architecture zSimilarities between ATM and packet switching yTransfer of data in discrete chunks yMultiple

Frame Structure