Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Ch. 10 Circuit Switching and Packet Switching
TELE202 Lecture 7 X.25 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Routing in WAN »Source: chapter 10 ¥This Lecture »X.25 »Source: chapter 10 ¥Next.
Data and Computer Communications Ninth Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching Data and Computer Communications,
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
1 Frame Relay u Packet switching system with low overhead u Assumes very reliable high-quality physical network u Developed for use in ISDN networks u.
Circuit Switching Blocking occurs when the network is unable to connect to stations because all possible paths between them are already in use. Non-blocking.
Date Network Support Content 1. Integrated Services Digital Network (ISDN) 2. Asymmetric Digital Subscriber Line (ADSL) 3. X.25 and Frame Relay 4. Asynchronous.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
ECEN “Mobile Wireless Networking”
Chapter 8 Switching Switching at the physical layer in the traditional telephone network uses the circuit-switching approach.
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Switching En. Mohd Nazri Mahmud MPhil (Cambridge, UK)
Data Communications Packet Switching.
William Stallings Data and Computer Communications 7th Edition
Data Communications Circuit Switching. Switching Networks Long distance transmission is typically done over a network of switched nodes Nodes not concerned.
Chapter 10 Circuit Switching and Packet Switching.
Telecommunication Technologies
EE 4272Spring, 2003 Chapter 9: Circuit Switching Switching Networks Circuit-Switching Networks Circuit-Switching Concept  Space-Division Switching  Time-Division.
1 Pertemuan 25 High Speed Network Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Networks Switching Technologies. 2 Switched Network Long distance transmission typically done over a network of switched nodes End devices.
ECS 152A 7. Circuit Switching, Packet Switching, and Frame Relay.
Data Communications and Networks Chapter 2 - Network Technologies - Circuit and Packet Switching Data Communications and Network.
Switching Techniques Student: Blidaru Catalina Elena.
Data Communications and Networking
MODULE IV SWITCHED WAN.
Communication Networks
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
William Stallings Data and Computer Communications 7 th Edition Chapter 10 Circuit Switching and Packet Switching.
Aegis School of Telecommunication Chapter 10 Circuit Switching and Packet Switching Telecom Systems I by Dr. M. G.
Ch. 10 Circuit Switching and Packet Switching Switched Communication Networks Fig Simple switching network. –End stations are attached to.
1 9. Circuit Switching. Prof. Sang-Jo Yoo 2 Contents  Switching Networks  Circuit-Switching Networks  Switching Concepts  Routing in Circuit-Switching.
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
Switching Networks Long-distance transmission is typically done over a network of switched nodes Nodes not concerned with content of data End devices are.
Computer Networks with Internet Technology William Stallings
William Stallings Data and Computer Communications Chapter 9 Circuit Switching.
CSCI 465 D ata Communications and Networks Lecture 14 Martin van Bommel CSCI 465 Data Communications & Networks 1.
DATA COMMUNICATION (ELA…) CIRCUIT SWITCHING AND PACKET SWITCHING 1.
Data and Computer Communications Chapter 11 – Asynchronous Transfer Mode.
Chapter 13: Frame Relay & ATM Business Data Communications, 5e.
Lecture 12 X.25. X.25 is a packet switching wide area network developed by ITU-T in Originally it was designed for private use Definition : X.25.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 4 Frame Relay by Zornitza Genova Prodanoff.
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
1 Chapter 3. Communication Networks Wen-Shyang Hwang KUAS EE.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Data and Computer Communications 8 th and 9 th Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Data and Computer Communications Ninth Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching Data and Computer Communications,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Packet Switching Networks & Frame Relay
Unit 1:Frame Relay.
Packet Switching Datagram Approach Virtual Circuit Approach
William Stallings Data and Computer Communications
Chapter 4 Frame Relay Chapter 4 Frame Relay.
CDA 6505 Network Architecture and Client/Server Computing
UNIT I – FRAME RELAY AND ISDN
Data Communication Networks
Switching Techniques.
William Stallings Data and Computer Communications 7th Edition
Chapter 11. Frame Relay Background Frame Relay Protocol Architecture
Data and Computer Communications
Presentation transcript:

Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching

