CIRCUIT SWITCHING AND PACKET SWITCHING

Similar documents
Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Solution. (Chapters ) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Chapter 11: WAN. Abdullah Konak School of Information Sciences and Technology Penn State Berks. Wide Area Networks (WAN)

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Introduction to WAN Technologies

Introduction to Metropolitan Area Networks and Wide Area Networks

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

Network Technologies

WAN Data Link Protocols

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

: Instructor

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

New York University Computer Science Department Courant Institute of Mathematical Sciences

Introduction to WAN Technologies

Three Network Technologies

Introduction to Communication Networks Spring Unit 5 Switching Principles

MPLS. Packet switching vs. circuit switching Virtual circuits

Final for ECE374 05/06/13 Solution!!

Internet Packets. Forwarding Datagrams

CS335 Sample Questions for Exam #2

CMPT 165: The Internet, Part 3

Introduction, Rate and Latency

11/22/

Transport Layer Protocols

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Protocols and Architecture. Protocol Architecture.

Routing in packet-switching networks

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Protocol Architecture. ATM architecture

Exam 1 Review Questions

Transport and Network Layer

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Computer Networks Homework 1

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Fundamentals of Telecommunications

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Based on Computer Networking, 4 th Edition by Kurose and Ross

Lecture 21 ISDN Integrated Digital Network.

Cellular Technology Sections 6.4 & 6.7

Architecture and Performance of the Internet

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

VoIP network planning guide

CHAPTER 18 THE PUBLIC TELEPHONE NETWORK # DEFINITIONS TERMS

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

The Telephone Network. An Engineering Approach to Computer Networking

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

Multiplexing. Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single physical medium.

1 Introduction to mobile telecommunications

EECC694 - Shaaban. Transmission Channel

2 Basic Concepts. Contents

WAN Technology. Heng Sovannarith

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

White Paper: Voice Over IP Networks

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

Asynchronous Transfer Mode

ECE 358: Computer Networks. Homework #3. Chapter 5 and 6 Review Questions 1

Understand Wide Area Networks (WANs)

Network Layer: Network Layer and IP Protocol

High-Level Data Link Control

Multiprotocol Label Switching (MPLS)

WAN. Introduction. Services used by WAN. Circuit Switched Services. Architecture of Switch Services

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Master Course Computer Networks IN2097

SDH and WDM: a look at the physical layer

Course Duration: Course Content Course Description Course Objectives Course Requirements

Communication Networks. MAP-TELE 2011/12 José Ruela

SDH and WDM A look at the physical layer

Sol: Optical range from λ 1 to λ 1 +Δλ contains bandwidth

Network management and QoS provisioning - QoS in the Internet

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

Data Communication and Computer Network

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

Data Link Layer Overview

Nortel Technology Standards and Protocol for IP Telephony Solutions

Strategies. Addressing and Routing

Overview of WAN Connections Module 1

Understanding OpenFlow

Three Key Design Considerations of IP Video Surveillance Systems

Chapter 2 - The TCP/IP and OSI Networking Models

WAN Technologies Based on CCNA 4 v3.1 Slides Compiled & modified by C. Pham

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Communications and Computer Networks

Internet Architecture and Philosophy

CS 640: Introduction to Computer Networks. Goals of This Class. Goal of Networking. Page 1. Understand principles and practice of networking

Link Layer. 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization: ATM and MPLS

Transcription:

Islamic University Of Gaza Data Communication Faculty of Engineering Discussion Computer Department Chapter 10 Eng. Ahmed M. Ayash Date: 19/12/2012 Chapter 10 CIRCUIT SWITCHING AND PACKET SWITCHING Switched Network Consists of a series of interlinked nodes called switched. (Switching nodes). Figure 10.1 a simple network. 1

The devices attached to the network may be referred to as stations. The stations may be computers, terminals, telephones, or other communicating devices. Node-station links are generally dedicated point-to-point links. Node-node links are usually multiplexed, using either frequency division multiplexing (FDM) or time division multiplexing (TDM). Switching Network technologies Figure 10.2 Switching Network technologies. Circuit Switching: uses a dedicated path between two stations for communication. The link can be permanent (leased line) or temporary (telephone). Each connection uses only one dedicated channel on each link. Each link is normally divided into n channels by using FDM or TDM. Was designed for voice. Switching take place at physical layer Figure 10.3 Circuit Switching 2

