Wide Area Networks (WANs), Routing, and Shortest Paths

Slides:



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

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Routing: Cores, Peers and Algorithms
IP: The Internet Protocol
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART VII-2 Wide Area Networks (WANs), Routing, and Shortest Paths.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 12 Introduction to Networks and the Internet.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
CSCI 4550/8556 Computer Networks Comer, Chapter 13: WAN Technologies and Routing.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
WAN Technologies.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
WAN Technologies & Topologies Lecture 8 October 4, 2000.
Chapter 13 WAN Technologies and Routing. LAN Limitations Local Area Network (LAN) spans a single building or campus. Bridged LAN is not considered a Wide.
Chapter 13: WAN Technologies and Routing 1. LAN vs. WAN 2. Packet switch 3. Forming a WAN 4. Addressing in WAN 5. Routing in WAN 6. Modeling WAN using.
CECS 474 Computer Network Interoperability WAN Technologies & Routing
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Chapter Wide Area Networks (WANs), Routing, and Shortest Paths.
1 Wide Area Networks Computer Networks. 2 Motivation Connect multiple sites Span geographic distances Cross public right-of-way streets buildings railroads.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
G64INC Introduction to Network Communications
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
Day 12 Chapter 13 WAN Technologies and Routing. Classification of Networks LAN – spans a single building or campus MAN – Spans a city WAN – Spans multiple.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
1 WAN Technologies and Routing. 2 Motivation Connect multiple computers Span large geographic distance Cross public right-of-way –Streets –Buildings –Railroads.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Internetworking, WANs, and Dynamic Routing.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
SEPT, 2005CSI Part 3.1 Wide Area Networks (WANs), Routing, and Shortest Paths Robert L. Probert, SITE, University of Ottawa.
SEPT, 2003CSI Part 1.3 Wide Area Networks (WANs), Routing, and Shortest Paths Robert L. Probert, SITE, University of Ottawa.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Network Layer.
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Communication Networks: Technology & Protocols
The Underlying Technologies
Ch 13 WAN Technologies and Routing
Chapter 15: Distributed Structures
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
Routing Protocols and Concepts
Link-State Routing Protocols
Chapter 3 Part 1 Switching and Bridging
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Internetworking & Address Resolution
WAN Technologies and Routing
THE NETWORK LAYER.
18-WAN Technologies and Dynamic routing
Routing: Distance Vector Algorithm
Chapter 16: Distributed System Structures
Routing in Packet Networks Shortest Path Routing
Link-State Routing Protocols
ECE453 – Introduction to Computer Networks
Switch controller: Routing
Link-State Routing Protocols
Wide Area Networks (WANs), Routing, and Shortest Paths
Wide Area Networks (WANs), Routing, and Shortest Paths
Wide Area Networks (WANs), Routing, and Shortest Paths
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Network Layer.
Presentation transcript:

Wide Area Networks (WANs), Routing, and Shortest Paths Part 3.1 Wide Area Networks (WANs), Routing, and Shortest Paths Robert L. Probert, SITE, University of Ottawa SEPT, 2005 CSI 4118

Motivation Connect multiple computers Span large geographic distance Cross public right-of-way Streets Buildings Railroads SEPT, 2005 CSI 4118

Building Blocks Point-to-point long-distance connections Packet switches SEPT, 2005 CSI 4118

Packet Switch Hardware device Connects to Forwards packets Other packet switches Computers Forwards packets Uses addresses SEPT, 2005 CSI 4118

Illustration of a Packet Switch Special-purpose computer system CPU Memory I/O interfaces Firmware SEPT, 2005 CSI 4118

Building a WAN Place one or more packet switches at each site Interconnect switches LAN technology for local connections Leased digital circuits for long-distance connections SEPT, 2005 CSI 4118

Illustration of a WAN Interconnections depend on Estimated traffic Reliability needed SEPT, 2005 CSI 4118

Store and Forward Basic paradigm used in packet switched network Sent from source computer Travels switch-to-switch Delivered to destination Switch “Stores” packet in memory Examines packet’s destination address “Forwards” packet toward destination SEPT, 2005 CSI 4118

Addressing in a WAN Need Two-part address Unique address for each computer Efficient forwarding Two-part address Packet switch number Computer on that switch SEPT, 2005 CSI 4118

