Network Course Internetworking Protocols Dr. Raed Al Qadi.

Slides:



Advertisements
Similar presentations
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Advertisements

Routing Protocol.
Courtesy: Nick McKeown, Stanford
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
1 LINK STATE PROTOCOLS (contents) Disadvantages of the distance vector protocols Link state protocols Why is a link state protocol better?
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
RFC 2453 RIP 2 (Routing Information Protocol) Daher Kaiss.
Routing.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
ROUTING BASICS. Why are Routers Necessary? One of the key components of the technical infrastructure of the network One of the key components of the technical.
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Packet-Switching Networks Routing in Packet Networks.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—-5-1 WAN Connections Routing & Enabling RIP.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
Network Layer4-1 Distance Vector Algorithm Bellman-Ford Equation (dynamic programming) Define d x (y) := cost of least-cost path from x to y Then d x (y)
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
The Network Layer.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Cisco Systems Networking Academy S2 C 11 Routing Basics.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vectore Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
Chapter 5 IP Routing Routing Protocol vs. Routed Protocol.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing Protocols Brandon Wagner.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
4: Network Layer4a-1 Distance Vector Routing Algorithm iterative: r continues until no nodes exchange info. r self-terminating: no “signal” to stop asynchronous:
Objectives After completing this chapter you will be able to: Describe the Routing Information Protocol (RIP version 1 and RIP version 2) Describe Routing.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Chapter 11 Routing. Objectives Routing BasicsRouting Basics Why Routing Protocols are NecessaryWhy Routing Protocols are Necessary Distance-Vector RoutingDistance-Vector.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
+ Dynamic Routing Protocols 2 nd semester
Introduction to Dynamic Routing Protocol
ROURING ALGORITHM: LINK STATE
Instructor Materials Chapter 5: Dynamic Routing
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic Routing Protocols part2
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Routing.
Distance Vector Routing: overview
Chapter 5: Dynamic Routing
Chapter 5: Dynamic Routing
Routing in Packet Networks Shortest Path Routing
CS 3700 Networks and Distributed Systems
Intradomain Routing Outline Introduction to Routing
Dynamic Routing and OSPF
Chapter 7 Packet-Switching Networks
RFC 1058 & RFC 2453 Routing Information Protocol
ECE453 – Introduction to Computer Networks
CS 3700 Networks and Distributed Systems
DSDV Destination-Sequenced Distance-Vector Routing Protocol
Computer Networks Protocols
Routing.
Presentation transcript:

Network Course Internetworking Protocols Dr. Raed Al Qadi

Network Layer Internetworking Introduction Issues: Technical Routing Addressing Connectionless Vs. Connection-Oriented Administrative Trust Security Legal Accounting

Cont… Focus on technical issues, particularly routing in this section. Connection-Oriented/Connectionless discussed in transport layer section. Routing protocol Gateway / Router Route / Path Metric The main goal of routing protocol is to discover paths between source and destination systems which satisfy given conditions, e.g., minimal path cost or conformance with administrative policies or regulations.

Network Layer Internetworking Protocol Types Distance Vector Protocols Link State Protocols IGP vs. EGP

Network Layer Internetworking Introduction (cont) Topologically Adaptive Routing Algorithms Routes are computed based on information exchange among nodes. Computations is based on what nodes/links are up/down at any given time and weights are given to eash link that is available Traffic Adaptive Routing Algorithms Like topology adaptive, except current traffic patterns are taken into account.

Protocol Types Distance Vector Protocols Nodes learn about the network topology from neighbor nodes. They then compute routes based on this information. If the node change the way it will route traffic after the computation, it informs its neighbors of the new routes(either immediately or after a pre-determined time). Neighbors on receipt of new routing information also recompute and if they alter their routes they inform their neighbors, etc. The computational complexity of this scheme is between N 2 and N 3 where N is the number of nodes in the network.

Distance Vector Protocols Example A DB FE C

Cont.. Step 0. Database at A B C D E F A 0 3A __ 1A __ __ B 3B 0 8B 1B __ __ C __ 8C 0 __ 4C __ Destination D 1D 1D __ 0 __ 2D E __ __ 4E __ 0 1E F __ __ __ 2F 1F 0 Assume all gateways exchange complete database at each step

Cont.. Step 1. Database at A B C D E F A 0 2D 11B 1A __ 3D B 2D 0 8B 1B 12C 3D C 11B 8C 0 9B 4C 5E Destination D 1D 1D 9B 0 3F 2D E __ 12C 4E 3F 0 1E F 3D 3D 5E 2F 1F 0

