WAN Wide Area Networks. Packet Switch Operation. Packet Switches. COMP476 Networked Computer Systems. WANs are made of store and forward switches.



Similar documents
Routing in packet-switching networks

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

Introduction to LAN/WAN. Network Layer

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

CS335 Sample Questions for Exam #2

Based on Computer Networking, 4 th Edition by Kurose and Ross

Long Distance Connection and WAN

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:

Static IP Routing and Aggregation Exercises

6.02 Practice Problems: Routing

TORA : Temporally Ordered Routing Algorithm

Chapter 10 Link-State Routing Protocols

CS Computer Networks 1: Routing Algorithms

Introduction to Metropolitan Area Networks and Wide Area Networks

Internet Control Message Protocol (ICMP)

Network layer: Overview. Network layer functions IP Routing and forwarding

Routing Protocols (RIP, OSPF, BGP)

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

DEMYSTIFYING ROUTING SERVICES IN SOFTWAREDEFINED NETWORKING

Simulation of Heuristic Usage for Load Balancing In Routing Efficiency

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Routing with OSPF. Introduction

Internet Routing. Review of Networking Principles

Scalable Source Routing

Cpt S 223. School of EECS, WSU

6.263 Data Communication Networks

Exterior Gateway Protocols (BGP)

Internet Packets. Forwarding Datagrams

Lecture 12: Link-state Routing"

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

OSPF Routing Protocol

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

Router and Routing Basics

Optimization of AODV routing protocol in mobile ad-hoc network by introducing features of the protocol LBAR

Network Load Balancing Using Ant Colony Optimization

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

value in arriving packet s header routing algorithm local forwarding table header value output link

Border Gateway Protocol BGP4 (2)

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

Social Media Mining. Graph Essentials

IP Multicasting. Applications with multiple receivers

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Computer Networks. Main Functions

Topological Properties

Seminar. Path planning using Voronoi diagrams and B-Splines. Stefano Martina

O /27 [110/129] via , 00:00:05, Serial0/0/1

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

EECS 489 Winter 2010 Midterm Exam

MPLS Part II - Recovery

DG Forwarding Algorithm

