11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.

Slides:



Advertisements
Similar presentations
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Advertisements

Spring 2003CS 4611 Switching and Forwarding Outline Store-and-Forward Switches Bridges and Extended LANs Cell Switching Segmentation and Reassembly.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
1 Switching and Forwarding Bridges and Extended LANs.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
1 Chapter 3 Switching and Forwarding Outline 3.1 Switching and Forwarding 3.2 Bridges and LAN Switches 3.3 Cell Switching (ATM) 3.4 Implementation and.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
ECOM 4314 Data Communications Fall September, 2010.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
CSE331: Introduction to Networks and Security Lecture 6 Fall 2002.
1 Switching and Forwarding Bridges and Extended LANs.
Switching Techniques Student: Blidaru Catalina Elena.
MODULE IV SWITCHED WAN.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Virtual Circuit Network. Network Layer 2 Network layer r transport segment from sending to receiving host r network layer protocols in every host, router.
Switched network.
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
1 Flow Identification Assume you want to guarantee some type of quality of service (minimum bandwidth, maximum end-to-end delay) to a user Before you do.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
Fundamentals of Computer Networks ECE 478/578 Lecture #12: Packet Switching Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Chapter 14 Connection-Oriented Networking and ATM
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Lecture 8 Virtual Switching (contd.) & Message Switching.
Forwarding.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
CS440 Computer Networks 1 Packet Switching Neil Tang 10/6/2008.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
WAN Transmission Media
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Switching By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
Fall, 2001CS 6401 Switching and Routing Outline Routing overview Store-and-Forward switches Virtual circuits vs. Datagram switching.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Chapter 3 Part 1 Switching and Bridging
The Network Layer.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Chapter 3 Part 3 Switching and Bridging
Chapter 3: Packet Switching (overview)
Lecture (2).
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
Advanced Computer Networks
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
Packet Switching Datagram Approach Virtual Circuit Approach
Switching and Forwarding Bridges and Extended LANs
CS4470 Computer Networking Protocols
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
Chapter 3 Part 3 Switching and Bridging
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Switching and Forwarding
Data Communication Networks
Network Layer I have learned from life no matter how far you go
Advanced Computer Networks
Circuit Switching Packet Switching Message Switching
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Packet Forwarding 2/22/2019 CS/ECE UIUC, Fall 2006.
Chapter 3 Part 3 Switching and Bridging
Packet Switching Outline Store-and-Forward Switches
Virtual LAN (VLAN).
Presentation transcript:

11 CS716 Advanced Computer Networks By Dr. Amir Qayyum

2 Lecture No. 14

3 What we know … Elements of networks: nodes and links Building a packet abstraction on a link Transmission, and units of communication data Detecting transmission errors Simulating an error-free, reliable channel –Sliding window mechanism Arbitrating access to a shared medium Design issues of direct link networks –Functionality of network adaptors

4 What Next …? Moving on from direct to indirect networks Introducing switches which provide indirect connectivity

5 Switching and Forwarding Outline Store-and-Forward Switches Bridges and Extended LANs Cell Switching Segmentation and Reassembly

6 Why Switching ? Motivation: –Why not just one direct link network ? Basic approach: –How can we extend the direct link abstraction (provide illusion of one physical network) ? Challenges: –What problems must we address ?

7 Why Switching ? Examples: –Where are these issues addressed in real networks ? Details of the switch: –What are the goals in design / how are they addressed ? Heterogeneity –switching allows multiple physical netwrk –but assume one switching strategy

8 After Switching – Are We Done ? Scale –direct link networks: O(100) hosts –packet-switched networks: O(100,000) hosts –Internet: O(2 year-1974 ) hosts Beyond the basics –quality of service –congestion and performance analysis –network trends and their importance

9 Connecting Large Networks Assert: want to use one direct link network Limitations of directly connected networks: –Limited Scale - number of hosts that can be attached 1024 in Ethernet; only 2 in point-to-point link –Limited geographical area that can be covered 2500 m in Ethernet; Point-to-point links also limited

10 Connecting Large Networks Alternative: provide illusion of one physical network Solution: Indirect connectivity by using switches –Packet switches in computer networks control frame flow –Multiple direct link networks, transparent to application

11 Packet Switches A multi-input multi- output device Local star topology Performance independent of connectivity –(e.g. adding new host) if switch is designed with enough aggregate capacity Maximum degree < physical network limit

12 Build Network from Stars Switches (or stars) to build networks that do not behave like in a star topology

13 Forwarding Packets arrive at one of the several inputs and have to be forwarded / switched to one of the available outputs –Connectionless and connection-oriented approach to determine the correct output Which way should it go ? First challenge: forwarding

14 Routing Forwarding requires information Second challenge: routing How to maintain forwarding information ?

15 Contention and Congestion If arrival rate for a certain output is greater than the output capacity, then contention occurs If arrival rate of packets is too high to cause buffer overflow, then congestion occurs Who goes first ? Any one is dropped ?

16 Challenges for Packet Switching Efficient forwarding –Switch with several output ports –Decide which output port to use Routing in dynamic network –Need information for forwarding –Construct and maintain the information

17 Challenges for Packet Switching Handling contention –Multiple packets destined for one output port –Decide which packet goes first –Decide what to do with others

