CSCI 4550/8556 Computer Networks Comer, Chapter 13: WAN Technologies and Routing.

Slides:



Advertisements
Similar presentations
Chapter 9 Introduction to MAN and WAN
Advertisements

Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Routing: Cores, Peers and Algorithms
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.
© 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.
Routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Delivery, Forwarding, and Routing
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
WAN Technologies.
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 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast 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.
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Sixth.
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Third.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks.
Data Communications & Computer Networks, Second Edition1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
1 WAN Technologies and Routing. 2 Motivation Connect multiple computers Span large geographic distance Cross public right-of-way –Streets –Buildings –Railroads.
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Eighth.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Chapter 12(13) - WAN Technologies and Routing Route computation with a graph Redundant routing information Default routes Building routing tables Computation.
The Network Layer.
William Stallings Data and Computer Communications
Routing and Routing Protocols
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Internetworking, WANs, and Dynamic Routing.
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks.
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Fifth.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
SEPT, 2005CSI Part 3.1 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.
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Sixth.
COMPUTER NETWORKS CS610 Lecture-17 Hammad Khalid Khan.
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
The Underlying Technologies
Ch 13 WAN Technologies and Routing
Chapter Nine Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Eighth.
Chapter 6 Delivery & Forwarding of IP Packets
Introduction to Metropolitan Area Networks and Wide Area Networks
WAN Technologies and Routing
18-WAN Technologies and Dynamic routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
ECE453 – Introduction to Computer Networks
Ch. 12: WAN Technologies and Routing
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.
Routing.
Virtual LAN (VLAN).
Presentation transcript:

CSCI 4550/8556 Computer Networks Comer, Chapter 13: WAN Technologies and Routing

Introduction LANs can be extended using techniques described in the previous chapter But they cannot be extended arbitrarily far or to handle arbitrarily many computers Distance limitations even with extensions Broadcast communication is a problem We need other technologies for larger networks

Characterizations of Networks Local Area Network (WAN) - single building Metropolitan Area Network (MAN) - single city Wide Area network (WAN) - country, continent, planet

Differences between LAN and WAN Satellite bridge can extend LAN across large distances Still cannot accommodate arbitrarily many computers WAN must be scalable to long distances and many computers

Packet Switches To span long distances or many computers, a network must replace the shared medium with packet switches Each switch moves an entire packet from one connection to another A packet switch is just a small computer with several network interfaces, memory and program dedicated to the packet switching function

Connections to Packet Switches Packets switches may connect to computers and to other packet switches Typically high speed connections are to other packets switches, lower speed to computers Technology details depend on desired speed

Packet Switches as Building Blocks Packet switches can be linked together to form WANs WANs need not be symmetric or have regular connections Each switch may connect to one or more other switches and one or more computers

Store and Forward Data delivery from one computer to another is accomplished through store-and-forward technology Packet switch stores incoming packet... and forwards the packet to another switch or computer Packet switch has internal memory Can hold packet if outgoing connection is busy Packets for each connection held on queue

Physical Addressing in a WAN Physical addressing in a WAN is similar to LAN Data transmitted in packets (equivalent to frames) Each packet has format with header Packet header includes destination and source addresses Many WANs use hierarchical addressing for efficiency One part of address identifies destination switch Other part of address identifies port on switch

Next-Hop Forwarding Packet switch must choose outgoing connection for forwarding If destination is local computer, packet switch delivers computer port If destination is attached another switch, this packet switch forwards to next hop through connection to another switch Choice based on destination address in packet

Choosing the Next Hop Packet switch doesn't keep complete information about all possible destination Just keeps next hop So, for each packet, packet switch looks up destination in table and forwards through connection to next hop

Source Independence The next hop to the destination does not depend on the source of a packet. This is called source independence. It allows fast, efficient routing. A packet switch need not have complete information, just information about the next hop. This… reduces the total information needed by a packet switch, and increases the dynamic robustness of the network - it can continue to function even if the topology changes without notifying all nodes in the entire network.

Hierarchical Addresses and Routing The process of forwarding a packet is called routing. Information is kept in a routing table. Many entries in the table may have same next hop address. In particular, all destinations on same switch have same next hop address. Thus, the routing table can be collapsed (simplified):

WAN Architecture and Capacity More computers on a network means more traffic. We can add capacity to a WAN by adding more links and packet switches. Packet switches need not have computers attached. Interior switch - no attached computers Exterior switch - attached computers

