Packet Switching Networks. Dr. Indranil Sen Gupta Packet Switching Networks Slide 1

Similar documents
William Stallings Data and Computer Communications. Chapter 10 Packet Switching

Lecture (04 & 05) Packet switching & Frame Relay techniques Dr. Ahmed ElShafee

Lecture (04 & 05) Packet switching & Frame Relay techniques

Review of Network Technologies

William Stallings Data and Computer Communications 7 th Edition. Chapter 10 Circuit Switching and Packet Switching

Wide area networks: packet switching and congestion

Data and Computer Communications

DC Assignment III. Communication via circuit switching implies that there is a dedicated communication path between two stations.

Chapter 10. Circuits Switching and Packet Switching 10-1

Circuit Switching and Packet Switching

Wireless Networks. Communication Networks

Lecture 02 Chapter 10: Circuit Switching and Packet Switching

Routing Strategies. Fixed Routing. Fixed Flooding Random Adaptive

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Data Link Layer. Learning Objectives. Position of the data-link layer. MCA 207, Data Communication & Networking

Lecture (05) Network interface Layer media & switching II

Routing in packet-switching networks

(Refer Slide Time: 2:20)

Communication Networks

Networks: Access Management

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Outline. Computer Communication and Networks. The Network Core. Components of the Internet. The Network Core Packet Switching Circuit Switching

CONNECTION-ORIENTED & CONNECTIONLESS NETWORKS

Course 6. Internetworking Routing 1/33

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Network Devices,Frame Relay and X.25

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

BROADBAND AND HIGH SPEED NETWORKS

ET4254 Communications and Networking 1

05 Transmission Control Protocol (TCP)

Part Two dealt with the transfer of data between devices that are directly

Internetwork Protocols

CS4700/CS5700 Fundaments of Computer Networks

Introduction to Internetworking

Internet Architecture and Protocol

CS343: Data Communication Switched Communication Network

Internet Protocols (chapter 18)

Wireless Communication Course Instructor: Dr. Safdar Ali

INTRODUCTORY COMPUTER

Network management and QoS provisioning - revise. When someone have to share the same resources is possible to consider two particular problems:

The University of Sydney AUSTRALIA. Advanced Communication Networks

ELC 537 Communication Networks

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

William Stallings Data and Computer Communications. Chapter 7 Data Link Control

Computer Networks Summer 2013

Network Working Group Request for Comments: 1663 Category: Standards Track July 1994

Flow control: Ensuring the source sending frames does not overflow the receiver


Introduction to Wireless Networking ECE 401WN Spring 2008

Lecture #6 Multiplexing and Switching

BROADBAND AND HIGH SPEED NETWORKS

Data & Computer Communication

CS3600 SYSTEMS AND NETWORKS

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

WAN technology which are to be discussed:

Point-to-Point Network Switching. Computer Networks Term B10

Chapter 3 Protocols and the TCP/IP Suite

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

frame-relay lapf n201

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

Department of Computer Science and Engineering. COSC 4213: Computer Networks II (Fall 2005) Instructor: N. Vlajic Date: November 3, 2005

Configuring X.25 and LAPB

16.682: Communication Systems Engineering. Lecture 17. ARQ Protocols

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Lecture (03) Circuit switching

Data Link Control Protocols

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

SEN366 (SEN374) (Introduction to) Computer Networks

Tutorial 2 : Networking

Transport Protocols & TCP TCP

Using Serial Ports to Connect to ATM with DXI Encapsulation

ECE 650 Systems Programming & Engineering. Spring 2018

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Chapter 11 in Stallings 10 th Edition

Transport Protocols. ISO Defined Types of Network Service: rate and acceptable rate of signaled failures.

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Lecture 7. Network Layer. Network Layer 1-1

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Chapter 7: Data Link Control. CS420/520 Axel Krings Page 1

Chapter 7: Data Link Control. Data Link Control Protocols

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

A typical WAN structure includes the following components.

Configuration of Synchronous Protocols

===================================================================== Exercises =====================================================================

Layered Architecture

(Sicherungsschicht) Chapter 5 (part 2) [Wa0001] HDLC - 1.

CSE 3214: Computer Network Protocols and Applications Network Layer

X.25 Record Boundary Preservation for Data Communications Networks

AMCP/5-WP/72 APPENDIX D (ENGLISH ONLY)

Data Networks. Lecture 1: Introduction. September 4, 2008

Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

Key Network-Layer Functions

Mobile Transport Layer Lesson 10 Timeout Freezing, Selective Retransmission, Transaction Oriented TCP and Explicit Notification Methods

