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

Similar documents
Routing in packet-switching networks

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

Lecture 4 Wide Area Networks - Routing

Chapter 12. Routing and Routing Protocols 12-1

Data and Computer Communications. Chapter 12 Routing in Switched Networks

William Stallings Data and Computer Communications 7 th Edition. Chapter 12 Routing

Alternate Routing Diagram

Routing in Switched Data Networks

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Routing Strategies. Fixed Routing. Fixed Flooding Random Adaptive

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Lecture (08, 09) Routing in Switched Networks

Wide area networks: packet switching and congestion

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

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/ETSF10 Internet Protocols Routing on the Internet

Chapter 10. Circuits Switching and Packet Switching 10-1

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

Lecture 02 Chapter 10: Circuit Switching and Packet Switching

Circuit Switching and Packet Switching

Data and Computer Communications

Wave Division Multiplexing. Circuit Switching (1) Switching Networks. Nodes. Last Lecture Multiplexing (2) Source: chapter8

Internet Architecture and Protocol

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

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

Lecture (05) Network interface Layer media & switching II

Routing. 4. Mar INF-3190: Switching and Routing

Chapter 5 (Week 9) The Network Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

Wireless Networks. Communication Networks

UNIT- 2 Physical Layer and Overview of PL Switching

The Network Layer and Routers

Revision of Previous Lectures

Course 6. Internetworking Routing 1/33

Internet Protocols (chapter 18)

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

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

Lecture #6 Multiplexing and Switching

Course Routing Classification Properties Routing Protocols 1/39

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

Chapter 11 in Stallings 10 th Edition

Introduction to Wireless Networking ECE 401WN Spring 2008

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Outline: Connecting Many Computers

ET4254 Communications and Networking 1

DE62 TELECOMMUNICATION SWITCHING SYSTEMS JUN 2015

Network Layer Enhancements

ECE 333: Introduction to Communication Networks Fall 2001

5.2 Routing Algorithms

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

INTRODUCTORY COMPUTER

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

ET4254 Communications and Networking 1

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

Chapter 10 Switching in Data Networks. School of Information Science and Engineering, Shandong University Associate Prof.

Introduction to Internetworking

Computer Networks. Wenzhong Li. Nanjing University

Telecommunication Protocols Laboratory Course. Lecture 3

Distributed Queue Dual Bus

Internetworking Part 1

Local Area Network Overview

Multiplexing From one channel to multiple channels

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

Communication Networks

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

Switching and Forwarding Reading: Chapter 3 1/30/14 1

Lecture 7. Network Layer. Network Layer 1-1

Routing, Routing Algorithms & Protocols

Switching / Forwarding

CSCI Computer Networks

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN).

EEC-484/584 Computer Networks

Improving QOS in IP Networks. Principles for QOS Guarantees

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

EEC-484/584 Computer Networks

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

Internetwork Protocols

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Lecture (03) Circuit switching

Chapter 15 Local Area Network Overview

Digital Communication Networks

LS Example 5 3 C 5 A 1 D

SELECTION OF METRICS (CONT) Gaia Maselli

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

This Lecture. BUS Computer Facilities Network Management. Information Sharing. Local Area Network

ECE 4450:427/527 - Computer Networks Spring 2017

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

Routing. Information Networks p.1/35

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

CS343: Data Communication Switched Communication Network

L8: Packet Switching. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

BROADBAND AND HIGH SPEED NETWORKS

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

Routing, Routers, Switching Fabrics


ETSF05/ETSF10 Internet Protocols Network Layer Protocols

CH : 15 LOCAL AREA NETWORK OVERVIEW

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Lecture 12: Interconnection Networks. Topics: communication latency, centralized and decentralized switches, routing, deadlocks (Appendix E)

Transcription:

This Lecture BUS0 - Computer Facilities Network Management Switching networks Circuit switching Packet switching gram approach Virtual circuit approach Routing in switching networks Faculty of Information Technology Monash University Faculty of Information Technology Faculty of Information Technology Switching Network Simple Switching Network Long distance transmission is typically done over a network of switched nodes. More recently used in local area networks (LAN) as well. is transferred from one station to another station through intermediate node(s). Nodes are not concerned with the content of the data. End devices are stations: Computer, terminal, phone, etc. routed by being switched from node to node. Personal computer B Personal computer A Mainframe C Switching Node 7 Server E D Personal computer Faculty of Information Technology Personal computer Faculty of Information Technology F

