Chapter 18 VirtualCircuit Networks Frame Relay and ATM

  • Slides: 43
Download presentation
Chapter 18 Virtual-Circuit Networks: Frame Relay and ATM Kyung Hee University 1

Chapter 18 Virtual-Circuit Networks: Frame Relay and ATM Kyung Hee University 1

18 -1 FRAME RELAY Frame Relay is a virtual-circuit wide-area network that was designed

18 -1 FRAME RELAY Frame Relay is a virtual-circuit wide-area network that was designed in response to demands for a new type of WAN in the late 1980 s and early 1990 s. Topics discussed in this section: Architecture Frame Relay Layers Extended Address FRADs VOFR LMI Kyung Hee University 2

Frame Relay q. Frame Relay v. Prior to FR, they were using a virtual-circuit

Frame Relay q. Frame Relay v. Prior to FR, they were using a virtual-circuit switching network called X. 25. v. Drawbacks of X. 25 l l l X. 25 has a low 64 kbps data rate. X. 25 has extensive flow and error control at the data & the network layer - Flow & error control at both layers create a large overhead and slow down transmissions. X. 25 has its own network layer that user’s data are encapsulated in the network layer packets of X. 25. - Internet has its own network layer. - If the Internet wants to use X. 25, this doubles the overhead. Kyung Hee University 3

X. 25 vs. Frame Relay Feature X. 25 Connection establishment At the network layer

X. 25 vs. Frame Relay Feature X. 25 Connection establishment At the network layer Hop-by-hop flow control and error control End-to-end flow control and error control Data rate Frame Relay None At the data link layer None At the network layer None Fixed Bursty Multiplxing At the network layer At the data link layer Congestion control Not necessary Necessary Kyung Hee University 4

X. 25 vs. Frame Relay Kyung Hee University 5

X. 25 vs. Frame Relay Kyung Hee University 5

Features of Frame Relay q Operating in higher speed such as 1. 544 Mbps,

Features of Frame Relay q Operating in higher speed such as 1. 544 Mbps, 45 Mbps q Operating in just the physical and data link layers q Allowing bursty data q Allowing a frame size of 9000 bytes, which can accommodate all local area network fame sizes q less expensive q Error detection at the data link layer only v no flow control or error control Kyung Hee University 6

Architecture (Frame Relay) Figure 18. 1 Frame Relay network Kyung Hee University 7

Architecture (Frame Relay) Figure 18. 1 Frame Relay network Kyung Hee University 7

Virtual Circuit (Frame Relay) q A Virtual Circuit Identifier (VCI) in FR is identified

Virtual Circuit (Frame Relay) q A Virtual Circuit Identifier (VCI) in FR is identified by a number called a Data Link Connection Identifier (DLCI) q. Permanent Virtual Circuits (PVC) v. The connection setup is simple. The corresponding table entry is recorded for all switches by the administrator. Kyung Hee University 8

Virtual Circuit (Frame Relay) q Switched Virtual Circuit (SVC) v The SVC creates a

Virtual Circuit (Frame Relay) q Switched Virtual Circuit (SVC) v The SVC creates a temporary, short connection that exists only when data are being transferred between source and destination. Kyung Hee University 9

FR Switch q. Switches v. Each switch in a Frame Relay network has a

FR Switch q. Switches v. Each switch in a Frame Relay network has a table to route frames. Kyung Hee University 10

Frame Relay Layers q Frame Relay operates only at the physical and data link

Frame Relay Layers q Frame Relay operates only at the physical and data link layers q Frame Relay does not provide flow or error control; they must be provided by the upper-layer protocols. Kyung Hee University 11

Frame Relay frame Figure 18. 3 Frame Relay frame EA 0 : meaning that

Frame Relay frame Figure 18. 3 Frame Relay frame EA 0 : meaning that another address byte is to follow DE 1 : to discard this frame if there is congestion Kyung Hee University 12

Frame Relay frame (EXTENDED ADDRESS) Figure 18. 4 Three address formats Kyung Hee University

Frame Relay frame (EXTENDED ADDRESS) Figure 18. 4 Three address formats Kyung Hee University 13

FRAD q FRAD (Frame Relay Assembler/ Disassembler) v A FRAD assembles and disassembles frames

FRAD q FRAD (Frame Relay Assembler/ Disassembler) v A FRAD assembles and disassembles frames coming from other protocols to allow them to be carried by Frame Relay frames. Figure 18. 5 FRAD Kyung Hee University 14

Voice Over Frame Relay q VOFR (Voice Over Frame Relay) v VOFR sends voice

Voice Over Frame Relay q VOFR (Voice Over Frame Relay) v VOFR sends voice through the network. v Voice is digitized using PCM and then compressed. v. The result is sent as data frames over the network. q LMI (Local Management Information) v F/R was originally designed to provide PVC connections. l There was not a provision for controlling or managing intefaces. v. LMI is a protocol added recently to the FR protocol to provide more management features. l l l A keep alive mechanism to check if data are flowing. Multicasting mechanism A mechanism to allow an end system to check the status of a switch. Kyung Hee University 15

