CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.

Slides:



Advertisements
Similar presentations
Communication Networks Recitation 3 Bridges & Spanning trees.
Advertisements

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.
Topic 7 Local Area Networks (LAN)
Joining LANs - Bridges. Connecting LANs 4 Repeater –Operates at the Physical layer no decision making, processing signal boosting only 4 Bridges –operates.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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.
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:
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Internetworking.
Internetworking Different networks –Different bit rates –Frame lengths –Protocols.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
CSEE W4140 Networking Laboratory Lecture 8: LAN Switching Jong Yul Kim
University of Delaware CPEG 4191 Plan for next month or so Networking z Networking at the link layer (LAN networking) z Tanenbaum p z Networking.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
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)
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.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 8: Bridging Slides used with permissions.
LAN Overview (part 2) CSE 3213 Fall April 2017.
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 CS 4396 Computer Networks Lab LAN Switching and Bridges.
CMPE 150 – Winter 2009 Lecture 9 February 3, 2009 P.E. Mantey.
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
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.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
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.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
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.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
Chapter 16– Connecting LANs
Internetworking (Part II)
Networking Devices.
Advanced Computer Networks
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
CS 4700 / CS 5700 Network Fundamentals
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Communication Networks NETW 501
LAN switching and Bridges
CS 4700 / CS 5700 Network Fundamentals
Dr. Rocky K. C. Chang 23 February 2004
Connections Johan Lukkien
Chapter 15. Connecting Devices
LAN switching and Bridges
Internetworking (Part II)
Presentation transcript:

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks

CMPE 150- Introduction to Computer Networks 2 Announcements Homework 3 due today. Lab this week: –Layer 2. –Ethernet. Holiday this Friday (11.11). Monday, class meets in E2 room 506.

CMPE 150- Introduction to Computer Networks 3 Today Data layer switching.

CMPE 150- Introduction to Computer Networks 4 LAN Interconnection Extend range of LAN. Support more users. Security and robustness. Heterogeneity. Hub Switch

CMPE 150- Introduction to Computer Networks 5 LAN Interconnection: Example Multiple LANs connected by a backbone.

CMPE 150- Introduction to Computer Networks 6 Bridges Connect LANs. Operate at the DLL. –Route based on DLL addresses. Routers route based on layer 3 addresses. Distinction between bridges, switches, and routers gets fuzzier as technology advances.

CMPE 150- Introduction to Computer Networks 7 Repeaters and Bridges Repeaters: –Extend scope of LANs. –Serve as amplifiers. –No storage/routing capabilities. Bridges: –Also extend scope of LANs. –Routing/storage capabilities.

CMPE 150- Introduction to Computer Networks 8 More on Bridges Have multiple interfaces, 1 per LAN. Use destination address to forward unicast frames; if destination is on the same LAN, drops frame; otherwise forwards it. Forward all broadcast frames. Have storage and routing capability.

CMPE 150- Introduction to Computer Networks 9 More on Bridges No additional encapsulation. But they may have to do header conversion if interconnecting different LANs (e.g., to frame). May interconnect more than 2 LANs. LANs may be interconnected by more than 1 bridge.

CMPE 150- Introduction to Computer Networks 10 Interconnecting Different LANs

CMPE 150- Introduction to Computer Networks 11 Bridges from 802.x to 802.y Operation of a LAN bridge from to

CMPE 150- Introduction to Computer Networks 12 Interconnecting Different LANs Conversion between different frame formats. –E.g., different frame lengths. Speed mismatch. –Buffering. Security. –Different security services provided by different DLLs/MACs. QoS?

CMPE 150- Introduction to Computer Networks 13 Routing Determining where to send frame so that it reaches the destination. Routing by learning: adaptive or backward learning.

CMPE 150- Introduction to Computer Networks 14 Routing with Bridges Bridge decides to relay frame based on destination MAC address. If only 2 LANs, decision is simple. If more complex topologies, routing is needed, i.e., frame may traverse more than 1 bridge.

CMPE 150- Introduction to Computer Networks 15 Routing with Bridges B Frames for 5->8. Frames for 1->4 LAN A LAN B

CMPE 150- Introduction to Computer Networks 16 Routing with Bridges (Cont’d) Listens to all frames on LAN A and accepts those addressed to stations on LAN B. Retransmits frames onto B. Does the same for B-to-A traffic.

