Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.

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.
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.
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:
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
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.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
Making bigger LANs out of small ones What technology is available to us for connecting small LANs together into larger ones?
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.
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)
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.
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.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
10/18/2007 EETS Bluetooth Bluetooth Architecture Bluetooth Applications The Bluetooth Protocol Stack The Bluetooth Radio Layer The Bluetooth Baseband.
ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 6.1: Internetworking Dr. Nghi Tran.
Fundamentals of Computer Networks ECE 478/578 Lecture #12: Packet Switching Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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.
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.
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.
Lecture 11: Switches Reading: Section 3.2 ? CMSC 23300/33300 Computer Networks
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
Bridges and LAN Switches
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.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
Computer Communication and Networking Lecture # 4 by Zainab Malik 1.
Fundamentals of Computer Networks ECE 478/578
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
Routing Jennifer Rexford.
Advanced Computer Networks
Part III Datalink Layer 10.
Lab 2 – Hub/Switch Data Link Layer
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 1 Switching and Bridging
Lab 2 – Hub/Switch Data Link Layer
CS 457 – Lecture 8 Switching and Forwarding
THE NETWORK LAYER.
LAN switching and Bridges
Communication Networks NETW 501
LAN switching and Bridges
Dr. Rocky K. C. Chang 23 February 2004
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
LAN switching and Bridges
Packet Switching Outline Store-and-Forward Switches
ECE 4450:427/527 - Computer Networks Spring 2017
Bridges Neil Tang 10/10/2008 CS440 Computer Networks.
Virtual LAN (VLAN).
Presentation transcript:

Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University of Arizona

Source Routing Idea: Include the entire route to be followed in the header Nodes must know the network topology in advance 2

Possible Header Implementations Header has variable length Used in both datagram and VC switching (connection setup) May be “loose” or “strict” routing 3

Bridges Bridges are special switches that interconnect Ethernet networks Act as simple nodes on each Ethernet Early bridges forwarded all packets between the two networks 4

Bridges Vs. Repeaters Repeaters are analog amplifiers of the signal Monitor the existence of analog signal on the line Amplify and repeat the signal Physical layer function, no message parsing Bridges “repeat” frames rather than signals They forward received frames among different LANs Message parsing is performed to decide whether to fwd the packet or not 5

Limitations of Repeaters All hosts connected via repeaters belong to the same collision domain Every bit is sent everywhere So, aggregate throughput is limited E.g., three departments each get 10 Mbps independently … and then connect via a hub and must share 10 Mbps Multiple LAN technologies not compatible No message parsing – analog process No interoperability between different rates and formats E.g., 10 Mbps Ethernet and 100 Mbps Ethernet Limited geographical distances and # of nodes 6

Advantages of Bridges Facilitate breaking of network into isolated collision domains Message parsing may avoid unnecessary packet forwarding 7 Collision domain 1 Collision domain 2

Bridge Forwarding Table Not all packets need to be forwarded. E.g., packets from A to B need not be forwarded on port 2 Bridges maintain a forwarding table 8 HostPort A1 B1 C1 X2 Y2 Z2

Forwarding Algorithm 9 Look up Destination Address Forward designated port Flood all ports but incoming one Destination not found broadcast Discard Same as incoming port Destination found Different port

Problem with Flooding 10

Some Preliminaries on Graphs Graph G(V, E) : Collection of vertices and edges V: Set of vertices E: Set of edges, e(x, y) = 1, if x, y connected, 0 otherwise Path: sequence of vertices with an edge between subsequent vertices (can be defined as sequence of edges as well) 11 V1V1 V3V3 V2V2 V4V4 V5V5 V6V6 Path: {V 1, V 3, V 4 } Vertex Edge

Connected Graph A graph is said to be connected, if there is a path from any node to any other node 12 V1V1 V3V3 V2V2 V4V4 V5V5 V6V6 V1V1 V3V3 V2V2 V4V4 V5V5 V6V6

k-Connected Graph Vertex degree: # of edges adjacent to the vertex A graph is k-connected if the degree of each vertex is at least k. Alternatively, if removal of any k-1 edges does not leave the graph disconnected A graph of N vertices is fully connected if each node has a degree (N – 1) (directly connected network) 13 V1V1 V3V3 V4V4 V5V5 V6V6 Number of edges: N(N-1)/2

(A)Cyclic Graphs Cycle: a path with the same first and last vertex Cyclic graph: A graph that contains at least one cycle Acyclic graph: A graph with no cycles Tree: An acyclic connected graph (spanning tree, spans all vertices) Forest: A disconnected acyclic graph (a graph with many trees) 14 V1V1 V3V3 V4V4 V5V5 V6V6 V1V1 V3V3 V4V4 V5V5 V6V6 Cyclic graph Tree

Mapping Extended LAN to a Graph Bridges and LANs become vertices, ports become edges Goal: Make a tree that spans only LANs (red vertices) 15 B3B3 A B5B5 B7B7 B K F B1B1 B2B2 B6B6 B4B4 J H I G E C D

Spanning Tree Algorithm(1) Each bridge has a unique identifier Pick bridge with smallest ID, make it the root of the tree 16 F B1B1 H G E D

Spanning Tree Algorithm(2) Compute shortest path (in terms of hops) from each bridge to root 17 B3B3 A B5B5 B7B7 B K F B1B1 B2B2 B6B6 B4B4 J H I G E C D

Spanning Tree Algorithm(3) Each LAN remains connected to the bridge with shortest path to the root. In case of a tie use smallest ID 18 B3B3 A B5B5 B7B7 B K F B1B1 B2B2 B6B6 B4B4 J H I G E C D

Message Exchange Initially, all bridges consider themselves as roots Broadcast on all ports ID, root bridge, and distance to root If bridge hears a message from another bridge with smaller ID it adjusts root/distance, and forwards Ex., Let (Y, d, X) denote (root, distance, bridge ID) B3 receives (B2, 0, B2) B3 accepts B2 as root B3 adds one on its distance to B2, and fwds to B5 (B2, 1, B3) B2 accepts B1 as root and updates B3 with (B1, 1, B2) B5 accepts B1 as root and updates B3 with (B1, 1, B3) B3 accepts B1 as root, and note that both B2, B5 are closer to root in both ports. Hence, B3 blocks all ports 19