CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001.

Slides:



Advertisements
Similar presentations
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
Advertisements

CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Routing: Exterior Gateway Protocols and Autonomous Systems Chapter 15.
Routing Between Peers (BGP)
© 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.
Routing: Cores, Peers and Algorithms
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
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.
The University of Sydney 1 Routing Architecture and Protocols NETS3303/3603 Week 6.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
1 Network Architecture and Design Routing: Exterior Gateway Protocols and Autonomous Systems Border Gateway Protocol (BGP) Reference D. E. Comer, Internetworking.
1 6/14/ :27 CS575Internetworking & Routers1 Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers.
Chapter 25 Internet Routing Internetworking Technology How routing tables are built initially How routing software updates the tables as needed. Propagation.
Computer Networking Lecture 10: Inter-Domain Routing
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
COS 420 Day 16. Agenda Finish Individualized Project Please Have Grading sheets to me by Tomorrow Group Project Discussion Assignment 3 moved back to.
Routing and Routing Protocols
Routing.
Border Gateway Protocol (BGP). 2 CORE, PEERs Autonomous Systems BGP Basic Operations The BGP Routing Process.
© 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 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.
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.
1 CSCI 233 Internet Protocols Class 6 Dave Roberts.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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:
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Border Gateway Protocol
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Chapter 16 Exterior Routing Protocols and Multicasting 1 Chapter 16 Exterior Routing Protocols And Multicasting.
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.
COS 420 Day 15. Agenda Finish Individualized Project Presentations on Thrusday Have Grading sheets to me by Friday Group Project Discussion Goals & Timelines.
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.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing Protocols Brandon Wagner.
BGP and ICMP. Exterior Gateway Protocol (EGP) Like RIP, but no metrics. Just if reachable. Rtr inside a domain collects reachability information and informs.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Inter-domain Routing Outline Border Gateway Protocol.
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.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
© 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.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Border Gateway Protocol
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
BGP supplement Abhigyan Sharma.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
Computer Networks Protocols
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001

Routing Protocols Cores, Peers, and Algorithms :Distance Vector(Bellman-Ford), Link State(Dijkstra), Gateway-to-Gateway Protocol(GGP), Interior: within an autonomous system Exterior: between two autonomous systems Exterior Routing Protocols :Border Gateway Protocol(BGP) Interior Routing Protocols :RIP(distance vector), OSPF(link state).

Routing Protocols Routing Information –About topology and delays in the internet Routing Algorithm –Used to make routing decisions based on information

The Evolution of Internet Architecture Core system : many non-core routers are conneced to a set of core routers. Peer-to-peer : many routers are connected to a backbone. Architectural: many autonomous systems are connected to their own gateways and gateways are connected as “peers”.

Original Internet Architecture and Cores A small number of routers kept complete information about all possible destinations and a large set of routers only kept partial information. The routing table in a given router contains partial information about possible destinations. Routing that uses partial information allows sites autonomy in making local routing changes.

Core vs. Noncore Core routers are controlled by the Internet Network Operations Center (INOC). Noncore routers are controlled by individual groups. This architecture can introduce the possibility of inconsistencies that may make some destinations unreachable from some sources unless the chain of all default routers (core) reaches every router in a giant cycle as shown in next slide.

Core System is Impractical When the NSFNET became the major part of the Internet, the core architecture became impractical for the following reasons: The Internet outgrew a single, centrally managed long-haul backbone. Not every site could have a core router connected to the backbone. Because core routers all interacted to ensure consistent routing information, the core architecture did not scale to arbitrary size. The peer-to-peer architecture is formed.

Routing Becomes Complicated For example, how can a datagram be routed from host 3 to host 2? Which path should be taken? How can routing be optimized? How can loops be eliminated?

Summary of Core System Architecture A core routing architecture assumes a centralized set of routers which serves as the repository of information about all possible destinations in an internet. Core systems work best for internets that have a single, centrally managed backbone. Expanding the topology to multiple backbones makes routing complex; attempting to partition the core architecture so that all routers use default routers introduces potential routing loops.