Routing in a WAN Both interior and exterior switches… forward packets, and need routing tables We must have: Universal routing – there must be a next hop address for each possible destination. Optimal routes – the next hop identified by the table must be on shortest path to destination.

Modeling a WAN To model a WAN, use a graph: Nodes model switches Edges model direct connections between switches The graph captures the essence of the network, ignoring the attached computers.

Route Computation with a Graph We can represent a routing table with edges: Graph algorithms can be applied to find routes.

Redundant Routing Information Notice the duplication of information in routing table for node 1: Switch 1 has only one outgoing connection; all traffic must traverse that connection This can easily be extrapolated to UNO’s campus networks and the Internet.

Default Routes We can possibly summarize many routing table entries with a default route. If a destination does not have an explicit routing table entry, we use the default route: The use of a default route is optional (see node 3) Consider most of the individual computers in PKI.

Building Routing Tables How to enter information into routing tables: Manual entry - initialization file Dynamically - through runtime interface How to compute routing table information: Static routing - at boot time Dynamic routing - allow automatic updates by a program Static is simpler; it doesn't accommodate changes to the network topology. Dynamic requires additional protocol(s); it can work around network failures.

Computation of Shortest Path in a Graph Assume the graph representation of a network at each node. Use Dijkstra's algorithm to compute shortest path from each node to every other node. Extract next-hop information from resulting path information. Insert next-hop information into routing tables.

Graphs with Weighted Edges Dijkstra's algorithm can accommodate weights on edges in graph. Shortest path is then the path with lowest total weight (sum of weights of all edges). Shortest path not necessarily fewest edges (or hops).

Synopsis of Dijkstra’s Algorithm Keep data structure with list of nodes and weights of paths to those nodes. Use infinity to represent a node in the set S of nodes for which a path has not yet been computed. At each iteration, find a node in S, compute the path to that node, and delete the node from S.

Distance Metrics Weights on graph edges reflect "cost" of traversing edge Time Dollars Hop count (weight == 1) Resulting shortest path may not have fewest hops!

Dynamic Route Computation Network topology may change dynamically: Switches may be added Connections may fail Costs for connections may change Switches must update their routing tables based on topology changes.

Distributed Route Computation Pass information about network topology between nodes. Update information periodically. Each node recomputes its shortest paths and next hops based on updates it receives. The new values are injected changes into routing tables.

Vector Distance Algorithm Local information is next-hop routing table and distance from each switch Switches periodically broadcast topology information Other switches update routing table based on received information

Vector Distance Algorithm (Cont’d) Very simple pseudocode: Wait for the next update message to arrive. Iterate through the updates in the message… If an update entry has a shorter path to a destination that the one we’ve got, then… –Insert the source of this message as the next hop to the destination –Record the distance to the destination as the sum of the distance to the source of the update message AND the distance from that switch to the destination Else just ignore the update entry Periodically (after a change), send our table to the neighboring switches for their updates

Link State Routing Separates network topology from route computation Switches send link-state information about local connections Each switch builds own routing tables Uses link-state information to update global topology Runs Dijkstra's algorithm

Comparison Vector-distance algorithm Very simple to implement May have convergence problems Used in RIP Link-state algorithm Much more complex Switches perform independent computations Used in OSPF

Examples of WAN Technology (1) ARPANET Began in 1960s Funded by Advanced Research Projects Agency, an organization of the US Defense Department Incubator for many of current ideas, algorithms and internet technologies See Where Wizards Stay Up Late X.25 Early standard for connection-oriented networking From ITU, which was originally CCITT Predates computer connections, used for terminal/timesharing connection

Examples of WAN Technology (2) Frame Relay Telco service for delivering blocks of data Connection-based service; must contract with telco for circuit between two endpoints Typically 56Kbps or 1.5Mbps; can run to 100Mbps SMDS - Switched Multi-megabit Data Service Also a Telco service Connectionless service; any SMDS station can send a frame to any other station on the same SMDS "cloud" Typically Mbps

Examples of WAN Technology (3) ATM - Asynchronous Transfer Mode Designed as single technology for voice, video, data,... Low jitter (variance in delivery time) and high capacity Uses fixed size, small cells - 48 octets data, 5 octets header Can connect multiple ATM switches into a network

Summary WAN can span arbitrary distances and interconnect arbitrarily many computers Uses packet switches and point-to-point connections Packets switches use store-and-forward and routing tables to deliver packets to destination WANs use hierarchical addressing Graph algorithms can be used to compute routing tables Many WAN technologies exist