Winter 2008CS244a Handout 111 CS244a: An Introduction to Computer Networks Handout 11: Interconnecting LANs Nick McKeown Professor of Electrical Engineering.

Slides:



Advertisements
Similar presentations
Interconnection: Switching and Bridging CS 4251: Computer Networking II Nick Feamster Fall 2008.
Advertisements

Communication Networks Recitation 3 Bridges & Spanning trees.
University of Calgary – CPSC 441.  We need to break down big networks to sub-LANs  Limited amount of supportable traffic: on single LAN, all stations.
Introduction to Computer Networks Spanning Tree 1.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
CPSC 441 TUTORIAL TA: FANG WANG HUBS, SWITCHES AND BRIDGES Parts of the slides contents are courtesy of the following people: Jim Kurose, Keith Ross:
1 Switching and Forwarding Bridges and Extended LANs.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
CSEE W4140 Networking Laboratory Lecture 8: LAN Switching Jong Yul Kim
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
1 Switching and Forwarding Bridges and Extended LANs.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
Cs/ee 143 Communication Networks Chapter 3 Ethernet Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
Connecting LANs, Backbone Networks, and Virtual LANs
17-LAN extensions: Fiber Modems, Repeaters, Bridges and Switches Dr. John P. Abraham Professor UTPA.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
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 Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 7 Spanning Tree Protocol.
1 LAN switching and Bridges. 2 Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent bridges.
1 CS 4396 Computer Networks Lab LAN Switching and Bridges.
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
10/18/2007 EETS Bluetooth Bluetooth Architecture Bluetooth Applications The Bluetooth Protocol Stack The Bluetooth Radio Layer The Bluetooth Baseband.
Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Ethernet (LAN switching)
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Scaling Broadcast Ethernet Some slides used with.
Univ. of TehranIntroduction to Computer Network1 Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser.
Hierarchies Ethernet Switches Must be Arranged in a Hierarchy –Root is the top-level Ethernet Switch Root.
CSE 461 University of Washington1 Topic How do we connect nodes with a switch instead of multiple access – Uses multiple links/wires – Basis of modern.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Chapter 11 Extending LANs 1. Distance limitations of LANs 2. Connecting multiple LANs together 3. Repeaters 4. Bridges 5. Filtering frame 6. Bridged network.
M. Veeraraghavan (originals by J. Liebeherr) 1 Need for Routing in Ethernet switched networks What do bridges do if some LANs are reachable only in multiple.
Bridges and Extended LANs
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Advanced Computer Networks
Lab 2 – Hub/Switch Data Link Layer
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
: An Introduction to Computer Networks
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 1 Switching and Bridging
Lab 2 – Hub/Switch Data Link Layer
LAN switching and Bridges
LAN switching and Bridges
LAN switching and Bridges
Dr. Rocky K. C. Chang 23 February 2004
Chapter 15. Connecting Devices
LAN switching and Bridges
Bridges Neil Tang 10/10/2008 CS440 Computer Networks.
Virtual LAN (VLAN).
Presentation transcript:

Winter 2008CS244a Handout 111 CS244a: An Introduction to Computer Networks Handout 11: Interconnecting LANs Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University

Winter 2008CS244a Handout 112 Interconnecting LANs  Bridges (aka Ethernet switches) were introduced to allow the interconnection of several local area networks (LANs) without a router.  By partitioning a large LAN into multiple smaller networks, there are fewer collisions, and more parallel communications.  It is now common for the port of an Ethernet switch to connect to just one (or a small number of) hosts.

Winter 2008CS244a Handout 113 An Ethernet Network Router Outside world Problem:  Shared network limits throughput.  Lots of collisions reduces efficiency.

Winter 2008CS244a Handout 114 Ethernet Switching Router Outside world Benefits:  Number of collisions is reduced. If only one computer per port, no collisions can take place (each cable is now a self-contained point-to-point Ethernet link).  Capacity is increased: the switch can forward multiple frames to different computers at the same time. Ethernet Switch

Winter 2008CS244a Handout 115 One Ethernet Switch in EE Building

Winter 2008CS244a Handout 116 Ethernet Switching 1. Examines the header of each arriving frame. 2. If the Ethernet DA is in its table, it forwards the frame to the correct output port(s). 3. If the Ethernet DA is not in its table, it broadcasts the frame to all ports (except the one through which it arrived). 4. The table is learned by examining the Ethernet SA of arriving packets.

Winter 2008CS244a Handout 117 Ethernet Switching Learning addresses Router Outside world Ethernet Switch Ethernet Switch Ethernet Switch Ethernet Switch A BCD E FGH I JKL M NOP Q J F Switch learns that ‘F’ is reachable through port 5

Winter 2008CS244a Handout 118 Ethernet Switching Learning addresses Router Outside world Ethernet Switch Ethernet Switch Ethernet Switch Ethernet Switch A BCD E FGH I JKL M NOP Q Ethernet addressPort A1 B2 C3 D4 E, F, G, H, Q5 I, J, K, L, M, N, O, P6 Q: How do we prevent loops?

Winter 2008CS244a Handout 119 Preventing loops Spanning Tree Protocol  The network of switches is a graph.  The Spanning Tree Protocol finds a a subgraph that spans all the vertices without loops.  Spanning => all switches are included.  Tree => the topology has no loops.  The distributed protocol runs:  To determine which switch is the root of the tree, and  Switches only forward on ports that are part of the tree.

Winter 2008CS244a Handout 1110 Example Spanning Tree B3 B5 B7 B2 B1 B6 B4 Protocol operation: 1.Picks a root 2.For each LAN, picks a designated switch that is closest to the root. 3.All switches on a LAN send packets towards the root via the designated switch. B8

Winter 2008CS244a Handout 1111 Example Spanning Tree B3 B5 B7 B2 B1 B6 B4 Root B8 B2B4B5B7 B8 B1 Spanning Tree:

Winter 2008CS244a Handout 1112 Spanning Tree Protocol 1.Periodically, all switches broadcast: (ID of sender, ID of root, distance from sender to root). 2.Initially, every switch claims to be root: sets distance field to 0. 3.Every switch broadcasts until it hears a “better” message: a.A root with a smaller ID b.A root with equal ID, but with shorter distance c.Ties broken by smaller ID of sender. 4.If a switch hears a better message, retransmit message (add 1 to distance). 5.If not the designated switch for a LAN, it stops sending configuration messages to that LAN. Eventually: Only the root generates configuration messages, Other switch send configuration messages to LANs for which they are the designated switch.