Switching Network Circuit Switching Nodes may connect to other nodes only, or to stations and other nodes. Network is usually partially connected. Some redundant connections are desirable for reliability. There are two different switching technologies: Circuit Switching. Packet Switching. Dedicated communication path between two end stations. Connection oriented network. Involves three phases: Circuit establishment. transfer. Circuit disconnection. Connection path is established before data transfer. Faculty of Information Technology Channel capacity is allocated during connection establishment. Must have switching capacity and channel capacity to establish connection. Must have intelligence to determine routing. Faculty of Information Technology Circuit Switching Circuit Switching The three phases in for data transmission: Circuit establishment. Request for a connection is sent to the network node. Node passes the request to the next node (determined by the routing algorithm used) until the request reached the intended station. Determine if destination is free and if it is, construct path. transfer. Once the connection is established, data can be transferred. Transmission channel is dedicated for the two stations, regardless whether any data is being transferred. The channel is free only when the circuit is disconnected. Circuit disconnection. Signals are generated to terminate circuit and release the path. 7 Faculty of Information Technology Connection is maintained during the transmission. No delay at the nodes. Network is transparent to user. Inefficient: Channel capacity is dedicated for the duration of the connection. If no data, capacity wasted. Set up (connection) takes time. Once connected, transfer is transparent. Example: Public Switched Telephone Network (PSTN), PBX. Faculty of Information Technology

Public Circuit Switched Network Blocking or Non-blocking Subscriber Loop End Office Connecting Trunk Long distance office Intercity Trunk Long distance office Connecting Trunk End Office Blocking: May be unable to connect two stations because all the paths in the network are in use. For example: Used on voice systems where call duration is short. Non-blocking: Permits all stations to connect (in pairs) at once. Used for some data connections. Digital PBX 9 Faculty of Information Technology 0 Faculty of Information Technology Circuit Switching Packet Switching Circuit switching network is not suitable for data communication: In a typical user/host data connection, much of the time the line is idle. End devices must transmit and receive data at the same rate, but a network interconnects a variety of host computers and workstations. With heavy traffic, blocking can occur. Priorities can not be set. Need a suitable alternative. Faculty of Information Technology Circuit switching was designed for voice. Packet switching was designed for data. Transmitted in small packets containing user data and control info: User data may be part of a larger message. Control info includes routing (addressing) info. Packets are received, stored briefly (buffered) and past on to the next node. There is no dedicated channel. Two techniques to route packets through the network: gram. Virtual Circuit. Faculty of Information Technology

Packet Switching Packet Switching: gram Each packet is treated independently. Each packet has the full destination address. control information (packet header) packet Application data Packet Switching Network Each packet may take different route to the destination depending on the traffic. Reordering of packets at the destination may be required. Each packet is called a datagram. Used in connectionless service. Faculty of Information Technology Faculty of Information Technology Packet Switching: Virtual Circuit Packet Switching: gram Approach (a) (b) Logical connection is first established between the source and destination prior to data transfer. Call Request packet (from address, destination address, virtual circuit identifier). Call Accept packet (virtual circuit identifier). Each packet follows the same path to destination. anim (c) Packets arrive in order. Clear Request Packet. (d) End-to-end error and flow control techniques can be used. Suitable for data transmission over long periods. Faculty of Information Technology (e) Not a dedicated path. Faculty of Information Technology

Virtual Circuit vs gram (a) Transmission over extended period of time will benefit from using virtual circuit: Network provides packets sequencing and error control service. Packet Switching: Virtual-Circuit Approach (b) (c) Nodes do not need to make routing decision, may speed up transmission. Short transmission will benefit from datagram: No call setup overhead (d) Adapt better to the changes in network traffic than virtual circuit (no planned route). If a node has failed, packets can still be delivered through alternate nodes by avoiding the failed node. 7 Faculty of Information Technology (e) Faculty of Information Technology Effect of Packet Size on Transmission Time Packet vs Circuit Switching X a b Example shows a virtual circuit from X to Y through nodes a and b. Each node receives the entire packet before transmitting to the next node. Larger packet size can increase transmission time. However header overhead must also be considered. Y Time (a) packet message (b) packet message (c) packet message (d) 0 packet message Header X a b Y X a b Y 7 9 0 7 9 0 7 9 0 X a b Y Packet Message is broken up into packets. Channel is not dedicated to a connection. High Line efficiency for non-voice communication. Two stations communicating do not need to be in the same data rate. During busy traffic, packets will not be blocked, but delivery delay time will increase. Priorities can be used. Packets are stored at the nodes. Dynamic use of bandwidth. Overhead bits in each packet. Circuit Message is sent on its entirely. Dedicated channel. Low line efficiency for non-voice communication. Two station communicating needs to be in the same data rate. During busy traffic, calls are blocked until free channel is found. Priorities cannot be used. Message is not stored at any nodes. Fixed bandwidth transmission. No overhead bits after call setup. X a b Y 9 Faculty of Information Technology 0 Faculty of Information Technology

