Bridges and Extended LANs

Slides:



Advertisements
Similar presentations
CSCI-1680 Switching Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

Switching and Forwarding
Communication Networks Recitation 3 Bridges & Spanning trees.
4/12/2015© 2009 Raymond P. Jefferis IIILect Internet Protocol - Continued.
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.
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.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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:
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
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.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
1 Switching and Forwarding Bridges and Extended LANs.
Sept 14, 2004CS573: Network Protocols and Standards1 Spanning Tree Algorithm Network Protocols and Standards Autumn
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.
COMS W COMS W Lecture 7. LAN Switching: Bridges & Spanning Tree Protocol.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 7 – February 2, 2010.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 8: Bridging Slides used with permissions.
TRansparent Interconnection of Lots of Links (TRILL) March 11 th 2010 David Bond University of New Hampshire: InterOperability.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
1 Spanning Tree Algorithm Advanced Computer Networks.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Switching and Wireless Implement Spanning Tree Protocols (STP) Chapter.
1 Transparent Bridging Advanced Computer Networks.
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
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.
1 VLANs Relates to Lab 6. Short module on basics of VLAN switching.
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
Ch. 15 Connecting LANs.
Winter 2008CS244a Handout 111 CS244a: An Introduction to Computer Networks Handout 11: Interconnecting LANs Nick McKeown Professor of Electrical Engineering.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag Mohammadi Packet Switching.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
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.
Large-scale (Campus) Lan design (Part II)
Advanced Computer Networks
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
Spanning Tree Algorithm
: An Introduction to Computer Networks
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 1 Switching and Bridging
LAN switching and Bridges
NT2640 Unit 9 Activity 1 Handout
Connecting LANs, Backbone Networks,
Measured Capacity of an Ethernet: Myths and Reality
Bridges and Extended LANs
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
LAN switching and Bridges
Switching and Forwarding
Dr. Rocky K. C. Chang 23 February 2004
Chapter 15. Connecting Devices
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:

Bridges and Extended LANs LANs have physical limitations (e.g., 2500m) Connect two or more LANs with a bridge accept and forward strategy level 2 connection (does not add packet header) Ethernet Switch = Bridge on Steroids A Bridge B C X Y Z Port 1 Port 2 26-Apr-17 4/598N: Computer Networks

Do not forward when unnecessary Maintain forwarding table Learning Bridges Do not forward when unnecessary Maintain forwarding table Learn table entries based on source address Table is an optimization; need not be complete Always forward broadcast frames Host Port A 1 B C X 2 Y Z 26-Apr-17 4/598N: Computer Networks

Spanning Tree Algorithm Problem: loops - no mechanism to remove looping frames Bridges run a distributed spanning tree algorithm select which bridges actively forward developed by Radia Perlman now IEEE 802.1 specification 26-Apr-17 4/598N: Computer Networks

Each bridge has unique id (e.g., B1, B2, B3) Algorithm Overview Each bridge has unique id (e.g., B1, B2, B3) Select bridge with smallest id as root Select bridge on each LAN closest to root as designated bridge (use id to break ties) Each bridge forwards frames over each LAN for which it is the designated bridge A B B3 C B5 D B7 B2 K E F B1 G H B6 B4 I J 26-Apr-17 4/598N: Computer Networks

Bridges exchange configuration messages Algorithm Details 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 26-Apr-17 4/598N: Computer Networks

Algorithm Detail (cont) When learn not root, stop generating config messages in steady state, only root generates configuration messages When learn not designated bridge, stop forwarding config messages 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 26-Apr-17 4/598N: Computer Networks

Broadcast and Multicast Forward all broadcast/multicast frames current practice Learn when no group members downstream Accomplished by having each member of group G send a frame to bridge multicast address with G in source field 26-Apr-17 4/598N: Computer Networks

Tcpdump trace tcpdump -p 02:21:52.651816 802.1d config 0000.00:02:2d:71:03:ef.0001 root 0000.00:02:2d:71:03:ef pathcost 0 age 0 max 20 hello 2 fdelay 15 02:21:53.263956 engr-fe21.gw.nd.edu > ALL-SYSTEMS.MCAST.NET: igmp query v2 [tos 0xc0] [ttl 1] 02:25:22.656898 CDP v2, ttl=180s DevID '013183892(hub24-1b.hub.nd.edu)' Addr (1): IPv4 129.74.24.67 PortID '5/10' CAP 0x0e[|cdp] 26-Apr-17 4/598N: Computer Networks

Limitations of Bridges Do not scale spanning tree algorithm does not scale - traffic gets bridged through the root bridge Spanning tree is designed to avoid loops, not traffic balancing: redundant routes are ignored broadcast does not scale Do not accommodate heterogeneity Caution: beware of transparency 26-Apr-17 4/598N: Computer Networks

Create virtual lans (broadcast domains) without rewiring VLAN Create virtual lans (broadcast domains) without rewiring Add a 4 byte VLAN id to each frame Courtesy: Cisco 26-Apr-17 4/598N: Computer Networks

Hybrid between IP routing and bridging SmartBridges http://www.researchchannel.com/programs/uw/Asx/cse_smbr_1300k.asx http://www.uwtv.org/programs/displayevent.asp?rid=782 Hybrid between IP routing and bridging 26-Apr-17 4/598N: Computer Networks