Congestion Control (Frame Relay) q Congestion Avoidance v. The FR protocol uses 2 bits

Congestion Control (Frame Relay) q Congestion Avoidance v. The FR protocol uses 2 bits in the frame to explicitly warn the source and the destination of the presence of congestion. q BECN(Backward Explicit Congestion Notification) v. BECN bit warns the sender of congestion in the network. Kyung Hee University 16

Congestion Control (Frame Relay) q. FECN(Forward Explicit Congestion Notification) v. FECN bit is used

Congestion Control (Frame Relay) q. FECN(Forward Explicit Congestion Notification) v. FECN bit is used to warn the receiver of congestion in the network. Kyung Hee University 17

Congestion Control (Frame Relay) q 4 cases of congestion Kyung Hee University 18

Congestion Control (Frame Relay) q 4 cases of congestion Kyung Hee University 18

18 -2 ATM Asynchronous Transfer Mode (ATM) is the cell relay protocol designed by

18 -2 ATM Asynchronous Transfer Mode (ATM) is the cell relay protocol designed by the ATM Forum and adopted by the ITU-T. Topics discussed in this section: Design Goals Problems Architecture Switching ATM Layers Kyung Hee University 19

ATM - Design Requirements v. Foremost is the need for a transmission system to

ATM - Design Requirements v. Foremost is the need for a transmission system to optimize the use of high-data-rate transmission media, in particular optical fiber. l A technology is needed to take advantage of large bandwidth and strength to noise degradation. v. The system must interface with existing systems. v. Must be implemented inexpensively. v. The new system must be able to work with and support the existing telecommunications hierarchies. v. The new system must be connection-oriented to endure accurate and predictable delivery. v. One objective is to move as many of the function to hardware as possible and eliminate as many software functions as possible. Kyung Hee University 20

Problems (ATM) q. Problems associated with existing systems. v. Frame networks l l Different

Problems (ATM) q. Problems associated with existing systems. v. Frame networks l l Different protocols use frames of varying size and intricacy. As networks become more complex, the information that must be carried in the header becomes more extensive. v. Mixed network traffic l l The variety of frame size makes traffic unpredictable. Internetworking among the different frame networks is slow and expensive at best, and impossible at worst. - The sheer size of X creates an unfair delay for frame A. Kyung Hee University 21

Cell Networks (Multiplexing Using Cells) q Cell Networks v. A cell is a small

Cell Networks (Multiplexing Using Cells) q Cell Networks v. A cell is a small data unit of fixed size. v Cell network uses the cell as the basic unit of data exchange, all data are loaded into identical cells that can be transmitted with complete predictability and uniformity. v. Because each cell is the same size and all are small, the problems associated with multiplexing different-sized frames are avoided. v. Despite interleaving, a cell network can handle real-time transmissions, such as a phone call, without the parties being aware of the segmentation or multiplexing at all. Kyung Hee University 22

Asynchronous TDM q Asychronous. TDM v. ATM uses asynchronous time-division multiplexing – that is

Asynchronous TDM q Asychronous. TDM v. ATM uses asynchronous time-division multiplexing – that is why it is called Asynchronous Transfer Mode – to multiplex cells coming from different channels. Kyung Hee University 23

Architecture of ATM Network q Architecture v ATM is a cell-switched network. v. The

Architecture of ATM Network q Architecture v ATM is a cell-switched network. v. The user access devices, called the endpoints, are connected through a UNI (User- to-Network Interface) to the switches inside the network. v. The switches are connected through NNI (Networkto-Network interface). Kyung Hee University 24

Virtual Connection of ATM Network q. Virtual Connection – Connection between two endpoints is

Virtual Connection of ATM Network q. Virtual Connection – Connection between two endpoints is accomplished through transmission paths (TPs), Virtual paths (VPs), and Virtual circuits (VCs). v. TP (Transmission Path) l TP is the physical connection (cable, satellite, and so on) between an endpoint and a switch or between two switches. v. VP (Virtual Path) l VP provides a connection or a set of connections between two switches. (A TP is divided into several VPs) v. VC (Virtual Circuit) l A VP is logically divided into several VCs. l Think of a VC as the lanes of highway (VP). Kyung Hee University 25

Virtual Connection of ATM Kyung Hee University 26

Virtual Connection of ATM Kyung Hee University 26

Example of VPs and VCs q Identifiers v VPI (Virtual Path Identifier) l The

Example of VPs and VCs q Identifiers v VPI (Virtual Path Identifier) l The VPI defines the specific VP. v VCI (Virtual Circuit Identifier) l The VCI defines a particular VC inside the VP. Kyung Hee University 27

Connection Identifiers Note that a virtual connection is defined by a pair of numbers:

Connection Identifiers Note that a virtual connection is defined by a pair of numbers: the VPI and the VCI. Kyung Hee University 28