Communication via circuit switching involves three phases: Circuit establishment (setup) - create dedicated channel by sending a request. Data transfer. Circuit disconnect (teardown) - Signal is sent to each switch to release resources. Example1: A path in a digital circuit-switched network has a data rate of 1 Mbps. The exchange of 1000 bits is required for the setup and teardown phases. The distance between two parties is 5000 km. answer the following questions if the propagation speed is 2 X 10 8 m/s: a. What is the total delay if 1000 bits of data are exchanged during the data transfer phase? b. What is the total delay if 100,000 bits of data are exchanged during the data transfer phase? c. What is the total delay if 1,000,000 bits of data are exchanged during the data transfer phase? We assume that the setup phase is a two-way communication and the teardown phase is a one-way communication. These two phases are common for all three cases. The delay for these two phases can be calculated as three propagation delays and three transmission delays or 3 [(5000 km)/ (2 10 8 m/s)] + 3 [(1000 bits/1 Mbps)] = 75 ms + 3 ms = 78 ms We assume that the data transfer is in one direction; the total delay is then delay for setup and teardown + propagation delay + transmission delay a. 78 + 25 + 1 = 104 ms b. 78 + 25 + 100 = 203 ms c. 78 + 25 + 1000 = 1103 ms Packet switching: was designed for data and transmitted in small packets. Packets contains user data and control info 3

Packet Switching Techniques o Datagram Network o Virtual-Circuit Network Datagram Network: each packet is treated independently, with no reference to packets that have gone before. Datagram switching is done at network layer. Figure 10.4 Datagram switching 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. 4

Example2: The following Figure shows a switch (router) in a datagram network. Find the output port for packets with the following destination addresses: Packet 1: 7176 Packet 2: 1233 Packet 3: 8766 Packet 4: 9144 Packet 1: 2 Packet 2: 3 Packet 3: 3 Packet 4: 2 Example3: Five equal-size datagrams belonging to the same message leave for the destination one after another. However, they travel through different paths as shown in the following table: We assume that the delay for each switch (including waiting and processing) is 3, 10, 20, 7, and 20 ms respectively. Assuming that the propagation speed is 2 x 10 8 m/s. Find the order the datagrams arrive at the destination and the delay for each. Ignore any other delays in transmission. The arrival timed is calculated as: First: (3200 Km) / (2 x 10 8 m/s) + (3 + 20 + 20) = 59.0 ms Second: (11700 Km) / (2 x 10 8 m/s) + (3 + 10 + 20) = 91.5 ms Third: (12200 Km) / (2 x 10 8 m/s) + (3 + 10+ 20 + 20) = 114.0 ms Fourth: (10200 Km) / (2 x 10 8 m/s) + (3 + 7 + 20) = 81.0 ms Fifth: (10700 Km) / (2 x 10 8 m/s) + (3 + 7 + 20 + 20) = 103.5 ms The order of arrival is: 3 5 2 4 1 5

Virtual-Circuit Network: Packets form a single message travel along the same path. Implemented in data link layer. Each packet contains a virtual circuit identifier instead of destination address. Three phases to transfer data. Example4: 6 Figure 10.5 Virtual-Circuit Network The following Figure shows a switch in a virtual circuit network. Find the output port and the output VCI for packets with the following input port and input VCI addresses: Packet 1: 3, 78 Packet 2: 2, 92 Packet 3: 4, 56 Packet 4: 2, 71 Packet 1: 2, 70 Packet 2: 1, 45 Packet 3: 3, 11 Packet 4: 4, 41

X.25 and Frame relay X.25 is the standard protocol for the interface between an end system and a packet-switching network. defines three layers o Physical - Interface between attached station and link to node. o Link - Link Access Protocol Balanced (LAPB) o Packet - External virtual circuits Figure 10.6 X.25 Use of Virtual Circuits Frame relay is a form of packet switching that provides a streamlined interface compared to X.25, with improved performance. Designed to be more efficient than X.25 Designed to eliminate much of the overhead that X.25 imposes on end user systems and on the packet-switching network. 7