CS380 Int. to Comp. Networks Switching – Part II1 Bridges and LAN Switches Q. What can be used to share data between two shared-media LAN’s? A.LAN switch.

Slides:



Advertisements
Similar presentations
Communication Networks Recitation 3 Bridges & Spanning trees.
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.
CS 356: Computer Network Architectures Lecture 8: Learning Bridges and ATM Ch 3.1 Xiaowei Yang
(C) All rights reserved by Professor Wen-Tsuen Chen 1 Asynchronous Transfer Mode (ATM)
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 7 – February 2, 2010.
5: DataLink Layer5-1 Asynchronous Transfer Mode: ATM r 1990’s/00 standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service.
1 Switching and Forwarding Bridges and Extended LANs.
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.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 Asynchronous Transfer Mode (ATM) Cell Switching Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection setup)
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
ATM: DESCRIPTIONS M. RAZIF AZMAL B. M. OTHMANWET SHAH RIZAD B. ISMAIL WET RASHA AFZAL B. SHAFII WET AHMAD AFIFI B. MOHD ZAKI WET
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART VII-2 Wide Area Networks (WANs), Routing, and Shortest Paths.
1 Fall 2005 Virtual Circuit Switching and ATM: Asynchronous Transfer Mode Qutaibah Malluhi CSE Department Qatar University.
Chapter 3 Ethernet Bridges & Switches, ATM Switching Professor Rick Han University of Colorado at Boulder
1 Switching and Forwarding Bridges and Extended LANs.
EE 4272Spring, 2003 Chapter 11. ATM and Frame Relay Overview of ATM Protocol Architecture ATM Logical Connections ATM Cells ATM Service Categories ATM.
Packet Switching Outline Switching and Forwarding Bridges and LAN Switches Cell Switching (ATM) Switching Hardware.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Connecting LANs, Backbone Networks, and Virtual LANs
Univ. of TehranIntroduction to Computer Network1 Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 8: Bridging Slides used with permissions.
1 CS 4396 Computer Networks Lab LAN Switching and Bridges.
Asynchronous Transfer Mode: ATM r 1980s/1990’s standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service Digital Network architecture.
CHAPTER #6  Introducti on to ATM. Contents  Introduction  ATM Cells  ATM Architecture  ATM Connections  Addressing and Signaling  IP over ATM.
Univ. of TehranIntroduction to Computer Network1 Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser.
CSS432: Switching and Bridging 1 Switching and Bridging Textbook Ch3.1 and 3.4 Instructor: Joe McCarthy (based on Prof. Fukuda’s slides)
CSS432: Switching and Bridging 1 Switching and Bridging Textbook Ch3.1 and 3.4 Professor: Munehiro Fukuda.
Chapter 14 Connection-Oriented Networking and ATM
Outline Packet switching paradigms Bridges and extended LANs Cell switching Switching hardware.
ATM Technologies. Asynchronous Transfer Mode (ATM) Designed by phone companies Single technology meant to handle –Voice –Video –Data Intended as LAN or.
Univ. of TehranIntroduction to Computer Network1 Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
1 Prof. Dr. Ing. PUSZTAI Kalman ATM networks. 2 ATM overview Promising technology in early 90s (why?) Connection-oriented (virtual circuits) Signalling.
21-Dec-154/598N: Computer Networks Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection.
Where are we? Chapter 3 and 4 are focused on getting the data from one place to another. Switching and routing Review the next slides First our goal is.
1 Chapter 3 Internetworking Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
Bridges and Extended LANs
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
Virtual Circuit Networks Frame Relays. Background Frame Relay is a Virtual Circuit WAN that was designed in late 80s and early 90s. Prior to Frame Relays.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag Mohammadi Packet Switching.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
Youngstown State University Cisco Regional Academy
Advanced Computer Networks
Asynchronous Transfer Mode
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
Advanced Computer Networks
Packet Switching Outline Store-and-Forward Switches
Bridging.
3. Internetworking (part 2: switched LANs)
: An Introduction to Computer Networks
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 1 Switching and Bridging
CS 4700 / CS 5700 Network Fundamentals
Measured Capacity of an Ethernet: Myths and Reality
Bridges and Extended LANs
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Switching and Forwarding
CS 4700 / CS 5700 Network Fundamentals
Dr. Rocky K. C. Chang 23 February 2004
Packet Forwarding 2/22/2019 CS/ECE UIUC, Fall 2006.
LAN switching and Bridges
Packet Switching Outline Store-and-Forward Switches
Bridges Neil Tang 10/10/2008 CS440 Computer Networks.
Virtual LAN (VLAN).
HWP2 – Application level query routing
Presentation transcript:

CS380 Int. to Comp. Networks Switching – Part II1 Bridges and LAN Switches Q. What can be used to share data between two shared-media LAN’s? A.LAN switch (or bridge) – like a host in promiscuous mode LANs connected with >= 1 bridge are called Extended LANs Y A B C Bridge XZ Port 1 Port 2 Problem – what about when node A wants to send node B a message, what happens?

CS380 Int. to Comp. Networks Switching – Part II2 Learning Bridges Do not forward when unnecessary Maintain forwarding Y A B C Bridge XZ Port 1 Port 2 Host Port A 1 B 1 C 1 X 2 Y 2 X 2 Learn table entries based on source address Table is an optimization; need not be complete Always forward broadcast frames

CS380 Int. to Comp. Networks Switching – Part II3 Problem: loops Bridges run a distributed spanning tree algorithm - select which bridges actively forward - developed by Radia Perlman - now IEEE specification Spanning Tree Algorithm