Frame Relay IP RTP Priority

Transport Layer Protocols TCP

Switching CHAPTER 8. Solutions to Review Questions and Exercises. Review Questions

Chapter 24. Transport-Layer Protocols

Data Link Layer (cont.) ( h h h ) (Sicherungsschicht) HDLC - 1.

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Transcription:

Packet Switching Networks Dr. Indranil Sen Gupta Packet Switching Networks Slide 1

Packet Switching (Basic Concepts) New form of architecture for long-distance data communication (1970). Packet switching technology has evolved over time. basic technology has not changed packet switching remains one of the few effective technologies for long-distance data communication. Dr. Indranil Sen Gupta Packet Switching Networks Slide 2

Problems with Circuit Switching Network resources are dedicated to a particular connection. Two shortcomings for data communication. In a typical user/host data connection, line utilization is low. Provides facility for data transmission at a constant rate. Data transmission pattern may not ensure this. Limits the utility of the method. Dr. Indranil Sen Gupta Packet Switching Networks Slide 3

Packet Switching :: essential idea Data are transmitted in short packets (~ Kbytes). A longer message is broken up into a series of packets. Every packet contains some control information in its header (required for routing and other purposes). Message H H H Dr. Indranil Sen Gupta Packet Switching Networks Slide 4

Store-and-forward Concept Basic idea: Each network node receives and stores the packet, determines the next leg of the route, and queues the packet to go out on that link. Advantages: Line efficiency is greater (sharing of links). Data rate conversion is possible. Even under heavy traffic, packets are accepted, possibly with a greater delivery delay. Packet priorities can be used. Dr. Indranil Sen Gupta Packet Switching Networks Slide 5

Switching Technique As mentioned earlier, a packet switching network breaks up a message into packets. Two contemporary approaches for handling these packets: Virtual Circuit Datagram Dr. Indranil Sen Gupta Packet Switching Networks Slide 6

Virtual Circuit Approach A preplanned route is established before any packets are sent. ControlRequest and ControlAccept packets are used to establish the connection. Route is fixed for the duration of the logical connection (like circuit switching). Each packet contains a virtual circuit identifier as well as data. Each node on the route knows where to forward packets. Dr. Indranil Sen Gupta Packet Switching Networks Slide 7

Virtual Circuit (contd.) A ClearRequest packet issued by one of the two stations terminates the connection. Main characteristics: Route between stations is set up prior to data transfer. A packet is buffered at each node, and queued for output over a line. A data packet needs to carry only the virtual circuit identifier for effecting routing decisions. Intermediate nodes take no routing decisions. Often provides sequencing and error control. Dr. Indranil Sen Gupta Packet Switching Networks Slide 8

Datagram Approach Each packet is treated independently, with no reference to packets that have gone before. Every intermediate node has to take routing decisions. Every packet contains source and destination addresses. Intermediate nodes maintain routing tables. Problems: Packets may be delivered out of order. If a node crashes momentarily, all of its queued packets are lost. Dr. Indranil Sen Gupta Packet Switching Networks Slide 9

Datagram (contd.) Advantages: Call setup phase is avoided (for transmission of a few packets, datagram will be faster). Because it is more primitive, it is more flexible. Congestion/failed link can be avoided (more reliable). Dr. Indranil Sen Gupta Packet Switching Networks Slide 10

Effect of Packet Size on Transmission Time Dr. Indranil Sen Gupta Packet Switching Networks Slide 11

Contd. There is a significant relationship between packet size and transmission time. Illustrative example: Assume there is a virtual circuit from station X through nodes a & b to station Y. Message size is 30 octets, packet header is 3 octets. 1-packet message ==> total 99 octet times 2-packet message ==> total 72 octet times 5-packet message ==> total 63 octet times 10-packet message ==> total 72 octet times Dr. Indranil Sen Gupta Packet Switching Networks Slide 12

Comparison of Circuit & Packet Switching Three types of delays are encountered: Propagation Delay :: time taken by a signal to propagate from one node to the next. Transmission Time :: time taken by the transmitter to send out a block of data. Node Delay :: The time it takes for a node to perform the necessary processing as it switches data. Dr. Indranil Sen Gupta Packet Switching Networks Slide 13

Event Timing for Circuit and Packet Switching Dr. Indranil Sen Gupta Packet Switching Networks Slide 14

