High speed Networking

1,316 views
1,230 views

Published on

First Unit of High Speed Networking in B.E., M.E.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,316
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
71
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

High speed Networking

  1. 1. UNIT I
  2. 2. Introduction
  3. 3. <ul><li>Switching </li></ul><ul><li>A switch is a mechanism that allows us to interconnect links to form a larger network. A switch is a multi-input, multi-output device, which transfers packets from an input to one or more outputs. </li></ul>(a) Circuit switching. (b) Packet switching
  4. 4. Circuit Switching <ul><li>Seeking out and establishing a physical copper path from end-to-end </li></ul><ul><li>Circuit switching implies the need to first set up a dedicated, end-to-end path for the connection before the information transfer takes place. </li></ul><ul><li>Once the connection is made the only delay is propagation time. </li></ul><ul><li>Store-and-Forward Networks (Packet Switching) </li></ul><ul><li>Intermediate processors (IMPS, nodes, routers, gateways, switches) along the path store the incoming block of data. </li></ul><ul><li>Each block is received in its entirety, inspected for errors, and retransmitted along the path to the destination. This implies buffering at the router and one transmission time per hop . </li></ul>
  5. 5. Packet Switched Networks
  6. 6. <ul><li>Basic technology the same as in the 1970s </li></ul><ul><li>One of the few effective technologies for long distance data communications </li></ul><ul><li>Frame relay and ATM are variants of packet-switching </li></ul><ul><li>Advantages: </li></ul><ul><ul><li>flexibility, resource sharing, robust, responsive </li></ul></ul><ul><li>Disadvantages: </li></ul><ul><ul><li>Time delays in distributed network, overhead penalties </li></ul></ul><ul><ul><li>Need for routing and congestion control </li></ul></ul><ul><li>Advantages over Circuit-Switching </li></ul><ul><li>Greater line efficiency </li></ul><ul><li> Many packets can go over shared link </li></ul><ul><li>Data rate conversions </li></ul><ul><li> Two stations of different data rates can exchange packets. </li></ul><ul><li>Non-blocking under heavy traffic (but increased delays) </li></ul>
  7. 7. Disadvantages relative to Circuit-Switching <ul><li>Packets incur additional delay with every node they pass through </li></ul><ul><li>Jitter: variation in packet delay </li></ul><ul><li>Data overhead in every packet for routing information, etc </li></ul><ul><li>Processing overhead for every packet at every node traversed </li></ul>
  8. 8. Switching Technique <ul><li>Large messages broken up into smaller packets </li></ul><ul><li>Datagram </li></ul><ul><ul><li>Each packet sent independently of the others </li></ul></ul><ul><ul><li>No call setup </li></ul></ul><ul><ul><li>More reliable (can route around failed nodes or congestion) </li></ul></ul><ul><li>Virtual circuit </li></ul><ul><ul><li>Fixed route established before any packets sent </li></ul></ul><ul><ul><li>No need for routing decision for each packet at each node </li></ul></ul>
  9. 11. X.25 <ul><li>X.25 is a packet-switching wide area network developed by ITU-T in 1976. </li></ul><ul><li>X.25 defines how a packet-mode terminal can be connected to a packet network for the exchange of data. </li></ul><ul><li>X.25 is what is known as subscriber network interface (SNI) protocol . </li></ul><ul><li>It defines how the user’s DTE communicates with the network and how packets are sent over that network using DCEs. </li></ul>
  10. 12. X.25 Devices <ul><li>Data Terminal Equipment (DTE) </li></ul><ul><ul><li>Terminals, personal computers, and network hosts </li></ul></ul><ul><ul><li>Located on premises of subscriber </li></ul></ul><ul><li>Data Circuit-terminating Equipment (DCE) </li></ul><ul><ul><li>Modems and packet switches </li></ul></ul><ul><ul><li>Usually located at carrier facility </li></ul></ul><ul><li>Packet Switching Exchange (PSE) </li></ul><ul><ul><li>Switches that make up the carrier network </li></ul></ul>
  11. 14. <ul><li>X.25 network is a packet switching network that used X.25 protocol. </li></ul><ul><li>X.25 is a standard packet switching protocol that has been widely used in WAN. </li></ul><ul><li>X.25 is a standard for interface between the host system with the packet switching network in which it defines how DTE is connected and communicates with packet switching network. </li></ul><ul><li>It uses a virtual circuit approach to packet switching (SVC and PVC) and uses asynchronous (statistical) TDM to multiplex packets. </li></ul>
  12. 15. X.25 Layers in Relation to the OSI Layers
  13. 16. <ul><li>X.25 protocol specifies three layers: </li></ul><ul><li>Physical Layer (X.21) </li></ul><ul><li>Frame Layer (LAPB) (Link level) </li></ul><ul><li>Packet Layer (PLP) (Packet Layer Protocol) </li></ul>X.25 Layers
  14. 17. X.25 mapping to OSI Model Application Presentation Session Transport Network Data Link Physical PLP LAPB x.21 bis, EIA/TIA-232, EIA/TIA-449, EIA-530, G.703 Other Services X.25 Protocol Suite
  15. 18. <ul><li>Specifies the physical interface between the node (computer, terminal) and the link that connected to X.25 network. </li></ul><ul><li>Specifies a protocol called X.21 or X.21bis (interface). </li></ul><ul><li>Similar enough to other PHY layer protocols, such as EIA-232. </li></ul>X.25 – Physical Layers
  16. 19. X.21 in PHY layer of X.25 <ul><li>X.21,sometimes referred to as X21, interface is a specification for differential communications introduced in the mid 1970’s by the ITU-T. X.21 was first introduced as a means to provide a digital signaling interface for telecommunications between carriers and customer’s equipment. This includes specifications for DTE/DCE physical interface elements, alignment of call control characters and error checking, elements of the call control phase for circuit switching services, and test loops. </li></ul><ul><li>When X.21 is used with V.11, it provides synchronous data transmission at rates from 100 kbit/s to 10 Mbit/s . There is also a variant of X.21 which is only used in select legacy applications, “circuit switched X.21”. X.21 normally is found on a 15-pin D Sub connector and is capable of running full-duplex data transmissions. </li></ul><ul><li>The Signal Element Timing, or clock, is provided by the carrier (your telephone company), and is responsible for correct clocking of the data. X.21 was primarily used in Europe and Japan, for example in the Scandinavian DATEX and German DATEX-L circuit switched networks during the 1980s. </li></ul>
  17. 20. X.21 hardware interface
  18. 22. X.25 Frame Layer <ul><li>Provides a reliable data transfer process through data link control which used link access procedure, balanced (LAPB) protocol. </li></ul><ul><li>There are 3 categories of frame involved in the LAPB frame format: </li></ul><ul><li>I-Frames – encapsulate PLP packets from the network layer and before being passed to the physical layer </li></ul><ul><li>S-Frames – flow and error control in the frame layer </li></ul><ul><li>U-Frames - used to set up and disconnect the links between a DTE and a DCE. </li></ul><ul><ul><li> In the frame layer, communication between a DTE - DCE involves three </li></ul></ul><ul><ul><li>phases: </li></ul></ul><ul><ul><li>1: Link Setup ; 2: Packet Transfer ; 3: Link Disconnect </li></ul></ul>
  19. 23. Format of a Frame in X.25
  20. 24. Frame Layer and Packet Layer Domains
  21. 25. Three Phases of the Frame Layer
  22. 26. X.25 Packet layer (PLP) <ul><li>Packet Layer Protocol (PLP) </li></ul><ul><li>- It is the network layer in X.25 </li></ul><ul><li>- This layer is responsible for establishing the connection, transferring the data, and terminating the connection between 2 DTEs . </li></ul><ul><li>- It also responsible for creating the virtual circuits and negotiating network services between two DTEs. </li></ul><ul><li>- Virtual circuits in X.25 are created at the network layer (not the data link layers as in some other wide area networks such as Frame Relay and ATM) </li></ul>
  23. 27. Implementation of X.25 <ul><li>X.25 protocol is a packet-switched virtual circuit network. </li></ul><ul><li>Virtual Circuit in X.25 created at the network layer. unlike Frame Relay and ATM which both VC created at Data Link Layer. </li></ul><ul><li>Fig 17.7 shows an X.25 network in which 3 virtual circuits have been created between DTE A and 3 other DTEs. </li></ul>
  24. 28. Frame Relay
  25. 31. Frame Relay Architecture <ul><li>X.25 has 3 layers: physical, link, network </li></ul><ul><li>Frame Relay has 2 layers: physical and data link (or LAPF) </li></ul><ul><li>LAPF core: minimal data link control </li></ul><ul><ul><li>Preservation of order for frames </li></ul></ul><ul><ul><li>Small probability of frame loss </li></ul></ul><ul><li>LAPF control: additional data link or network layer end-to-end functions </li></ul>
  26. 32. LAPF Core <ul><li>LAPF core protocol installed on all subscriber systems and on all frame relay nodes. LAPF core provides a minimal set of data link control functions </li></ul><ul><li>Frame delimiting, alignment and transparency </li></ul><ul><li>Frame multiplexing/demultiplexing </li></ul><ul><li>Inspection of frame for length constraints </li></ul><ul><li>Detection of transmission errors </li></ul><ul><li>Congestion control </li></ul>
  27. 33. LAPF-core Formats
  28. 34. <ul><li>The Flag field is a unique pattern that delimits the start and end of the frame. The FCS field is used for error detection. On transmission, the FCS checksum is calculated and stored in the FCS field. On reception, the checksum is again calculated and compared to the value strode in the incoming FCS field. I there is a mismatch, then the frame is assumed to be in error and is discarded. </li></ul><ul><li>The Address field has a default length of 2 octets and may be extended to 3 or 4 octets. It carries a data link connection identifier (DLCI) of 10,17, or 24 bits. The length of the Address field, and hence of the of the DLCI, is determined by the address field extension (EA) bits. The C/R bit is application specific and not used by the standard frame relay protocol. The remaining bits in the address field have to do with congestion control. </li></ul>
  29. 35. User Data Transfer <ul><li>No control field, which is normally used for: </li></ul><ul><ul><li>Identify frame type (data or control) </li></ul></ul><ul><ul><li>Sequence numbers </li></ul></ul><ul><li>Implication: </li></ul><ul><ul><li>Connection setup/teardown carried on separate channel </li></ul></ul><ul><ul><li>Cannot do flow and error control </li></ul></ul><ul><ul><li>Data transfer involves the following stages </li></ul></ul><ul><ul><li>Establish a logical connection between two end points, and assign a unique DLCI to the connection </li></ul></ul><ul><ul><li>Exchange information in data frames. Each frame includes a DLCI field to identify the connection </li></ul></ul><ul><ul><li>Release the logical connection </li></ul></ul>
  30. 36. Frame Relay Call Control <ul><li>4 message types needed </li></ul><ul><li>SETUP </li></ul><ul><li>CONNECT </li></ul><ul><li>RELEASE </li></ul><ul><li>RELEASE COMPLETE </li></ul><ul><li>A frame with DLCI = 0 contain a call control message in the information field. </li></ul><ul><li>Logical Connection established by sending a SETUP message. Upon receiving the SETUP message, must reply with a CONNECT message if it accepts the connection; otherwise it responds with a RELEASE COMPLETE message. The side sending the SETUP message may assign the DLCI by choosing an unused value and including this value in the SETUP message. </li></ul><ul><li>Either side may request to clear a logical connection by sending a RELEASE message. The other side, upon receipt of this message, must respond with a RELEASE COMPLETE message. </li></ul>
  31. 37. ATM <ul><li>Multi-speed network environment that provides a variety of complex network services </li></ul><ul><li>Can carry voice, data, video separately or simultaneously </li></ul><ul><li>Can be used in LANs, MANs, or WANs </li></ul><ul><li>Fixed-lenth packets (cells) </li></ul><ul><li>Allows multiple logical connections to be multiplexed </li></ul><ul><li>Minimal error and flow control capabilities </li></ul><ul><li>Connection-oriented virtual channel </li></ul>
  32. 38. Cell Switched ATM <ul><li>Similar to frame relay </li></ul><ul><li>Difference? </li></ul><ul><ul><li>Frame relay switches variable length frames within frame relay cloud from source to destination </li></ul></ul><ul><ul><li>ATM switches fixed-length cells (48 byte information field, 5 byte header) </li></ul></ul><ul><li>Based on packet switching (connection-oriented) </li></ul><ul><ul><li>Cell sequence integrity preserved via virtual channel </li></ul></ul><ul><ul><li>VCC – virtual channel connection – is set up between end users, variable rate, full duplex </li></ul></ul><ul><ul><li>VCC also used for control </li></ul></ul><ul><li>Information field is carried transparently through the network, with minimal error control </li></ul>
  33. 39. Protocol Architecture
  34. 40. <ul><li>User plane : Provides for user information, along with associated controls (e.g. flow control, error control) </li></ul><ul><li>Control plane : Performs call control and connection control functions </li></ul><ul><li>Management plane : Includes plane management, which performs management functions related to a system as a whole and provides coordination between all the planes, and layer management, which performs management functions relating to resources and parameters residing in its protocol entities </li></ul>
  35. 41. ATM Physical Layer <ul><li>Transports cells via a communications channel (either optical or electrical) </li></ul><ul><li>LAN support: 25-155 Mbps copper or fiber </li></ul><ul><li>WAN support: SONET rates over fiber </li></ul><ul><li>Physical Medium Sublayer: bit transfer, bit alignment, and copper/fiber conversions </li></ul><ul><li>Transmission Convergence Sublayer: bit/cell conversion at sending and receiving nodes </li></ul>
  36. 42. ATM Layer <ul><li>Handles functions of the network layer: </li></ul><ul><li>Connection-oriented without acknowledgements </li></ul><ul><li>Two possible interfaces: </li></ul><ul><ul><li>UNI – User-Network Interface: Boundary between an ATM network and host </li></ul></ul><ul><ul><li>NNI – Network-Network Interface: Between two ATM switches </li></ul></ul>
  37. 43. UNI/NNI Interface
  38. 44. ATM Adaptation Layer (AAL) <ul><li>Maps higher-layer information into ATM cells to be transported over an ATM network </li></ul><ul><li>Collects information from ATM cells for delivery to higher layers </li></ul>
  39. 45. Virtual Connections <ul><li>Virtual Channel Connection (VCC) – Full duplex virtual circuit with logical connection between source and destination – can be PVC or SVC </li></ul><ul><li>Virtual Path Connection (VPC) – Semi-permanent (or customer controlled or network controlled) connection that provides a logical collection of virtual channels that have the same endpoint </li></ul><ul><li>A single virtual path supports multiple virtual channels (analogy – highway = VPC, lane = VCC) </li></ul>
  40. 46. VCI vs VPI <ul><li>VPI – Virtual Path Identifier – identified in cell’s header. Cannot establish a virtual channel before virtual path </li></ul><ul><li>VCI – Virtual Channel Identifier – only have local significance – different virtual paths reuse VCIs (but VCIs on same path must be unique) </li></ul>
  41. 47. What is so special about a virtual path? <ul><li>ATM is connection-oriented, so circuit must be established before transmission </li></ul><ul><ul><li>As route established, VPIs and VCIs are assigned </li></ul></ul><ul><li>VPI and VCI info suffices for addressing info </li></ul><ul><li>Simplified network architecture (based on VC or VP) </li></ul><ul><li>Increased network performance and reliability (fewer, aggregated entities because of simplified network architecture) </li></ul><ul><li>Reduces processing and short connection setup time </li></ul><ul><li>User may define closed user group or closed networks of virtual channel bundles </li></ul>
  42. 48. ATM Connection Relationships
  43. 49. Definition of Terms <ul><li>COS – Class of Service – sets a priority of data delivery, based upon the class. Higher priority data get delivered before lower priority data (example – which should have higher priority – streaming video or email?) </li></ul><ul><li>QOS – Quality of Service – involves establishing certain parameters for a specific transmission – e.g. amount of bandwidth required for a given priority data transmission, max. amount of latency tolerated, etc </li></ul><ul><li>Both are required to deliver real-time voice and video traffic </li></ul>
  44. 50. Call Establishment Using VPs
  45. 51. VP/VC Characteristics <ul><li>Quality of service based on VCC </li></ul><ul><li>Switched and semi-permanent channel connections </li></ul><ul><li>Call sequence integrity – packets arrive in order </li></ul><ul><li>Traffic parameter negotiation and usage monitoring </li></ul><ul><li>VPC only </li></ul><ul><ul><li>Virtual channel identifier restriction within VPC – some VCCs reserved for network management </li></ul></ul>
  46. 52. ATM Cells <ul><li>Fixed size – 53 bytes </li></ul><ul><li>5 octet header </li></ul><ul><li>48 octet information field </li></ul><ul><li>Small cells reduce queuing delay for high priority cells </li></ul><ul><li>Small cells can be switched more efficiently </li></ul><ul><li>Easier to implement switching of small cells in hardware </li></ul>
  47. 53. ATM Cell Format
  48. 54. Header Format <ul><li>Generic flow control </li></ul><ul><ul><li>Only at user to network interface </li></ul></ul><ul><ul><li>Controls flow only at this point </li></ul></ul><ul><li>Virtual path identifier </li></ul><ul><li>Virtual channel identifier </li></ul><ul><li>Payload type </li></ul><ul><ul><li>e.g. user info or network management </li></ul></ul><ul><li>Cell loss priority </li></ul><ul><li>Header error control </li></ul>
  49. 55. Generic Flow Control (GFC) <ul><li>Control traffic flow at user to network interface (UNI) to alleviate short term overload </li></ul><ul><li>Two sets of procedures </li></ul><ul><ul><li>Uncontrolled transmission </li></ul></ul><ul><ul><li>Controlled transmission </li></ul></ul><ul><li>Every connection either subject to flow control or not </li></ul><ul><li>Flow control is from subscriber to network </li></ul><ul><ul><li>Controlled by network side </li></ul></ul>
  50. 56. ATM Service Categories <ul><li>ATM is designed to transfer many different types of traffic simultaneously, including real-time voice, video, and bursty TCP traffic </li></ul><ul><li>Way in which data flow is handled depends on the characteristics of the traffic flow and requirements of the application (ex. Real-time video must be delivered within minimum variation in delay) </li></ul><ul><li>Primary service categories – real time service, non-real time service </li></ul>
  51. 57. ATM Service Categories <ul><li>Real time </li></ul><ul><ul><li>Constant bit rate (CBR) </li></ul></ul><ul><ul><li>Real time variable bit rate (rt-VBR) </li></ul></ul><ul><li>Non-real time </li></ul><ul><ul><li>Non-real time variable bit rate (nrt-VBR) </li></ul></ul><ul><ul><li>Available bit rate (ABR) </li></ul></ul><ul><ul><li>Unspecified bit rate (UBR) </li></ul></ul><ul><ul><li>Guaranteed frame rate (GFR) </li></ul></ul>
  52. 58. Real Time Services <ul><li>If want to avoid or decrease variation of delay (jitter), use CBR or rt-VBR </li></ul><ul><li>CBR Fixed data rate continuously available </li></ul><ul><li>Commonly used for uncompressed audio and video </li></ul><ul><ul><li>Video conferencing </li></ul></ul><ul><ul><li>Interactive audio </li></ul></ul><ul><ul><li>A/V distribution and retrieval </li></ul></ul><ul><li>rt-VBR Best for time sensitive applications </li></ul><ul><ul><li>Tightly constrained delay and delay variation </li></ul></ul><ul><li>rt-VBR applications transmit at a rate that varies with time </li></ul><ul><ul><li>e.g. compressed video </li></ul></ul><ul><ul><li>Produces varying sized image frames </li></ul></ul><ul><ul><li>Original (uncompressed) frame rate constant (isochronous) </li></ul></ul><ul><ul><li>So compressed data rate varies </li></ul></ul><ul><li>Can statistically multiplex connections </li></ul>
  53. 59. Non-Real Time <ul><li>Intended for applications with bursty traffic and limited constraints on delay and delay variation </li></ul><ul><li>Greater flexibility, greater use of statistical multiplexing </li></ul>
  54. 60. nrt-VBR <ul><li>May be able to characterize expected traffic flow </li></ul><ul><li>Improve QoS in loss and delay </li></ul><ul><li>End system specifies: </li></ul><ul><ul><li>Peak cell rate </li></ul></ul><ul><ul><li>Sustainable or average rate </li></ul></ul><ul><ul><li>Measure of how bursty traffic is </li></ul></ul><ul><li>e.g. Airline reservations, banking transactions </li></ul>
  55. 61. UBR <ul><li>Unused capacity of CBR and VBR traffic made available to UBR </li></ul><ul><li>For application that can tolerate some cell loss or variable delays </li></ul><ul><ul><li>e.g. TCP based traffic </li></ul></ul><ul><li>Cells forwarded on FIFO basis </li></ul><ul><li>Best efforts service </li></ul>
  56. 62. ABR <ul><li>Application specifies peak cell rate (PCR) it will use and minimum cell rate (MCR) it requires </li></ul><ul><li>Resources allocated to give at least MCR </li></ul><ul><li>Spare capacity shared among ABR and UBR sources </li></ul><ul><li>e.g. LAN interconnection </li></ul>
  57. 63. Guaranteed Frame Rate (GFR) <ul><li>Designed to support IP backbone subnetworks </li></ul><ul><li>Purpose: optimize handling of frame based traffic passing from LAN through router to ATM backbone </li></ul><ul><ul><li>Used by enterprise, carrier and ISP networks </li></ul></ul><ul><ul><li>Consolidation and extension of IP over WAN </li></ul></ul><ul><li>UNI establishes hand shaking between NIC and switch </li></ul>
  58. 64. ATM versus Frame Relay <ul><li>Frame relay uses variable length frames </li></ul><ul><li>ATM fixed length cells </li></ul><ul><li>ATM has higher overhead, but faster speed and traffic management (better suited for video and voice) </li></ul>
  59. 65. Why is ATM so Efficient? <ul><li>Minimal error and flow control </li></ul><ul><ul><li>Reduces overhead of processing ATM cells </li></ul></ul><ul><ul><li>Reduces number of required overhead bits </li></ul></ul><ul><li>Fixed size simplified processing at each ATM node (can be switched more efficiently – more efficient use of router) </li></ul><ul><li>Small cells reduce queuing delay </li></ul><ul><li>Minimal addressing info on each cell </li></ul><ul><li>Efficient traffic management </li></ul><ul><li>Parallelism could be incorporated into the switching system if all packets were of the same length; multiple switching elements could be working in parallel performing the same operation on different packets. </li></ul>

×