Spring 2000John Kristoff1 LAN Bridges and Switches Computer Networks.

Slides:



Advertisements
Similar presentations
Network Devices Repeaters, hubs, bridges, switches, routers, NICs.
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.
Connecting LANs: Section Figure 15.1 Five categories of connecting devices.
CSCI 465 D ata Communications and Networks Lecture 20 Martin van Bommel CSCI 465 Data Communications & Networks 1.
CSE 534 Fundamentals of Computer Networks Lecture 4: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised.
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:
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART V-1 Extending Networks (Repeaters, Bridges, Switches)
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
Dec 6, 2007CS573: Network Protocols and Standards1 Transparent Bridging Network Protocols and Standards Winter
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.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
Making bigger LANs out of small ones What technology is available to us for connecting small LANs together into larger ones?
CSEE W4140 Networking Laboratory Lecture 8: LAN Switching Jong Yul Kim
1 Chapter 8 Local Area Networks - Internetworking.
Autumn 2000John Kristoff1 Computer Networks LAN Bridges and Switches.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Bridging I.
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)
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Bridging II.
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
COMS W COMS W Lecture 7. LAN Switching: Bridges & Spanning Tree Protocol.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
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.
Connecting LANs, Backbone Networks, and Virtual LANs
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Basic Layer 2 Switching and Bridging Functions.
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.
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
1 Spanning Tree Algorithm Advanced Computer Networks.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chapter 8 Local Area Networks: Internetworking Data Communications and Computer Networks: A Business User’s Approach.
Steffen/Stettler, , 4-SpanningTree.pptx 1 Computernetze 1 (CN1) 4 Spanning Tree Protokoll 802.1D-2004 Prof. Dr. Andreas Steffen Institute for.
1 Transparent Bridging Advanced Computer Networks.
1 Chapter 11 Extending Networks (Repeaters, Bridges, Switches)
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Ch. 15 Connecting LANs.
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.
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.
Chapter 16– Connecting LANs
Networking Devices.
Connecting Devices LANs or WANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs or WANs, we.
Lab 2 – Hub/Switch Data Link Layer
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
Chapter 3 Part 1 Switching and Bridging
Lab 2 – Hub/Switch Data Link Layer
CS 457 – Lecture 8 Switching and Forwarding
LAN switching and Bridges
Connecting LANs, Backbone Networks,
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
LAN switching and Bridges
Dr. Rocky K. C. Chang 23 February 2004
Chapter 15. Connecting Devices
LAN switching and Bridges
Bridges Computer Networks.
Presentation transcript:

Spring 2000John Kristoff1 LAN Bridges and Switches Computer Networks

Spring 2000John Kristoff2 Where are we?

Spring 2000John Kristoff3 Recall zLANs have physical distance limitations zPerformance suffers when LAN utilization increases zSeparate LANs may eventually want to connect to each other

Spring 2000John Kristoff4 Motivation zUsers require arbitrary distance connections yExample: 2 computers across a corporate campus are part of one workgroup zMay not want to forward all transmissions to all workgroups for performance or security reasons zMay want to avoid a single point of failure (redundancy/reliability) The books: Interconnections - Radia Perlman, The Switch Book - Rich Seifert

Spring 2000John Kristoff5 LAN Bridges/Switches zA hardware device with minimal software zConnects 2 or more similar LANs together zForwards frames between connected LANs zDoes not forward collisions, noise, beacons, etc. zExamines data link layer information zAllows each LAN to operate independently

Spring 2000John Kristoff6 Bridge/Switch Operation zListen to all LANs in promiscuous mode zOnly move frames between LANs if necessary zOnly act on layer 1/2 information

Spring 2000John Kristoff7 Connections

Spring 2000John Kristoff8 Transparent Bridging Illustrated

Spring 2000John Kristoff9 Transparent Bridging Rules z1. Watch all frames on each LAN z2. For each frame, store the source address in a cache along with the associated LAN the frame arrived on (bridge table) z3. For each frame, the cache is queried for the destination address ya. If found, the frame is forwarded to the LAN associated with the address, unless its the LAN the frame arrived on (filtered) yb. If not found, the frame is forwarded to all LAN interfaces except the one on which the frame arrive (flooding) zTransparent bridges make all the forwarding decisions, end stations don’t even know the bridge is there!

Spring 2000John Kristoff10 Will This Work?

Spring 2000John Kristoff11 Introducing Spanning Tree zAllow a path between every LAN without causing loops (loop-free environment) zBridges communicate with special configuration messages (BPDUs) zStandardized by IEEE 802.1d Note: redundant paths are good, active redundant paths are bad (they cause loops)

Spring 2000John Kristoff12 Spanning Tree Requirements zEach bridge is assigned a unique identifier yConsists of the MAC address and a priority zA group address for bridges on a LAN zA unique port identifier for all ports on all bridges

Spring 2000John Kristoff13 Spanning Tree Concepts: Root Bridge zThe bridge with the lowest bridge ID value is elected the root bridge zOne root bridge chosen among all bridges zEvery other bridge calculates a path to this root bridge