External and Internal Operation Whether to use virtual circuit or datagram. Two dimensions to the problem: At the interface between a station and a network node, we may have connection-oriented or connectionless service. Internally, the network may use virtual circuits or datagrams. Leads to four different scenario (different VC/DG combinations). Dr. Indranil Sen Gupta Packet Switching Networks Slide 15

Scenario 1: external VC, internal VC When the user requests a VC, a dedicated route through the network is constructed. All packets follow the same route. VC #1 2 3 B A 1 6 C VC #2 4 5 Dr. Indranil Sen Gupta Packet Switching Networks Slide 16

Scenario 2: external VC, internal DG The network handles each packet separately. Different packets for the same external VC may take different routes. The network buffers packets, if necessary, so that they are delivered to the destination in the proper order. 1.3 1.2 1.1 B A 1.3 1.2 1.1 2.3 2.2 2.1 Packet-switched network 2.3 2.2 2.1 C Dr. Indranil Sen Gupta Packet Switching Networks Slide 17

Scenario 3: external DG, internal DG Each packet is treated independently from both the user s end and the network s point of view. B.1 B.3 B.2 B A B.3 B.2 B.1 C.3 C.2 C.1 Packet switched network C.2 C.1 C.3 C Dr. Indranil Sen Gupta Packet Switching Networks Slide 18

Scenario 4: external DG, internal VC The external user does not see any connections -- it simply sends packets one at a time. The network sets up a logical connection between stations for packet delivery. May leave such connections in place for an extended period, so as to satisfy anticipated future needs. A 2 1 2 3 1 3 B C 3 Dr. Indranil Sen Gupta Packet Switching Networks Slide 19

X.25 Best known and most widely used packet switching protocol standard. Originally approved in 1976. Subsequently revised in 1980, 1984, 1988, 1992, 1993. The standard specifies an interface between a host system and a packet-switching network. Uses three layers of functionality: Physical layer Link layer Packet layer Dr. Indranil Sen Gupta Packet Switching Networks Slide 20

Dr. Indranil Sen Gupta Packet Switching Networks Slide 21

X.25 Layers Physical Layer Deals with the physical interface between an attached station and the link that attaches that station to the packet-switching node. User machine termed as data terminal equipment (DTE) Packet switching node to which a DTE is attached is termed as data circuit-terminating equipment (DCE) X.21 is the most commonly used physical layer standard. Link Layer Provides for the reliable transfer of data across the physical link by transmitting the data as a sequence of frames. Link standard used is Link Access Protocol balanced (LAPB), which is a subset of HDLC. Packet Layer Provides an external virtual-circuit service. Dr. Indranil Sen Gupta Packet Switching Networks Slide 22

X.25 Interface User Process To remote user process Packet Packet DTE Link Access Multi-channel logical i/f LAPB Link Access DCE Physical X.21 physical interface Physical Dr. Indranil Sen Gupta Packet Switching Networks Slide 23

X.25 Encapsulation Figure 10.17 from the book by Stallings Dr. Indranil Sen Gupta Packet Switching Networks Slide 24

X.25 Virtual Circuit Service With the X.25 packet layer, data are transmitted in packets over external virtual circuits. X.25 provides two types of virtual circuit Virtual call: It is a dynamically established virtual circuit using a call setup and call termination procedure. Permanent virtual circuit: It is a fixed, network-assigned virtual circuit. Data transfer occurs as with virtual calls No call setup or termination is required. Dr. Indranil Sen Gupta Packet Switching Networks Slide 25

X.25 Packet Format User data are broken into blocks of some maximum size, and a 24-bit or 32-bit header is appended to each block to form a data packet. Uses sliding-window protocol with piggybacking Go-back-N for error control. X.25 also transmits control packets related to the establishment, maintenance and termination of virtual circuits. Each control packet includes: The virtual circuit number. The packet type (call request, call accepted, call confirm, interrupt, reset, restart, etc.). Additional control information specific to the type of packet. Dr. Indranil Sen Gupta Packet Switching Networks Slide 26

X.25 Packet Format (contd.) Dr. Indranil Sen Gupta Packet Switching Networks Slide 27

X.25 Multiplexing One of the most important services provided by X.25. A DTE is allowed to establish up to 4095 simultaneous virtual circuits with other DTEs over a single DTE-DCE link. Each packet contains a 12-bit virtual circuit number. Expressed as a 4-bit logical group number plus an 8-bit logical channel number. Individual virtual circuits could correspond to applications, processes, terminals, etc. The DTE-DCE link provides full-duplex multiplexing. Dr. Indranil Sen Gupta Packet Switching Networks Slide 28