Circuit Switching and Packet Switching He got into a District Line train at Wimbledon Park, changed on to the Victoria Line at Victoria and on to the Jubilee Line at Green Park for West Hampstead. It was a long and awkward journey but he enjoyed it. —King Solomon's Carpet, Barbara Vine (Ruth Rendell)

Switched Network

Nodes  a collection of nodes and connections is a communications network  nodes may connect to other nodes only, or to stations and other nodes  network is usually partially connected some redundant connections are desirable some redundant connections are desirable  have two different switching technologies circuit switching circuit switching packet switching packet switching

Circuit Switching  uses a dedicated path between two stations  has three phases establish establish transfer transfer disconnect disconnect  inefficient channel capacity dedicated for duration of connection channel capacity dedicated for duration of connection if no data, capacity wasted if no data, capacity wasted  set up (connection) takes time  once connected, transfer is transparent

Public Circuit Switched Network

Circuit Establishment

Circuit Switch Elements

Blocking or Non-blocking  blocking network may be unable to connect stations because all paths are in use may be unable to connect stations because all paths are in use used on voice systems used on voice systems  non-blocking network permits all stations to connect at once permits all stations to connect at once used for some data connections used for some data connections

Space Division Switch

3 Stage Space Division Switch

E.g. Banyan Switch (ATM)

Time Division Switching  modern digital systems use intelligent control of space & time division elements  use digital time division techniques to set up and maintain virtual circuits  partition low speed bit stream into pieces that share higher speed stream  individual pieces manipulated by control logic to flow from input to output

Time-division Switching

Time-division Switching (cont)  Control of a TDM bus switch X X X X X X 1  3 2  5 4  6 3  1 5  2 6  4 Control logic Control memory

Traditional Circuit Switching

Softswitch

Packet Switching  circuit switching was designed for voice  packet switching was designed for data  transmitted in small packets  packets contains user data and control info user data may be part of a larger message user data may be part of a larger message control info includes routing (addressing) info control info includes routing (addressing) info  packets are received, stored briefly (buffered) and past on to the next node

Packet Switching

Advantages  line efficiency single link shared by many packets over time single link shared by many packets over time packets queued and transmitted as fast as possible packets queued and transmitted as fast as possible  data rate conversion stations connects to local node at own speed stations connects to local node at own speed nodes buffer data if required to equalize rates nodes buffer data if required to equalize rates  packets accepted even when network is busy  priorities can be used

Switching Techniques  station breaks long message into packets  packets sent one at a time to the network  packets can be handled in two ways datagram datagram virtual circuit virtual circuit

Datagram Diagram

Virtual Circuit Diagram

Virtual Circuits vs. Datagram  virtual circuits network can provide sequencing and error control network can provide sequencing and error control packets are forwarded more quickly packets are forwarded more quickly less reliable less reliable  datagram no call setup phase no call setup phase more flexible more flexible more reliable more reliable

Packet Size

Circuit vs. Packet Switching  Table 10.1  performance depends on various delays propagation delay propagation delay transmission time transmission time node delay node delay  range of other characteristics, including: transparency transparency amount of overhead amount of overhead

Event Timing

Integrated Services for Digital Network (ISDN)  ISDN, set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network.

X.25  ITU-T standard for interface between host and packet switched network  almost universal on packet switched networks and packet switching in ISDN  defines three layers Physical Physical Link Link Packet Packet

X.25 - Physical  interface between station node link  two ends are distinct Data Terminal Equipment DTE (user equipment) Data Terminal Equipment DTE (user equipment) Data Circuit-terminating Equipment DCE (node) Data Circuit-terminating Equipment DCE (node)  physical layer specification is X.21  can substitute alternative such as EIA-232

X.25 - Link  Link Access Protocol Balanced (LAPB)  provides reliable transfer of data over link  sending as a sequence of frames zsynchronous transmission of frames zsingle frame format used

X.25 - Packet  provides a logical connections (virtual circuit) between subscribers  all data in this connection form a single stream between the end stations  established on demand  termed external virtual circuits