Automatic Propagation of Routing Information The Internet is not static!

Distance Vector (Bellman-Ford) Routing

Gateway-to-Gateway Protocol (GGP)  Sometimes known as exterior routing protocols.  It is a true distance-vector protocol.  It measures distance in router hops.

Autonomous Systems  Although it is desirable for routers to exchange routing information, it is impractical for all routers on an arbitrarily large internet to participate in a single routing update protocol.  The number of routers that participate in a single routing protocol must be limited.

Autonomous Systems  This idea works fine. However, it implies that some routers will be outside the group.  If a router outside of an AS uses a member of the group as the default route, routing will be suboptimal.  R 1 and R 2 are in one AS, while R 3 is not.  If R 3 sends datagrams via R 1 for sending datagrams to R 2, it is not optimal.

Hidden Networks

Architectural Approach: Autonomous Systems (AS) Group of routers Exchange information Common routing protocol Set of routers and networks managed by single organization - an autonomous system The Internet is organized into a collection of Ass, each of which is normally administered by a single entity. A corporation or university campus often defines an AS. The NSF backbone forms an AS.

Architectural Approach: Autonomous Systems (AS) Each Autonomous system can select its own routing protocol to communicate between the routers in that AS. This is called an interior gateway protocol (IGP) or intradomain routing protocol. Separate routing protocols called exterior gateway protocol (EGS) or interdomain routing protocol are used between the routers in different autonomous systems.

Interior Routing Protocols Routing Information Protocol (RIP): a distance vector (Bellman-Ford) Open Shortest Path First Protocol (OSPF): a link state algorithm (Dijkstra’s algorithm)

Exterior Routing Protocol Border Gateway Protocol (BGP)

Application of IRP and ERP

Border Gateway Protocol (BGP) Inter-autonomous system communication Coordination among multiple BGP gateways Propagation of reachability information Next-hop paradigm Policy support Reliable transport Incremental updates Support for classless addressing Route aggregation Authentication

Border Gateway Protocol (BGP) For use with TCP/IP internets Preferred EGP of the Internet Messages types sent over TCP connections –Open –Update: advertise or withdraw routes –Keep alive: actively test peer connectivity –Notification: response to an incorrect message Procedures –Neighbor acquisition –Neighbor reachability –Network reachability

BGP Messages

BGP Procedure Open TCP connection Send Open message –Includes proposed hold time Receiver selects minimum of its hold time and that sent –Max time between Keep alive and/or update messages

Other Message Types Keep Alive –To tell other routers that this router is still here Update –Info about single routes through internet –List of routes being withdrawn –Includes path info Origin (IGP or EGP) AS_Path (list of AS traversed) Next_hop (IP address of boarder router) Multi_Exit_Disc (Info about routers internal to AS) Local_pref (Inform other routers within AS) Atomic_Aggregate, Aggregator (Uses address tree structure to reduce amount of info needed)

Uses of AS_Path and Next_Hop AS_Path –Enables routing policy Avoid a particular AS Security Performance Quality Number of AS crossed Next_Hop –Only a few routers implement BGP Responsible for informing outside routers of routes to other networks in AS

The Key Restriction of EGP An exterior gateway protocol does not communicate or interpret distance metrices, even if metrics are available.

The Routing Arbiter System For an internet to operate correctly, routing information must be globally consistent. Individual protocols such as BGP does not guarantee global consistency. The RA system consists of a replicated authenticated database of reachability information.Each ISP designates one of the routers near a Network Access Point (NAP) to be a BGP border router. The designated router maintains a connection to the route server over which it uses BGP. BGP notification messages are exchanged.

BGP Routing Information Exchange Within AS, router builds topology picture using IGP Router issues Update message to other routers outside AS using BGP These routers exchange info with other routers in other AS Routers must then decide best routes

Notification Message Message header error –Authentication and syntax Open message error –Syntax and option not recognized –Unacceptable hold time Update message error –Syntax and validity errors Hold time expired –Connection is closed Finite state machine error Cease –Used to close a connection when there is no error