CMPE 150- Introduction to Computer Networks 17 Transparent Bridges Plug them in and they work! How do they work? –Promiscuous mode operation. –Upon receiving frame, decide whether to forward it or not. –Routing table mapping destination addresses to outgoing interface.

CMPE 150- Introduction to Computer Networks 18 Local Internetworking Example: 4 LANs and 2 bridges.. In promiscuous mode, bridge accepts every incoming frame.. Decides to forward or discard frame.. A LAN1 B LAN1 C LAN2 …

CMPE 150- Introduction to Computer Networks 19 Backward Learning Routing algorithm used by transparent bridges. When a bridge starts, its routing table is empty. –So, it floods: every incoming frame is forwarded in all outgoing interfaces, except the one the frame was received. –In promiscuous mode, bridge sees all frames. –They look at the frame’s source and “remember” which LAN it came from. –Entries are timestamped and expire after a certain interval. Allows for topology changes.

CMPE 150- Introduction to Computer Networks 20 Backward Learning (Cont’d) If source LAN = destination LAN, discard frame. If source LAN <>destination LAN, forward frame. –If destination LAN unknown, flood frame.

CMPE 150- Introduction to Computer Networks 21 Loops Sometimes, more than 1 bridge interconnect 2 LANs. Topology loops are introduced.

CMPE 150- Introduction to Computer Networks 22 Loops: Example Alternate routes: loops. Example: –LAN A, bridge 101, –LAN B, bridge 104, –LAN E, bridge 107, –LAN A. LAN A LAN B E

CMPE 150- Introduction to Computer Networks 23 Loop: Problems A B LAN 1 LAN 2 B1 B2 1. Station A sends frame to B; bridges B1 and B2 don’t know B. 2. B1 copies frame onto LAN1; B2 does the same. 3. B2 sees B1’s frame to unknown destination and copies it onto LAN B1 sees B2’s frame and does the same. 5. This can go on forever.

CMPE 150- Introduction to Computer Networks 24 Loop Resolution Goal: remove “extra” paths by removing “extra” bridges. Spanning tree: –Given graph G(V,E), there exists a tree that spans all nodes where there is only one path between any pair of nodes, i.e., NO loops. –LANs are represented by nodes and bridges by edges.

CMPE 150- Introduction to Computer Networks 25 Definitions (1) Bridge ID: unique number (e.g., MAC address + integer) assigned to each bridge. Root: bridge with smallest ID. Cost: associated with each interface; specifies cost of transmitting frame through that interface. Root port: interface to minimum-cost path to root.

CMPE 150- Introduction to Computer Networks 26 Definitions (2) Root path cost: cost of path to root bridge. Designated bridge: on any LAN, bridge closest to root, i.e., the one with minimum root path cost.

CMPE 150- Introduction to Computer Networks 27 Spanning Tree Algorithm (1) 1. Determine root bridge. 2. Determine root port on all bridges. 3. Determine designated bridges.

CMPE 150- Introduction to Computer Networks 28 Spanning Tree Algorithm (2) Initially all bridges assume they are the root and broadcast message with its ID, root path cost. Eventually, lowest-ID bridge will be known to everyone and will become root. Root bridge periodically broadcasts it’s the root.

CMPE 150- Introduction to Computer Networks 29 Spanning Tree Algorithm (3) Directly connected bridges update their cost to root and broadcast message on other LANs they are attached. This is propagated throughout network. On any (non-directly connected) LAN, bridge closest to root becomes designated bridge.

CMPE 150- Introduction to Computer Networks 30 Spanning Tree: Example B3 LAN 2 LAN 1 LAN 3LAN 4 LAN 5 B5 B4 B1 B B3 LAN 2 LAN 1 LAN 3LAN 4 LAN 5 B5 B4 B1 B

CMPE 150- Introduction to Computer Networks 31 Spanning Tree: Example B1 LAN 1 LAN 2 B2 LAN 3LAN 4 LAN 5 B4 B5 B3. Only designated bridges on each LAN allowed to forward frames.. Bridges continue exchanging info to react to topology changes.

CMPE 150- Introduction to Computer Networks 32 Remote Bridges Remote bridges can be used to interconnect distant LANs.