Analysis of QoS Routing Approach and the starvation`s evaluation in LAN

Border Gateway Protocol (BGP)

How To Understand The Power Of Icdn

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Introduction to Dynamic Routing Protocols

Lecture 23: Interconnection Networks. Topics: communication latency, centralized and decentralized switches (Appendix E)

Answers to Sample Questions on Network Layer

Flow-Based Real-Time Communication in Multi-Channel Wireless Sensor Networks

Network (Tree) Topology Inference Based on Prüfer Sequence

Hyacinth An IEEE based Multi-channel Wireless Mesh Network

Adaptive Resource Management and Control in Software Defined Networks

Path Selection Analysis in MPLS Network Based on QoS

RIP: Routing Information Protocol

Hyper Node Torus: A New Interconnection Network for High Speed Packet Processors

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

RIP: Routing Information Protocol

B4: Experience with a Globally-Deployed Software Defined WAN TO APPEAR IN SIGCOMM 13

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

Cloud Enabled Emergency Navigation Using Faster-than-real-time Simulation

Chapter 52 WAN Load Balancing

The Internet: A Remarkable Story. Inside the Net: A Different Story. Networks are Hard to Manage. Software Defined Networking Concepts

Search Heuristics for Load Balancing in IP-networks

MPLS/BGP Network Simulation Techniques for Business Enterprise Networks

Optimum Path Computation Algorithms for Multimedia and Real Time Services over IP-Networks

CITS1231 Web Technologies. Client, Server, the Internet, and the Web

Internet structure: network of networks

Ring Protection: Wrapping vs. Steering

Cisco Configuring Basic MPLS Using OSPF

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Data Networks Project 2: Design Document for Intra-Domain Routing Protocols

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

IP Traffic Engineering over OMP technique

VXLAN Bridging & Routing

An Introduction to The A* Algorithm

CSET 4750 Computer Networks and Data Communications (4 semester credit hours) CSET Required IT Required

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

524 Computer Networks

Transcription:

Routing WAN Wide Area Networks WANs are made of store and forward switches. To there and back again COMP476 Networked Computer Systems A packet switch with two types of I/O connectors: one type is used to connect to other packet switches, and the other is used to connect to computers. Packet Switches A small WAN formed by interconnecting packet switches. Connections between packet switches usually operate at a higher speed than connections to individual computers. Packet Switch Operation for all input lines { do forever { read a packet; if (valid) { output_line = table[destination_addr] if (queue[output_line] not full) put packet on queue[output_line] } } } COMP476 Networked Computer Systems 1

Routing - Network Model The graph below models a network. Each node corresponds to a packet switch in the network. Next-Hop Forwarding A given switch has information about the next place (hop) to send a packet so the packet will eventually reach its destination. Each node corresponds to a packet switch, and each edge represents a connection between the corresponding packet switches. The table is the next-hop forwarding information found in switch 2. Each switch has different next-hop information. Next Hop Routing Tables Routing Tables with Alternatives Routing tables can also contain a second choice route In the event the first route is unavailable or congested, packets can be sent on the alternate interface. node 1 node 2 node 3 node 4 dest next dest next dest next dest next 1-1 3 1 1 1 3 2 3 2-2 2 2 2 3 3 3 3 3-3 3 4 3 4 4 4 4 4 - COMP476 Networked Computer Systems 2

Next Hop Routing Tables with Alternatives node 1 node 2 node 3 node 4 dest next alt dest next alt dest next alt dest next alt 1 - - 1 3 4 1 1-1 3 2 2 3-2 - - 2 2 4 2 2 3 3 3-3 3 4 3 - - 3 3 2 4 3-4 4 3 4 4 2 4 - - Hierarchical Addressing Hierarchical addresses can be used to simplify routing. Local routing occurs without knowledge of distant nodes. If a packet needs to go to a distant node, it is given to a higher level node. The higher h level l nodes get the packet to the right group. Local routing gets the packet to the right node in the distant group. Hierarchical Routing Route Generation Global routing is done by local decisions. Routing table can be created: By a central system and distributed to nodes By sending node for each packet Learned by each node from neighbors COMP476 Networked Computer Systems 3

Optimal Routes There are several algorithms for computing the optimal path. Dijkstra s algorithm Floyd s algorithm distributed ib t d algorithm Dijkstra s Algorithm (One of the more popular methods for computation of the optimal path) Solves the problem of finding the shortest path from a point in a graph (the ) ) to a destination. Dijkstra s algorithm computes shortest paths in a graph by using weights on edges as a measure of distance. A path with the fewest number of edges may not be the path with least weight. * A graph with weights assigned to edges. The shortest path between nodes 4 and 5 is shown darkened. The distance along the path is 19, the sum of the weights on the edges. Dijkstra s Algorithm is O(n 2 ). If it takes 1.0 nsec per node and there are a million roads in the U.S., how long does it take to calculate a shortest path? Start with a table giving the distance from each to each destination. Immediate neighbors use the link dit distance. Other nodes have an infinite ifiit distance. dit 33% 33% 33% 1. 1.0 millisec 2. 1.0 sec 3. 1000 seconds 1.0 millisec 1.0 sec 1000 seconds 1 0 4 2 0 5 1 4 1 7 0 COMP476 Networked Computer Systems 4

For each non-infinite link, see if that is a shorter way to other destinations. If shorter, replace the current distance with the sum of fthe distance to an intermediate t plus the distance from the intermediate to the destination. Node 1 can get to node 3 in 4 time units. Node 3 can get to node 2 in 5 time units. The time to get from node 1 to 3 to 2 is 4+5=9. 1 0 4 2 0 5 1 4 1 7 0 1 0 9 4 2 0 5 1 4 1 7 0 Repeat for each node, for each intermediate and for each destination. Node 1 can get to node 4 by 1 3 (4 time units) then 3 4 (7 time units for a total of 11). Iterate until no more changes are made. Node 3 4 by node 3 2then2 2 4. 1 0 9 4 11 2 9 0 5 1 4 11 1 7 0 1 0 9 4 10 2 9 0 5 1 3 4 5 0 6 4 10 1 6 0 COMP476 Networked Computer Systems 5

Distributed Routing Each node computes the time to send a packet to its neighbors. Periodically, each node shares its routing table with its neighbors. Use the minimum( current path, (time to neighbor + neighbor to destination)) COMP476 Networked Computer Systems 6