Interior Gateway Protocols (RIP, OSPF) continued….

Slides:



Advertisements
Similar presentations
Computer Networks with Internet Technology William Stallings
Advertisements

Courtesy: Nick McKeown, Stanford
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
1 Comnet 2010 Communication Networks Recitation 6 Routing.
Routing So how does the network layer do its business?
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
CCNA 2 v3.1 Module 6.
Unicast Routing Protocols: RIP, OSPF, and BGP
RD-CSY /09 Distance Vector Routing Protocols.
Routing.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Routing in the Internet Internal Routing Protocols.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Switching and Routing Technique
Delivery, Forwarding and
Introduction to networking Dynamic routes. Objectives  Define dynamic routing and its properties  Describe the classes of routing protocols  Describe.
Routing and Routing Protocols Dynamic Routing Overview.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
6: Routing Working at a Small to Medium Business.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
© 1999, Cisco Systems, Inc OSPF Overview RFC 2328, 2178, 1583.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Network Architecture and Design
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
1 Routing Table  The seven fields Mask: for finding (sub)network address of the destination l Host-specific routing: (/32) l Default routing:
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
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.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Distance Vector Routing Protocols Dynamic Routing.
Routing and Routing Protocols
Networking and internetworking devices. Repeater.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing Protocols Brandon Wagner.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
Distance Vector and Link State Routing Pragyaditya Das.
+ Dynamic Routing Protocols 2 nd semester
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
OSPF (Open Shortest Path First)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic Routing Protocols part2
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Link-State Routing Protocols
Introduction to networking
Chapter 22. Network Layer: Routing
Link-State Routing Protocols
Communication Networks
Communication Networks
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Interior Gateway Protocols (RIP, OSPF) continued…

2 1. It is link-state 2. It has faster convergence 3. No hop limitation 4. Update efficiency: OSPF only sends out changes when they occur. 5. OSPF uses metric to calculate the cost between nodes 6. OSPF uses the concept of area to implement hierarchical routing 1. Distance-vector 2. Can be quite slow to converge Because of hold-down timer. 3. RIP to limited to 15 hops. 4. RIP sends entire routing table every 30 seconds. 5. Only uses hop count of No areas. 1. Distance-vector 2. Can be quite slow to converge Because of hold-down timer. 3. RIP to limited to 15 hops. 4. RIP sends entire routing table every 30 seconds. 5. Only uses hop count of No areas. OSPF vs RIP

A comparison of routing philosophies Distance-vector routingLink-state routing Each router sends routing information (Table) to its neighbours The information sent is an estimate of its path cost to all networks Information is sent on a regular periodic basis. A router determines next-hop information by using the distributed Bellman-Ford algorithm on the received estimated path costs Each router sends routing information (Link state) to all other routers The information sent is the exact value of its link cost to adjacent networks. Information is sent when changes occur. A router first builds up a description of the topology of the internet and then may use any routing algorithm to determine next-hop information (usually Dijkstra’s shortest path)

4 Eample A) Using the topological below, write the routing table for Router A if it runs: RIP OSPF B) What happens if the link between A & D goes down.

5 A) 1- RIP scenario RIP only uses hop count of 1. Each router will flood its routing table to adjacent (neighbours). Bellman algorithm is used to determine the shortest path. After a slow converge, the entire routing table for every node will be shared again if there is change in the topology or after a fix time DestcostNext hop CADCAD DestcostNext hop BAEBAE DestcostNext hop EBDEBD DestcostNext hop ABCDABCD DestcostNext hop DACEDACE A's RT C's RT B's RT E's RT D's RT

6 DestcostNext hop ABCDABCD A's RT Destcost BAEBAE From B Destcost CADCAD From C From D Destcost DACEDACE DestcostNext hop BAEBAE BBBBBB Assuming that B's news arrive first The received table is updated with the cost to reach B then it is compared with A's orignal table (E,2,B) will be added to A's RT since it does not have this entry The same process will be repeated for the flooded table from D but this time the entries in A will not change because RIP keeps the older value if no better path (less hops) is found. DestcostNext hop ABCDEABCDE B----B A's modified table A's final routing table

7 B) 1- RIP scenario If the link A-D fails, both routers will update their routing table with cost ∞ (unreachable). Here we don't have instability problem since C has a direct connection to A & D A & D will send triggered updates (their entire table to their neighbors. This causes the network to recalculate Bellman algorithm. Finally the network will converge after a while. X A's outgoing Update D's outgoing Update Destcost ABCDEABCDE C's update Destcost ABCDEABCDE 011∞2011∞2 Destcost ABCDEABCDE ∞2101∞2101

8 C sends its update with cost to both A & D A will add the cost to reach C and update its table as well as D. The final table for A & D X DestcostNext hop ABCDEABCDE CB---CB A's RT DestcostNext hop ABCDEABCDE CE---CE--- D's RT

9 A) 2- OSPF Each router will send LSA to announce its links. The Dijkstra algorithm is calculated to find the best path to each node and leaf network.

10 PermanentTentative A is the root C is added to P list and its table is updated with the cost and added to the T list D is added to P list E is added to P list B is added A,0,- C,2,- D,4,C E,14,D B, 15, - A, 0, - B, 15,- C, 2, - D,5,- updated D, 4, C E, 14,D The permanent list becomes the routing table for A

11 Router A's Table: shortest path Now RouterA knows the best path to each network. DestcostNext hop ABCDEABCDE CC---CC A's RT

12 B) when A-D goes down A and D will send out LSA with only one entry to inform the adjacent nodes. Since this link is not used in the shortest path tree for any node, OSPF routing table will not change. DestcostNext hop ABCDEABCDE CC---CC A's RT: did not change X

OSPF areas Partitioning the networks and routers in an AS into subsets called areas. Knowledge of an area’s topology remains hidden from other areas. The topological databases have to be maintained only inside the area, so the link state advertisements LSA are flooded only inside that area. Less network traffic. Less CPU power required in each router. Thus, permits growth and makes the networks in an AS easier to manage. The areas are connected by a backbone over which the area border routers (ABR) communicate. 2 types of routers –Internal routers having interfaces only in one area or only in backbone. –Area border routers (ABR) which attach to multiple areas, including the backbone.

What does a OSPF router do? (contd..) If it is an AS boundary router : – Originates AS external link advertisements for each known AS external destination. If it is an Area Border Router ABR – Originates a summary links advertisement describing each known inter-area destination for routers inside the area. – Originates a summary links advertisement describing each of the networks inside the area, for use of other ABRs If it is a Designated router for multicast: Originates a network link advertisement giving the address of the multicast group, and the router IDs of the routers attached to it.