Event Timing for Circuit Switching and Packet Switching Routing in Packet Switched Network Call request signal (a) Circuit switching propagation delay User data link link link processing delay Call accept signal Acknowledge ment signal Call request packet (b) Virtual circuit packet switching Pkt Pkt Pkt Nodes: Faculty of Information Technology Pkt Pkt Pkt Pkt Pkt Pkt Call accept packet Acknowledge ment packet (c) gram packet switching Pkt Pkt Pkt Pkt Pkt Pkt Pkt Pkt Pkt Key design issue for (packet) switched networks. Select a route across the network between end nodes. Characteristics required: Correctness Simplicity Robustness Stability Fairness Optimality Efficiency Route selection criteria: simplest is minimum hop but can be generalised as least cost. Faculty of Information Technology Example Packet Switched Network Decision Time and Place N N N Time for routing decision: Packet (for each datagram) or virtual circuit (during circuit establishment) basis. Fixed route or dynamically changing route. N 7 N N Place of routing decision: Distributed routing - made by each node. Centralised routing - a centralised node (single point of failure). Source routing - made by the network user. Two arrows between a pair of nodes represents a link and the number a current cost. Transmission from N to N: shortest path would be N-N-N (cost = + = 0), least cost would be N-N-N-N (cost = + + = ). Faculty of Information Technology Faculty of Information Technology

Network Information Source and Update Timing Routing Strategies - Fixed Routing Routing decisions usually based on knowledge of network (not always). Distributed routing: Using local knowledge, info from adjacent nodes, info from all nodes on a potential route. Central routing: Collect info from all nodes. Issue of update timing. When is network info held by nodes updated. Fixed - never updated. Adaptive - regular updates. Use a single permanent route for each source to destination pair. Determined using a least cost algorithm. Route is fixed. At least until a change in network topology. Hence cannot respond to traffic changes. Advantage: simple. Disadvantage: lack of flexibility. Faculty of Information Technology Faculty of Information Technology Fixed Routing Tables Routing Strategies - Flooding CENTRAL ROUTING DIRECTORY From Node To Node Node Directory Node Directory Node Directory Destination Next Node Destination Next Node Destination Next Node Node Directory Node Directory Node Directory Destination Next Node Destination Next Node Destination Next Node 7 Faculty of Information Technology Packet sent by node to every neighbour. Eventually multiple copies arrive at destination. No network information is required. Each packet is uniquely numbered so duplicates can be discarded. Need some way to limit incessant retransmission. Nodes can remember packets already forwarded to keep network load in bounds. Or include a hop count in packets. Faculty of Information Technology

Flooding Example (hop count = ) Properties of Flooding All possible routes are tried. Very robust. At least one packet will have taken the minimum hop count route. (a) First hop Can be used to set up virtual circuit. All nodes are visited. Useful to distribute information (eg. routing). (b) Second hop Disadvantage: high traffic load generated. (c) Third hop 9 Faculty of Information Technology 0 Faculty of Information Technology Routing Strategies - Random Routing Routing Strategies - Adaptive Routing Simplicity of flooding with much less load. Node selects one outgoing path for retransmission of incoming packet. Selection can be random or round robin. A refinement is to select outgoing path based on probability calculation. No network info needed. But a random route is typically neither least cost nor minimum hop. Faculty of Information Technology Used by almost all packet switching networks. Routing decisions change as conditions on the network change due to failure or congestion. Requires info about the network. Disadvantages: Decisions more complex. Tradeoff between quality of network info and overhead. Reacting too quickly can cause oscillation. Reacting too slowly means info may be irrelevant. Advantages: Improved performance. Aid congestion control. Faculty of Information Technology

Classification of Adaptive Routing Strategies Isolated Adaptive Routing Based on information sources. Local (isolated): Route to outgoing link with shortest queue. Can include bias for each destination. Rarely used - does not make use of available info. Adjacent nodes: Takes advantage on delay / outage info. Distributed or centralised. All nodes: Like adjacent. Node s Bias Table for Destination Next Node Bias 9 0 To To Node To To Faculty of Information Technology Faculty of Information Technology Further Reading Stallings, W. and Computer Communications, Prentice Hall. Chapters 0 and. Faculty of Information Technology