CS380 Int. to Comp. Networks Switching – Part II4 The problem: 1)Tree - is connected graph with no cycles. 2)A Spanning Tree of G is a tree which contains all vertices in G. Example: Given a graph G Is G a Spanning Tree? Yes No Note: Connected graph with n vertices and exactly n – 1 edges is Spanning Tree. What is a Spanning Tree?

CS380 Int. to Comp. Networks Switching – Part II5 Example: a)G: Spanning Tree Example

CS380 Int. to Comp. Networks Switching – Part II6  DFS (Depth First Search) Centralized Spanning Tree Algorithm #1 #2 #3 #4 #5 #6 #7

CS380 Int. to Comp. Networks Switching – Part II7  BFS (Breadth First Search) Centralized Spanning Tree Algorithm #1#2 #3#4#5#6 #7

CS380 Int. to Comp. Networks Switching – Part II8 Distributed Spanning Tree Algorithm - Overview Each bridge has unique id(e.g., B 1, B 2, B 3 ) Select bridge with smallest id as root Select bridge on each LAN closest to root as the designated bridge(use id to break ties)

CS380 Int. to Comp. Networks Switching – Part II9 Distributed Spanning Tree Algorithm - Detail Bridges exchange configuration messages  id for bridge sending the message  id for what the sending bridge believes to be root bridge  distance(hops) from sending bridge to root bridge Each bridge records current “best” configuration message for each port Initially, each bridge believes it is the root and sends messages out on all its ports(distance to root = 0) When learn not root, stop generating configuration messages –in steady state, only root generates configuration messages When learn not designated bridge, stop forwarding config messages(disconnected) –in steady state, only designated bridges forward config messages Root continues to periodically send config messages If any bridge does not receive config message after a period of time, it starts generating config messages claiming to be the root

CS380 Int. to Comp. Networks Switching – Part II10 Distributed Spanning Tree Algorithm - Overview Ports which are not selected ( disconnected) by the Distributed Spanning Tree Algorithm × × × × ×

CS380 Int. to Comp. Networks Switching – Part II11 Limitations of Bridges Do not scale –Spanning tree algorithm does not scale (no hierarchy) –Broadcast does not scale(congestion) Do not accommodate heterogeneity (Ethernet-to-Ethernet, but not others such as ATM) Caution: beware of transparency –If a host is configured for single-LAN use, unexpected results can come about Bridges might drop frames(congestion) Latency differences Frame reordering

CS380 Int. to Comp. Networks Switching – Part II12 Asynchronous Transfer Mode(ATM) Connection-oriented packet-switched network (virtual circuits) Used in both WAN and LAN settings Signaling(connection setup) Protocol: Q.2931 Packets are called cells –5-byte header + 48-byte payload(fixed length) Commonly transmitted over SONET –Other physical layers possible

CS380 Int. to Comp. Networks Switching – Part II13 Big vs Small Packets Small improves Queue behavior –Finger-grained pre-emption point for scheduling link Maximum packet = 4 KB Link speed = 100Mbps Transmission time = 4096  8/100=  s High priority packet may sit in the queue  s In contrast, 53  8/100 = 4.24  s for ATM –Near cut-through behavior Two 4KB packets arrive at same time Link idle for  s while both arrive At end of  s, still have 8KB to transmit In contrast, can transmit first cell after 4.24  s At end of  s, just over 4KB left in queue

CS380 Int. to Comp. Networks Switching – Part II14 Variable vs Fixed-Length Packets No Optimal length –If small: high header-to-data overhead –If large: low utilization for small messages Fixed-Length Easier to Switch in Hardware –Simpler –Enables parallelism –Telephone company supported!

CS380 Int. to Comp. Networks Switching – Part II15 Big vs Small Packets Small improves Latency(for voice) –Voice digitally encoded at 64Kbps (8-bit samples at 8 KHz) –Need full cell’s worth of samples before sending cell –Example: 1000-byte cells implies 125ms per cell(too long) –Smaller latency implies no need for echo cancellors ATM Compromise: 48 bytes = ( ) / 2 –Excellent case study of standardization –U.S. wanted 64-byte cell & Europe wanted 32-byte cell

CS380 Int. to Comp. Networks Switching – Part II16 GFCHEC (CRC-8) VPIVCICLPTypePayload 384 (48 bytes)8 User-Network Interface(UNI) –Host-to-switch format –GFC: Generic Flow Control – arbitrate access to link –VCI:Virtual Circuit Identifier –VPI:Virtual Path Identifier –Type:management, congestion control, AAL5(later0 –CLP:Cell Loss Priority –HEC:Header Error Check(CRC-8) Network-Network Interface(NNI) – between telcos –Switch-to-switch format –GFC becomes part of VPI field Cell Format

CS380 Int. to Comp. Networks Switching – Part II17 Segmentation and Reassembly (SAR) Really Fragmentation and Reassembly –High level protocols hand packets down to lower-level protocols with headers added –In ATM, Packets often too large –Packets are split up, sent on, and reassembled –Protocol layer added - ATM adaptation Layer(AAL) Sits between ATM and IP Contains information needed by receiver for reassembly

CS380 Int. to Comp. Networks Switching – Part II18 Four possible ATM Adaptation Layers(AAL) –AAL 1 and 2 designed for applications that need guaranteed rate(e.g., voice, video) –AAL 3 / 4 designed for packet data(connectionless) –AAL 5 is an alternative standard for packet data Segmentation and Reassembly AAL ATM AAL ATM ……