20.1 20-3 UNICAST ROUTING PROTOCOLS Major Functions:  Define the domain of operation (Internal/External to the ISPs), and interaction with other protocols.

Slides:



Advertisements
Similar presentations
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Courtesy: Nick McKeown, Stanford
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
Computer Networking Lecture 10: Inter-Domain Routing
Unicast Routing Protocols: RIP, OSPF, and BGP
Routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Inter-domain Routing Outline Border Gateway Protocol.
Chapter 8 Routing. Introduction Look at: –Routing Basics (8.1) –Address Resolution (8.2) –Routing Protocols (8.3) –Administrative Classification (8.4)
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
CS 4396 Computer Networks Lab
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Introduction to BGP.
Routing and Routing Protocols Routing Protocols Overview.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 Routing. 2 Routing is the act of deciding how each individual datagram finds its way through the multiple different paths to its destination. Routing.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
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.
22.1 Chapter 22 Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 14 1 Unicast Routing Protocols There isn’t a person anywhere that isn’t capable of doing more than he thinks he can. - Henry Ford.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Chapter 20 Unicast Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
Routing Protocols Brandon Wagner.
Ch 22. Routing Direct and Indirect Delivery.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Inter-domain Routing Outline Border Gateway Protocol.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
Border Gateway Protocol. Intra-AS v.s. Inter-AS Intra-AS Inter-AS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Network Layer Routing Networks: Routing.
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols (RIP, OSPF, and BGP)
Border Gateway Protocol
COMP 3270 Computer Networks
Chapter 20 Unicast Routing
Network Design & Analysis
Introduction To Networking
Net 323 D: Networks Protocols
Routing.
Net 323 D: Networks Protocols
Network Layer Routing Networks: Routing.
Chapter 22. Network Layer: Routing
Working at a Small-to-Medium Business or ISP – Chapter 6
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
Computer Networks Protocols
Routing.
Network Layer Routing.
Presentation transcript:

UNICAST ROUTING PROTOCOLS Major Functions:  Define the domain of operation (Internal/External to the ISPs), and interaction with other protocols if needed (e.g., External protocols EGP).  Specify how routers exchange messages to share information & report changes.  Enables a network to make dynamic adjustments to its conditions. Unicast routing in the Internet, challenge? Yes!  Large number of routers and a huge number of hosts; hence immense number of alternative routes for each packet, one is only the optimal (search routing tables for Which one?)!  Huge routing tables space  longer search time.  Hierarchical Routing (HR) is the solution!  In addition, each ISP administrator can have own control running different suiting routing algorithm for their optimal choice of domain equipment.

Internet Structure  Before discussing unicast routing protocols, we need to understand the structure of today’s Internet.  The Internet has changed from a tree-like structure, with a single backbone, to a multi-backbone structure run by different private corporations today.

20.3 Figure 20.14: Internet structure Except for the Peering points, every component is considered an ISP Autonomous System AS.

Internet Structure  Hierarchical Routing (HR) is when we consider each component in Fig (Internet Structure), except peering points, as an ISP Autonomous System (AS).  Each AS runs its own routing protocol, that fits its need based on its optimal architectural design, called Interior Gateway Protocol (IGP)– Intra-domain(AS) Routing Protocol.  Two major IGP routing protocols: Routing Information Protocol (RIP)– Most widely used based on DV routing algorithm. Open Shortest Path First Protocol (OSPF)– Based on LS routing algorithm.  In order to glue the Ass together, an Exterior Gateway Protocol (EGP)– also called Interdomain Routing Protocol.  One major EGP routing protocol: Border Gateway Protocol V4 (BGP4) – Complex, based on PV(Path Vector) routing algorithm, with reachability information of networks in the Internet.

Routing Information Protocol The Routing Information Protocol (RIP) is one of the most widely used intradomain routing protocols based on the distance-vector routing algorithm we described earlier. RIP was started as part of the Xerox Network System (XNS), but it was the Berkeley Software Distribution (BSD) version of UNIX that helped make the use of RIP widespread.

20.6 Figure 20.15: Hop counts in RIP

20.7 Figure 20.16: Forwarding tables

20.8 Figure 20.17: RIP message format

Figure shows a more realistic example of the operation of RIP in an autonomous system. First, the figure shows all forwarding tables after all routers have been booted. Then we show changes in some tables when some update messages have been exchanged. Finally, we show the stabilized forwarding tables when there is no more change. Example

20.10 Figure 20.18: Example of an autonomous system using RIP (Part I)

20.11 Figure 20.18: Example of an autonomous system using RIP (Part II)

Open Shortest Path First Open Shortest Path First (OSPF) is also an intradomain routing protocol like RIP, but it is based on the link-state routing protocol we described earlier in the chapter. OSPF is an open protocol, which means that the specification is a public document.

20.13 Figure 4.73: Example of an autonomous system using RIP (Part III)

20.14 Figure 20.19: Metric in OSPF

20.15 Figure 20.20: Forwarding tables in OSPF

20.16 Figure 20.21: Areas in an autonomous system

20.17 Figure 20.22: Five different LSPs (Part I)

20.18 Figure 20.22: Five different LSPs (Part II)

20.19 Figure 20.23: OSPF message formats (Part I) Attention

20.20 Figure 20.23: OSPF message formats (Part II) Attention

Border Gateway Protocol The Border Gateway Protocol version 4 (BGP4) is the only interdomain routing protocol used in the Internet today. BGP4 is based on the path-vector algorithm we described before, but it is tailored to provide information about the reachability of networks in the Internet.

20.22 Figure 20.24: A sample internet with four ASs

20.23 Figure20.25: eBGP operation

20.24 Figure 20.26: Combination of eBGP and iBGP sessions in our internet

20.25 Figure 20.27: Finalized BGP path tables (Part I)

20.26 Figure 20.27: Finalized BGP path tables (Part II)

20.27 Figure 20.27: Finalized BGP path tables (Part III)

20.28 Figure 20.28: Forwarding tables after injection from BGP (Part I)

20.29 Figure 20.28: Forwarding tables after injection from BGP (Part II)

20.30 Figure 20.29: Format of path attribute

20.31 Figure 20.30: Flow diagram for route selection

20.32 Figure 20.30: BGP messages