X.25 - Packet  A connection between two devices that acts as though it's a direct connection even though it may physically be circuitous. The term is used most frequently to describe connections between two hosts in a packet- switching network. In this case, the two hosts can communicate as though they have a dedicated connection even though the packets might actually travel very different routes before arriving at their destination. An X.25 connection is an example of a virtual circuit.

X.25 Use of Virtual Circuits

User Data and X.25 Protocol Control Information

Issues with X.25  key features include: call control packets, used for setting up and clearing virtual circuits, are carried on the same channel and same virtual circuit as data packets. in band signaling call control packets, used for setting up and clearing virtual circuits, are carried on the same channel and same virtual circuit as data packets. in band signaling multiplexing of virtual circuits at layer 3 multiplexing of virtual circuits at layer 3 layers 2 and 3 include flow and error control layers 2 and 3 include flow and error control

Issues with X.25  hence have considerable overhead At each hop through the network, the data link control protocol involves the exchange of a data frame and an acknowledgment frame. At each hop through the network, the data link control protocol involves the exchange of a data frame and an acknowledgment frame. at each intermediate node, state tables must be maintained for each virtual circuit to deal with the call management and flow control/error control aspects of the X.25 protocol at each intermediate node, state tables must be maintained for each virtual circuit to deal with the call management and flow control/error control aspects of the X.25 protocol  not appropriate for modern digital systems with high reliability

Frame Relay  Designed to eliminate most X.25 overhead Reliable links, High data rates Reliable links, High data rates  has large installed base  key differences: call control carried in separate logical connection call control carried in separate logical connection multiplexing and switching of logical connections at layer 2 multiplexing and switching of logical connections at layer 2 no hop by hop error or flow control no hop by hop error or flow control hence end to end flow and error control (if used) are done by higher layer hence end to end flow and error control (if used) are done by higher layer  a single user data frame is sent from source to destination and higher layer ACK sent back

Advantages and Disadvantages  Dis of frame relay lost link by link error and flow control lost link by link error and flow control  Due to increasing reliability of transmission and switching facilities, less an issue  streamlined communications process protocol functionality required at the user-network interface is reduced protocol functionality required at the user-network interface is reduced lower delay lower delay higher throughput higher throughput  frame relay can be used for access speeds up to and over 2Mbps

Protocol Architecture C-plane protocols are between a subscriber and the network, while U-plane protocols provide end-to-end functionality.

LAPF Functionality  LAPF (Link Access Procedure for Frame Mode Bearer Services) defined in Q.922  only core functionality used: frame delimiting, alignment and transparency frame delimiting, alignment and transparency frame mux and demux using addressing field frame mux and demux using addressing field ensure frame is integral number of octets ensure frame is integral number of octets ensure frame is neither too long nor short ensure frame is neither too long nor short detection of transmission errors detection of transmission errors congestion control functions congestion control functions

LAPF Functionality  form a sublayer of the data link layer. service of transferring data link frames from one subscriber to another, service of transferring data link frames from one subscriber to another, with no flow control or error control. with no flow control or error control. above this, the user may choose to select additional data link or network-layer end-to-end functions. These are not part of the frame relay service. above this, the user may choose to select additional data link or network-layer end-to-end functions. These are not part of the frame relay service.  A network offers frame relay as a connection- oriented link layer service with the following properties: Preservation of the order of frame transfer from one edge of the network to the other Preservation of the order of frame transfer from one edge of the network to the other A small probability of frame loss A small probability of frame loss

Frame Relay Data Link Connections  logical connection between subscribers  data transferred over them  not protected by flow or error control (diff X.25)  uses separate connection for call control (diff X.25)  overall results in significantly less work in network User data are transmitted in frames with virtually no processing by the intermediate network nodes, User data are transmitted in frames with virtually no processing by the intermediate network nodes, check for errors and to route based on connection number. check for errors and to route based on connection number. A frame in error is simply discarded, leaving error recovery to higher layers. A frame in error is simply discarded, leaving error recovery to higher layers.

User Data Transfer  only have one frame type which carries user data carries user data  no control frames means no inband signaling no inband signaling no sequence numbers no sequence numbers  flag and FCS function as in HDLC  address field carries DLCI  DLCI (Data Link Connection Identifier) has local significance only

Summary  circuit verses packet switching network approaches  X.25  frame relay