18 Outline Switches and layered perspective Efficient forwarding Asynchronous transfer mode (ATM) example Switch fabrics and contention

19 Network Layers and Switches One or more nodes within the network User level OS kernel host switch switch between different physical layers transport network data link physical session presentation application network data link physical

20 Scalable Networks Switch –forwards packets from input port to output port –port selected based on address in packet header Advantages –cover large geographic area (tolerate latency) –support large numbers of hosts (scalable bandwidth) Input ports T3 STS-1 T3 STS-1 Switch Output ports

21 Packet Forwarding Analogy Process of going from one place to another Focus on decision process at intersections Path splits, how do you decide which way to go? How do you navigate at intersections? 3 scenarios: –from your office to home –from home to a friend’s house (with directions) –from Airport to the Hotel (without directions)

22 Packet Switching / Forwarding Forwarding: the task of selecting an appropriate output port for a packet Goals –Require limited information (both packet and switch) –Admit efficient implementation

23 Packet Switching / Forwarding Three approaches –Datagram or connectionless approach –Virtual circuit or connection-oriented approach –Source routing Important notion: unique global address per host

24 Datagram Switching / Forwarding Every packet contains enough information –Enables switch to decide how to forward it Switch translates global address to output port –Maintains forwarding table for translations Each packet forwarded and travels independently

25 Datagram Switching / Forwarding No connection setup phase (connectionless model) Analogy: –Postal system: each packet contains complete address for its destination –Following signs (provided by switches) to reach destination

26 Datagram Switching Managing tables in large, complex networks with dynamically changing topologies is a real challenge for the routing protocol Switch 3 Host B Switch 2 Host A Switch 1 Host C Host D Host E Host F Host G Host H At switch 1: DestPort#/Interface A 2 B 1 C 3 D 0 E 1 … …

27 Datagram Switching What happens if the destination is unknown ? Network discards packet –Possibly notifying the sender (“no route to host”) Switch 3 Host B Switch 2 Host A Switch 1 Host C Host D Host E Host F Host G Host H dataB F A C K E  C B  A C  F D  B A  K ? ?

28 Datagram Model No round trip time delay waiting for connection setup –Host can send data anywhere, anytime as soon as it is ready –Source has no way of knowing if the network is capable of delivering a packet or if the destination host is even up Packets are treated independently –Possible to route around link and node failures dynamically

29 Datagram Model Every packet carry full address of the destination –Overhead per packet is higher than for the connection-oriented model –Global address to path translation requires storage –Might not be possible to deliver packet (dest unknown)

30 Virtual Circuit Switching Explicit connection setup (& tear-down) phase from source to destination: connection-oriented model –Subsequence packets follow established circuit Supporting “connections” in network layer may be useful for service notions

31 Virtual Circuit Switching Each switch maintains a VC table (connection state) per-link or per- switch Analogy –Phone call: each packet follows an established path –Following a known route to reach the destination

32 VC Tables in VC Switching VC table contains information for each connection –incoming / outgoing interface (port) –incoming / outgoing VCI (virtual circuit identifier) Permanent (PVC) or switched (signaled) virtual circuit (SVC)

33 VC Tables in VC Switching Setup message in signaling process (to create VC table) is forwarded like a datagram Acknowledgment of connection setup to downstream neighbors to complete signaling –Data transfer phase can start after ACK is received

34 Signaling in VC Switching Setup message is forwarded from Host A to Host B On connection request, each switch creates an entry in VC table with a VCI for the connection Switch 3 Host B Switch 2 Switch 1 Host A I/F VCI in in out out setup B B B B B B B B I/F VCI in in out out I/F VCI in in out out 3 9 0

35 Signaling in VC Switching Host B accepts connection from Host A, and sends back an ACK In ACK, everyone communicates its choice of VCI to its upstream neighbor Switch 3 Host B Switch 2 Switch 1 Host A I/F VCI in in out out ACK I/F VCI in in out out I/F VCI in in out out ACK

36 Data Transfer in VC Switching Host A knows that everything is in place all the way to Host B In data packets, each node then puts the VCI of its downstream neighbor Switch 3 Host B Switch 2 Switch 1 Host A I/F VCI in in out out data I/F VCI in in out out I/F VCI in in out out data

37 Virtual Circuit Model Typically wait full RTT for connection setup before sending first data packet –Can not avoid failures dynamically; must re-establish connection (old one is torn down to free storage space)

38 Virtual Circuit Model Each data packet contains only a small identifier, making the per-packet header overhead small –Global address to path information still necessary Connection setup provides an opportunity to know network conditions and/or reserve resources. –Avoiding congestion but under-utilizing switch

39 Review Lecture 14 Direct to indirect nets: switches provide ic Motivation, approach, challenges Heterogeneity, scale, QoS, congestion Limits: scale, area, Sol: illusion of 1 net Packet switches: MIMO, star Challenges: forwarding, routing, contention Forwardg: decision process at intersections, selecting appropriate output port

40 Review Lecture 14 3 approaches: DG, VC, source pkt cont enough info, switch translates addr to out port, pkt forwarded independen, no con setup ph, no RTT delay, dest unknown, full addr overhead, route around failure Con setup, pkt follow establi circuit, switch maintain VC table, signaling (in datagram) + ack, wait 1 RTT for data, not avoid failures, small overhead, reserve resources