Illustration of WAN Addressing Two part address encoded as integer Higher-order bits for switch number Low-order bits for computer number SEPT, 2005 CSI 4118

Next-Hop Forwarding Performed by packet switch Uses table of routes Table gives next hop SEPT, 2005 CSI 4118

Forwarding Table Abbreviations Many entries point to same next hop Can be condensed (default) Improves lookup efficiency SEPT, 2005 CSI 4118

Source of Routing Table Information Manual Table created by hand Useful in small networks Useful if routes never change Automatic routing Software creates/updates table Needed in large networks Changes routes when failures occur SEPT, 2005 CSI 4118

Relationship of Routing To Graph Theory Node models switch Edge models connection SEPT, 2005 CSI 4118

Shortest Path Computation Algorithms from graph theory No central authority (distributed computation) A switch Must learn route to each destination Only communicates with directly attached neighbors SEPT, 2005 CSI 4118

Illustration of Minimum Weight Path Label on edge represents “distance” Possible distance metric Geographic distance Economic cost Inverse of capacity Darkened path is minimum 4 to 5 SEPT, 2005 CSI 4118

Algorithms for Computing Shortest Paths Distance Vector (DV) Switches exchange information in their routing tables Link-state Switches exchange link status information Both used in practice SEPT, 2005 CSI 4118

Distance Vector Periodic, two-way exchange between neighbors During exchange, switch sends List of pairs Each pair gives (destination, distance) Receiver Compares each item in list to local routes Changes routes if better path exists SEPT, 2005 CSI 4118

Distance Vector Algorithm SEPT, 2005 CSI 4118

Distance Vector Intuition Let N be neighbor that sent the routing message V be destination in a pair D be distance in a pair C be D plus the cost to reach the sender If no local route to V or local routed has cost greater than C, install a route with next hop N and cost C Else ignore pair SEPT, 2005 CSI 4118

Example of Distance Vector Routing Consider transmission of one DV message Node 2 send to 3, 5, and 6 Node 6 installs cost 8 route to 2 Later 3 sends update to 6 6 changes route to make 3 the next hop for destination 2 SEPT, 2005 CSI 4118

Link-State Routing Overcomes instabilities in DV Pair of switches periodically Test link between them Broadcast link status message Switch Receives status message Computes new routes Uses Dijkstra’s algorithm SEPT, 2005 CSI 4118

Example of Link-State Information Assume nodes 2 and 3 Test link between them Broadcast information Each node Receives information Recomputes routes as needed SEPT, 2005 CSI 4118

Dijkstra’s Shortest Path Algorithm Input Graph with weighted edges Node, n Output Set of shortest paths from n to each node Cost of each path Called Shortest Path First (SPF) algorithm SEPT, 2005 CSI 4118

Dijkstra’s Algorithm SEPT, 2005 CSI 4118

Algorithm Intuition Start with self as source node Move outward At each step Find node u such that it Has not been considered Is “closest” to source Compute Distance from u to each neighbor v If distance shorter, make path from u go through v SEPT, 2005 CSI 4118

Result of Dijkstra’s Algorithm Example routes from node 6 To 3, next hop = 3, cost = 2 To 2, next hop = 3, cost = 5 To 5, next hop = 3, cost = 11 To 4, next hop = 7, cost = 8 SEPT, 2005 CSI 4118

Early WAN Technologies ARPANET Historically important in packet switching Fast when invented, slow by current standards X.25 Early commercial service Still Used More popular in Europe SEPT, 2005 CSI 4118

Recent WAN Technologies SMDS Offered by phone companies Not as popular as Frame Relay Frame Relay Widely used commercial service ATM SEPT, 2005 CSI 4118

Assessment of ATM In practice, failed to deliver on promise Switches too expensive for LAN QoS impossible to implement SEPT, 2005 CSI 4118

Summary Wide Area Networks (WANs) WAN addressing Span long distances Connect many computers Built from packet switches Use store-and-forward WAN addressing Two-part address Switch/computer SEPT, 2005 CSI 4118

Summary (continued) Routing Routing tables created Each switch contains routing table Table gives next-hop for destination Routing tables created Manually Automatically Two basic routing algorithms Distance vector Link state SEPT, 2005 CSI 4118

Summary (continued) Example WAN technologies ARPANET X.25 SMDS Frame Relay ATM SEPT, 2005 CSI 4118