Ch 13 WAN Technologies and Routing

Slides:



Advertisements
Similar presentations
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Advertisements

© 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.
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.
© 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.
Connecting LANs, Backbone Networks, and Virtual LANs
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
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
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.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
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
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.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
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.
© 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.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
1 Version 3.1 Module 6 Routed & Routing Protocols.
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.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Network Layer.
The Underlying Technologies
Routing Protocols and Concepts
Link-State Routing Protocols
Network Layer.
Chapter 3 Part 1 Switching and Bridging
EEC-484/584 Computer Networks
Internetworking & Address Resolution
WAN Technologies and Routing
THE NETWORK LAYER.
CS 457 – Lecture 12 Routing Spring 2012.
18-WAN Technologies and Dynamic routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing in Packet Networks Shortest Path Routing
Link-State Routing Protocols
Chapter 7 Packet-Switching Networks
ECE453 – Introduction to Computer Networks
Switch controller: Routing
EEC-484/584 Computer Networks
Link-State Routing Protocols
Wide Area Networks (WANs), Routing, and Shortest Paths
Ch. 12: WAN Technologies and Routing
Wide Area Networks (WANs), Routing, and Shortest Paths
Ch 17 - Binding Protocol Addresses
Wide Area Networks (WANs), Routing, and Shortest Paths
Wide Area Networks (WANs), Routing, and Shortest Paths
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Computer network technology
Network Layer.
Presentation transcript:

Ch 13 WAN Technologies and Routing Spring 2003

Motivation How to build a packet switching system that can span a large area Building blocks Point-to-point long-distance connections Packet switches Key issue that separate MAN/WAN from LAN is scalability Provide sufficient capacity to permit computers to communicate simultaneously

Motivation

Packet Switches A hardware device used to connects to Other packet switches Computers

Illustration of a Packet Switch Special-purpose computer system CPU Memory I/O interfaces Firmware

Illustration of a WAN

Forming 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 Interconnections depend on Estimated traffic (e.g., T1) Reliability needed

Store and Forward Packets Switch Sent from source computer Travels switch-to-switch to destination Switch “Stores” packet in buffer Examines packet’s destination address “Forwards” packet toward destination Output-port buffer

Physical Addressing in a WAN Each WAN technology defines the exact frame format Each device connected to a WAN is assigned a unique physical address Many WANs use a hierarchical addressing scheme for efficient forwarding Packet switch number Port number

Illustration of WAN Addressing An address is encoded as a single binary value Higher-order bits for switch number Low-order bits for computer number

Next-Hop Forwarding The process of forwarding a packet to its next hop is known as routing Routing table for switch 2

Forwarding Table Abbreviations Many entries point to same next hop can be condensed (default) Only examines the first part of the address Reduces the size of routing table (scalability) Improves lookup efficiency

Source Independency Next-hop forwarding does not depends on Packet’s source address The path the packet has taken Next-hop forwarding does depends on Packet’s destination

Relationship of Routing to Graph edge

Default Route Used to eliminate the case of duplication routing

Source of Routing Table Information Static routing (manual) Table created by hand Useful in small networks (simplicity and low network overhead) Useful if routes never change Dynamic routing (automatic) Software creates / updates table Needed in large networks Changes routes when failures occur

Dynamic Routing Distance Vector (DV) Link-state Both used in practice Switches exchange information in their routing tables Link-state Switches exchange link status information Can have a global view Both used in practice

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

Distance Vector Intuition 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 A N X V P Dest. Next Dist. V P 2 N A Cost=2 Dest. Next Dist. V X 6 Dest. Next Dist. V N 4

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

Link-State Routing

Shortest Path Computation in a Graph Possible distance metric Geographic distance Economic cost Inverse of capacity Darkened path is minimum for node 4 to node 5

Shortest Path Computation in a Graph Dijkstra’s Algorithms Routing table for switch 4 is constructed during the computation of the paths A switch Only communicates with directly attached neighbors Must learn route to each destination

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

Recent WAN Technologies Frame Relay Offered by phone companies Widely used commercial service SMDS (Switched Multi-megabit Data Service) Not as popular as Frame Relay ATM

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

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

Summary (continued) Example WAN technologies ARPANET X.25 SMDS Frame Relay ATM

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

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

Dijkstra’s Algorithm R[u]

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

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 1 2 3 4 5 7 D R S={1,2,3,4,5,7}  8 S={1,2,4,5,7} 13 S={1,4,5,7} 11 S={1,4,5} S={1,5} S={1} 20 S={}