Virtual connection identifiers in UNIs and NNIs q VPI for UNI and NNI v

Virtual connection identifiers in UNIs and NNIs q VPI for UNI and NNI v The lengths of the VPIs for UNIs(8 b) and NNIs(12 b) are different. v The lengths of the VCI is the same in both interface (16 bits) v Dividing a VCI into two parts is to allow hierarchical routing. v Most of the switches in typical ATM network are routed using VPIs. v The switches at the boundaries of the network, those that interact directly with the endpoint devices, use both VPIs and VCIs. Kyung Hee University 29

An ATM Cell q cells v The basic data unit in an ATM network

An ATM Cell q cells v The basic data unit in an ATM network is called a cell. v A cell is only 53 bytes long l 5 bytes allocated to the header l 48 bytes carrying the payload. Kyung Hee University 30

PVC & SVC q. Connection Establishment and Release v PVC l The VPIs and

PVC & SVC q. Connection Establishment and Release v PVC l The VPIs and VCIs are defined for the permanent connections, and the values are entered for the tables of each switch. v SVC l l Each time an endpoint wants to make a connection with another endpoint, a new virtual circuit must be established. ATM cannot do the job by itself, but needs the network layer addresses and the services of another protocol (such as IP). Kyung Hee University 31

Routing with a ATM Switch q. Switching v. A switch routes the cell using

Routing with a ATM Switch q. Switching v. A switch routes the cell using both the VPIs and VCIs. v The routing requires the whole identifier. Kyung Hee University 32

ATM Layers q. ATM Layers v AAL (Application Adaptation Layer) v ATM layer v

ATM Layers q. ATM Layers v AAL (Application Adaptation Layer) v ATM layer v Physical layer Kyung Hee University 33

ATM layers in endpoint devices and switches q ATM layers v. The switches use

ATM layers in endpoint devices and switches q ATM layers v. The switches use only the two bottom layers. v. The endpoints use all three layers. Kyung Hee University 34

Physical Layer q Physical Layer v. ATM cells can be carried by any physical

Physical Layer q Physical Layer v. ATM cells can be carried by any physical layer carrier. v. ATM layer is divided into two parts. l l Physical medium : 매체와 비트 타이밍 기능 정의 Transmission convergence : 셀의 생성 및 전송 확인 v. SONET l l l ATM was based on SONET as the physical layer carrier. The high data rate of SONET reflects the philosophy of ATM. The boundaries of cells can be clearly defined in using SONET. v. Other Physical Technologies l l l ATM does not limit the physical layer to SONET. Other technologies, even wireless, may be used, If the problem of cell boundaries are solved. One solution is for the receiver to guess the end of the cell and apply the CRC to the 5 -byte header. Kyung Hee University 35

ATM Layer q ATM Layer v ATM layer provides routing, traffic management, switching, and

ATM Layer q ATM Layer v ATM layer provides routing, traffic management, switching, and multiplexing services. v Outgoing Processes l Accepting 48 -byte segment from the AAL sublayer l. Transforming them into 53 -byte cells by the adding of a 5 -byte header. Kyung Hee University 36

ATM Headers q ATM Header Format v Format for UNI Cells : User-to-Network Interface

ATM Headers q ATM Header Format v Format for UNI Cells : User-to-Network Interface v Format for NNI Cells : Network-to-Network Interface. Kyung Hee University 37

ATM Headers q Generic flow control (GFC) v The 4 -bit GFC field provides

ATM Headers q Generic flow control (GFC) v The 4 -bit GFC field provides flow control at the UNI level. v UNI level of flow control is not necessary at the NNI level, therefore, these bits are added to the VPI. q Virtual Path Identifier (VPI) v The VPI is an 8 -bit field in a UNI cell and a 12 -bit field in an NNI cell. q Virtual Circuit Identifier (VCI) v The VCI is a 16 -bit field in both frames. q Payload Type (PT) v 3 -bit PT field defines the payload as user data or managerial information. q Cell loss Priority (CLP) v The 1 -bit CLP field is provided for congestion control. v A cell with its CLP bit set to 1 must be retained as long as there are cells with CLP of 0. q Header Error Correction (HEC) v The HEC is a code computed for the first 4 bytes of the header. v It is a CRC that is used to correct single-bit errors and a large class of multiple-bit errors. Kyung Hee University 38

Application Adaptation Layer (AAL) q. Application Adaptation Layer (AAL) v ATM must accept any

Application Adaptation Layer (AAL) q. Application Adaptation Layer (AAL) v ATM must accept any type of payload, both data frames and streams of bits. v Segmentation and Reassembly (SAR) sublayer l The AAL defines a SAR sublayer, to do so, segmentation is at the source; reassembly, at the destination. v Convergence Sublayer (CS) l Before data are segmented by SAR, they must be prepared to guarantee the integrity of the data. This is done by a CS. ATM defines four versions of the AAL : l AAL 1, AAL 2, AAL 3/4, and AAL 5 Kyung Hee University 39