Cont.. Step 2. Database at A B C D E F A 0 2D 10B 1A 4F 3F B 2D 0 8B 1B 4F 3D C 10D 8C 0 7F 4C 5E Destination D 1D 1D 7E 0 3F 2D E 4D 4D 4E 3F 0 1E F 3D 3D 5E 2F 1F 0

Distance Vector Protocols Problems Consider 1.Destination D 2.Cost from A 3B B 2C C 1D 3.C—D fails 4.Successive table entries for dest D from node BACD 111

A 3B 3B 3B 5B 5B 7B 7B ∞ B 2C 2C 4A 4A 6A 6A 8A ….. ∞ C 1D ∞ 3B 5B 5B 7B 7B ……. ∞ Eventually the algorithm converges but only after “count to infinity”. Problem is that path to D from B uses B but B is unaware of this.

Solutions: 1--Solution –”split horizon”- do not report a route to a destination to the neighbor from which the routes was learned. A 3B 3B 3B ∞ B 2C 2C ∞ ∞ C 1D ∞ ∞ ∞ Modification –”split horizon with poisoned reverse”- includes routes omitted by split horizon in update using metric ∞. Disadvantage of poisoned reverse: rerequires more network traffic. Advantage: is that converges can be faster.

Distance Vector Protocols Problems(cont) Consider Destination E Cost from A 3B B 2D C 3B B—D fails BADE C

Successive table entries for dest E from node A 3B 3B 4C 5C 6C 15C ∞ B 2D ∞ 4C 5C 6C 15C ∞ C 3B 3B 4A 5A 6A 15A ∞ Eventually the algorithm converges but only after “count infinity”. Split horizon method does not help.

Converges can also be spend up by triggering updates to neighbors when gateway’s routing database changes. 2—solution-”hold down”- when a route is lost by a node, it does not accept new route for a certain time. A 3B 3B ∞ B 2D ∞ ∞ C 3B 3B ∞ Difficulty is determining hold down period. Too short may lead to quick acceptance of new routes. Too long may lead to loss of data enrooted to destination.

Protocol Types Link State Protocols Nodes sense their local environment (links, neighbors) and broadcast this information to the entire network using controlled flooding. Each node thereby builds a topological map of the whole network. Each node then independently computes routes based on an algorithm such as Dijkstra’s SPF. The computational complexity of this scheme is E logN, where E is the number of links in the network and N is the number of nodes.

Keep distances to root as “heap”. N nodes so heap depth ≤log 2 N. For each link, may change one value & restore heap. Hence O(log 2 N) steps for each of E links.

Link State SPF-at each Node A Receive all link costs. For each destination x, keep current distance to x initially all∞ Set S = Ø(empty). step 0: set dist(A,A)=0 step i: find node y with dist(A,y) min among nodes not in S. Put y in S. For all z directly conn. To y recompute dist(A,z) taking into account dist(A,y), y->z. Go to step i+1.

N nodes Max path length ~log n In present case, use to find min of values from source A

SPF Example A to B C D E √ ∞ ∞ ∞ ∞ 3A √ A ∞ 5A √ C 1A 7C 5A C 1A 4B √ B C A √ B 3 B √=added to S,, m =in S,, X,X=next hop BAC D E

Comparison of routing algorithms Link State routing Disadvantage 1.Difficult to design and build correctly-global propagation algorithm is particularly tricky. 2.Computational complexity-O(E logN). (Can be reduced to O(E) if small number of metric values) 3. Each gateway must know topology of entire network. Hence tables are relatively large.

Comparison of routing algorithms Distance Vector Algorithm disadvantages 1.Basic algorithm exhibits looping behavior, although there are partial remedies for this. 2.Slow to converge (count to infinity). 3.Converges at speed of slowest link in the network- needs transmission priority on routing traffic to work well with a wide variety of link speed. 4.Difficult to source as routing information is digested before being propagated. 5.Not good for nets with long paths because of time propagate changes.

Comparison of routing algorithms Distance Vector Algorithm Advantages 1.Very simple to design and build. 2.Each node need only know its local topology. Hence tables are relatively small. 3.Low computational overhead. 4.Can be made hierarchical very easily to save memory, computation and bandwidth. 5.Can be made very robust through careful database and routing message design. 6.Can be used for reachability only in administratively disorganized networks e.g. EGP.

Comparison of routing algorithms Link State Routing Advantages 1.Scales well with network size –can handle larger nets than distance vector. 2.Converges rapidly after changes. 3.Rarely exhibits loops and stamps them out quickly. 4.Relatively easy to secure by authenticating the origin of each link state packet. 5.Can detect misbehaving nodes because information is received from both ends of links. 6.Suitable for adaptive routing based on traffic.