Bridges Neil Tang 10/10/2008 CS440 Computer Networks.

Slides:



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

Switching and Forwarding
CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
Communication Networks Recitation 3 Bridges & Spanning trees.
4/12/2015© 2009 Raymond P. Jefferis IIILect Internet Protocol - Continued.
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.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.
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.
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.
Routing So how does the network layer do its business?
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
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.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
17-LAN extensions: Fiber Modems, Repeaters, Bridges and Switches Dr. John P. Abraham Professor UTPA.
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.
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.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Scaling Broadcast Ethernet Some slides used with.
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.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
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.
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.
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
CS440 Computer Networks 1 Packet Switching Neil Tang 10/6/2008.
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.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
Computer Networks-Packet Switching1 CHAPTER-3 PACKET SWITCHING.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
Ethernet switches and IP routers
CS 3700 Networks and Distributed Systems
Transparent Bridging.
Advanced Computer Networks
Lab 2 – Hub/Switch Data Link Layer
3. Internetworking (part 2: switched LANs)
Spanning Tree Algorithm
: 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
CS 3700 Networks and Distributed Systems
THE NETWORK LAYER.
Chapter 5 The Network Layer.
Intra-Domain Routing Jacob Strauss September 14, 2006.
LAN switching and Bridges
CS 4700 / CS 5700 Network Fundamentals
NT2640 Unit 9 Activity 1 Handout
Bridges and Extended LANs
Intradomain Routing Outline Introduction to Routing
LAN switching and Bridges
Switching and Forwarding
CS 4700 / CS 5700 Network Fundamentals
Dr. Rocky K. C. Chang 23 February 2004
Chapter 15. Connecting Devices
LAN switching and Bridges
Packet Switching Outline Store-and-Forward Switches
Virtual LAN (VLAN).
Presentation transcript:

Bridges Neil Tang 10/10/2008 CS440 Computer Networks

Bridge Used to connect two or more LANs. A simple multiple-input and multiple-output switch. Datagram (connectionless) switching. Whenever receiving a packet from an input port, forward it to all the other output ports. CS440 Computer Networks

Routing Table Host Port A 1 B C X 2 Y Z CS440 Computer Networks

Bridge Compute/maintain the routing table Human (administrator) maintained routing table. Automatically maintained table: inspect the source address of each received packet and update the routing table accordingly. CS440 Computer Networks

Loop in the Extended LAN Y CS440 Computer Networks

Loop in the Extended LAN Packets (corrupted, multicast, or normal packets but incomplete routing table) may potentially loop through the extended LAN forever. Loops are caused by two reasons: 1) An extended LAN may span multiple organization. In this setting, no person knows about the entire configuration. 2) Loops are built intentionally to support fault tolerance. CS440 Computer Networks

Spanning Tree Algorithm The spanning tree algorithm helps each bridge to decide the ports over which it is or is not willing to forward frames such that all LANs form a tree without any loop. A C E D B K F H J G I B5 B2 B3 B7 B4 B1 B6 CS440 Computer Networks

Spanning Tree Algorithm After running the algorithm The bridge with smallest ID is elected as the root. Each bridge is on the shortest path (minimum hop) to the root and knows which of its ports are on the path. Each LAN has a designated bridge which will be responsible for forwarding packets. Each designated bridge must be the one closest to the root. Bridge ID is used to break a tie. CS440 Computer Networks

Spanning Tree Algorithm Configuration message The ID for what the sending bridge believes to be the root The distance to the root in terms of hop count The ID of the sending bridge CS440 Computer Networks

Spanning Tree Algorithm Procedure Initially, each bridge thinks it is the root and send out corresponding configuration message. When receiving a configuration message over a port, it checks if this message is a “better” message (root with smaller id, shorter distance or smaller ID of sending bridge) for that port. If receiving a message indicating it is not the root, then the bridge stops generate its own configuration message and instead only modifies and forwards messages from other bridges. If receiving a message indicating it is not the designated bridge for that port, then the bridge stops sending any messages over that port. Eventually, the system will stabilize and a spanning tree will be constructed. CS440 Computer Networks

Spanning Tree Algorithm Example B3 receives (B2, 0, B2). Since 2<3, B3 accepts B2 as root B3 adds one to the distance advertised by B2 (0) and sends (B2, 1, B3) to B5. Meanwhile, B2 accepts B1 as the root and it sends (B1,1, B2) to B3. B5 accepts B1 as the root and sends (B1,1,B5) to B3. B3 accepts B1 as the root and it realizes that both B2 and B5 are closer to the root than it is. So it stops sending any messages on both ports. A C E D B K F H J G I B5 B2 B3 B7 B4 B1 B6 CS440 Computer Networks

Fault Tolerance After the system stabilizes, the root will continue to send the configuration message periodically and the other bridges will continues to forward it. If a bridge fails, the downstream bridges will not receive the configuration message. After a certain period, they will claim to be the root and start a new procedure again. CS440 Computer Networks

Broadcast and Multicast If the destination address of a received packet is a broadcast or multicast address, a bridge will forward it to all the other ports. Hosts will decide if it will accept this packet or not. CS440 Computer Networks

Limitations Scalability: Spanning tree algorithm and broadcast do not scale well. Heterogeneity: bridges can only be used to connect networks with same frame format. Traffic control: congestion, long latency, packet loss. CS440 Computer Networks