Routing Flooding, Link-State EE122 Section 4.

Slides:



Advertisements
Similar presentations
Interconnection Networks: Flow Control and Microarchitecture.
Advertisements

CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
112/04/2015 Tim Moors Example of the bridge process a b c Stations a, b, c, d are spread about. 1.Bridge tables are initially empty. 2.a sends to d. Flood.
Computer Networking A Top-Down Approach Chapter 4.7.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.
Business Data Communications Packetizing and Framing.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
Making bigger LANs out of small ones What technology is available to us for connecting small LANs together into larger ones?
Spanning Tree and Wireless EE122 Discussion 10/28/2011.
CSE390 Advanced Computer Networks Lecture 7: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised Fall.
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.
Spanning Tree and Multicast. The Story So Far Switched ethernet is good – Besides switching needed to join even multiple classical ethernet networks Routing.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
CS 453 Computer Networks Lecture 24 IP Routing. See…
Connecting LANs, Backbone Networks, and Virtual LANs
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth 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.
NETWORKS NEED HISTORY HARDWARE REQD. SOFTWARE REQD. TOPOLOGIES.
The Network Layer.
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.
Data Link Layer5-1 Self-learning, forwarding: example A A’ B B’ C C’ A A’ Source: A Dest: A’ MAC addr interface TTL Switch table (initially.
Hierarchies Ethernet Switches Must be Arranged in a Hierarchy –Root is the top-level Ethernet Switch Root.
Routing and Routing Protocols
Networking and internetworking devices. Repeater.
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.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Ch 22. Routing Direct and Indirect Delivery.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
4. Interconnecting Networks: Routers. © Tallal Elshabrawy 2 Bridges Vs Routers BRIDGES DO WELL IN SMALL (FEW HUNDRED HOSTS) WHILE ROUTERS USED IN LARGE.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Network Layer Chapter
Sender frame Receiver datagram frame Adapter Link layer protocol.
The Network Layer UNIT-4 snistforum.com. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
Routing Link-State, Distance-Vector CS168 Section 2.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
ROUTING.
CS 3700 Networks and Distributed Systems
Routing Jennifer Rexford.
Routing: Link State Algorithm
Computer Network Topology
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.
(How the routers’ tables are filled in)
Lab 2 – Hub/Switch Data Link Layer
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
Lab 2 – Hub/Switch Data Link Layer
CS 3700 Networks and Distributed Systems
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
CS 4700 / CS 5700 Network Fundamentals
Link state routing In link state routing, if each node in the domain has the entire topology of the domain list of nodes and links, how they are connected.
NT2640 Unit 9 Activity 1 Handout
Network Notes Ms Allan 2012 AS91260 (2.5) Designed to teach from,
ECE 544 Project3 Team member: BIAO LI, BO QU, XIAO ZHANG 1 1.
CS 4700 / CS 5700 Network Fundamentals
Dr. Rocky K. C. Chang 23 February 2004
Communication Networks NETW 501
Switch controller: Routing
Spanning Tree Algorithms
Chapter 15. Connecting Devices
Bridges and Link Layer Switches
7.2 x 10-7 N attraction 2.1 x 10-7 N repulsion A on B / B on A
Presentation transcript:

Routing Flooding, Link-State EE122 Section 4

First off, where are we? Application Transport Network Datalink Mostly still here Network Datalink Physical

Flooding NOT a Spanning Tree A  G B A C D E G F Does every node receive A’s packet? Does every node receive exactly one copy of A’s packet? (i.e. is there exactly one way to reach every node?) NOT a Spanning Tree

Flooding Spanning Tree A  G B A C D E G F Does every node receive A’s packet? Does every node receive exactly one copy of A’s packet? (i.e. is there exactly one way to reach every node?) Spanning Tree

Spanning Tree Rooted at G B A C D E G F Every node can reach G by following the arrows

Spanning Tree Rooted at E B A C D E G F Every node can reach E by following the arrows

Spanning Tree Loop-free, dead-end-free topology Easiest way to reach destination is Flooding E G A C D B F Wasteful  Motivation for Learning Switch

Learning Switch NO NEED TO FLOOD! Q1a) Node A wants to reach Node G All nodes now know which port to reach Node A on Packet takes the path A – E – F – G Q1b) Node F wants to reach Node A Node F knows Node A is on its left port Node E knows Node A is on its upper port Packet takes the path F – E – A B A C D E G F NO NEED TO FLOOD!

Learning Switch B Q1c) Node B wants to reach Node F A Flood or no? C When do we stop? Nodes ACEF receive the packet Packet takes the path B-A-E-F A C D E G F

Learning Switch Q1d) 1 1 1 3 1 Node A Node B Node C Node D Port A B C   Port A B C D E F G   Port A B C D E F G   Port A B C D E F G   Port A B C D E F G 1 1 1 3 1 Node A Node B Node C Node D

Learning Switch Q1d) 1 1 1 2 Node E Node F Node G Port A B C D E F G   Port A B C D E F G   Port A B C D E F G   Port A B C D E F G 1 1 1 2 Node E Node F Node G

Link-State Routing A C B D

Link-State Routing A C B D Q2a) i B C D 1 2 5 1 2 8 4 (1, A) (5, A) ∞ 1 2 A C B D 5 1 2 8 4 (1, A) (5, A) ∞ (1, A) (3, B) (9, B) (1, A) (3, B) (7, C) Node A i A C D 1 2 (1, B) (2, B) (8, B) (1, B) (2, B) (8, B) (1, B) (2, B) (6, C) Node B

Link-State Routing A C B D Q2a) i A B D 1 2 5 1 2 8 4 (5, C) (2, C) 1 2 A C B D 5 1 2 8 4 (5, C) (2, C) (4, C) (3, B) (2, C) (4, C) (3, B) (2, C) (4, C) Node C i A B C 1 2 ∞ (8, D) (4, D) (9, C) (6, C) (4, D) (7, B) (6, C) (4, D) Node D

Link-State Routing A B C D Q2b) Node A sends to D Shortest path: ABCD Cost: 7 What if the nodes don’t have the same map? A 1 5 B 2 C 8 4 D

Link-State Routing A B C D Q2c) Cost of link BC = 20, B sends to C B thinks shortest path is BAC A thinks shortest path is ABC B  A  B  A… Cost: ∞ A 1 5 B 20 C 8 4 D