Spring 2000John Kristoff14 Spanning Tree Concepts: Path Cost zAssociated with each port on each bridge zThe cost associated with transmission onto the LAN connected to the port zCan be manually or automatically assigned zCan be used to alter the path to the root bridge

Spring 2000John Kristoff15 Spanning Tree Concepts: Root Port zThe port on each bridge that is on the path towards the root bridge zThe root port is part of the lowest cost path towards the root bridge zIf port costs are equal on a bridge, the port with the lowest ID becomes root port

Spring 2000John Kristoff16 Spanning Tree Concepts: Root Path Cost zThe minimum cost path to the root bridge zThe cost starts at the root bridge zEach bridge computes root path cost independently based on their view of the network

Spring 2000John Kristoff17 Spanning Tree Concepts: Designated Bridge zOnly one bridge on a LAN at one time is chosen the designated bridge zThis bridge provides the minimum cost path to the root bridge for the LAN zOnly the designated bridge passes frames towards the root bridge

Spring 2000John Kristoff18 Spanning Tree Concepts: Illustrated

Spring 2000John Kristoff19 Spanning Tree Concepts: Illustrated [continued]

Spring 2000John Kristoff20 Spanning Tree Algorithm: An Overview z1. Determine the root bridge among all bridges z2. Each bridge determines its root port yThe port in the direction of the root bridge z3. Determine the designated port on each LAN yThe port which accepts frames to forward towards the root bridge

Spring 2000John Kristoff21 Spanning Tree Algorithm: Selecting Root Bridge z1. Initially, each bridge considers itself to be the root bridge z2. Bridges send BDPU frames to its attached LANs ya. The bridge and port ID of the sending bridge yb. The bridge and port ID of the bridge the sending bridge considers root yc. The root path cost for the sending bridge z3. Best one wins (lowest ID/cost/priority)

Spring 2000John Kristoff22 Spanning Tree Algorithm: Selecting Root Ports zEach bridge selects one of its ports which has the minimal cost to the root bridge zIn case of a tie, the lowest uplink (transmitter) bridge ID is used zIn case of another tie, the lowest port ID is used

Spring 2000John Kristoff23 Spanning Tree Algorithm: Select Designated Bridges z1. Initially, each bridge considers itself to be the designated bridge z2. Bridges send BDPU frames to its attached LANs ya. The bridge and port ID of the sending bridge yb. The bridge and port ID of the bridge the sending bridge considers root yc. The root path cost for the sending bridge z3. Best one wins (lowest ID/cost/priority)

Spring 2000John Kristoff24 Forwarding/Blocking State zRoot and designated ports will forward frames to and from their attached LANs zAll other ports are in the blocking state

Spring 2000John Kristoff25 Configuration Messages

Spring 2000John Kristoff26 Bridge Encapsulation

Spring 2000John Kristoff27 Source Route Bridging zUsed in token ring environments zAlternative to transparent bridging zBridge loops can exist zDefined by IBM and standardized by IEEE zIntelligence moves from bridges to end stations

Spring 2000John Kristoff28 Source Routing Bridging

Spring 2000John Kristoff29 Source Route Destinations zNull - destination on the same LAN zNon-broadcast - includes a route to destination zAll routes broadcast - flooded to each LAN, bridges record route along the way zSingle route broadcast - only one frame per LAN, spanning tree used

Spring 2000John Kristoff30 Route Discovery zTransmit “all-route” broadcast to destination yDestination sends non-broadcast response to the first frame received (using that route) zTransmit “single-route” broadcast to destination yDestination sends back an all-route broadcast response ySender picks the first response received from destination Routes can also be manually configured on stations

Spring 2000John Kristoff31 Source Route Discovery: Illustrated

Spring 2000John Kristoff32 Routing Information Field zIf bit 0 of byte 0 in the source address is set to 1, then this frame is a source routed frame

Spring 2000John Kristoff33 Bridge Filters zUseful for controlling LAN traffic zExamines data link layer information zExamples yDo not forward frames from MAC address X yDo not forward Ethernet frames of type X yDo not forward broadcast frames from X yLimit source route hops to 6

Spring 2000John Kristoff34 Switches zPhysically similar to hubs zLogically similar to bridges zTakes advantage of improvements in ASIC technology zPermits full duplex operation zQuickly replacing hub/bridge technology zThe name switch is a marketing gimmick

Spring 2000John Kristoff35 Inside a Switch zConceptual operation yOne LAN segment per host yBridge interconnects each host/segment

Spring 2000John Kristoff36 Switches: Final Notes zStore and Forward zCut-through zMixing interfaces zVLANs zNetwork Management Issues yPort Mirroring ySecurity

Spring 2000John Kristoff37 Virtual LANs - An Introduction zDefines a broadcast domain on switches zOnly difference from LAN is the packaging zTo move between VLANs, you need a route (layer 3 device) zWhy have separate VLANs?

Spring 2000John Kristoff38 VLANs Illustrated