Introduction to IP Routing Geoff Huston. Routing How do packets get from A to B in the Internet? A B Internet.

Slides:



Advertisements
Similar presentations
OSPF 1.
Advertisements

Introduction to IP Routing Geoff Huston
Multihoming and Multi-path Routing
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
IP Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
Dynamic Routing Overview 1.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
An Introduction to Routing the Internet Geoff Huston APNIC.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
© 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.
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.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 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 Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Interdomain Routing and The Border Gateway Protocol (BGP) Courtesy of Timothy G. Griffin Intel Research, Cambridge UK
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols Introduction to Static Routing.
Routing and Routing Protocols
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
The Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
OSPF To route, a router needs to do the following: Know the destination address Identify the sources it can learn from Discover possible.
Computer Networks Layering and Routing Dina Katabi
Introduction to networking Dynamic routes. Objectives  Define dynamic routing and its properties  Describe the classes of routing protocols  Describe.
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
© 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.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
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.
Introduction to Dynamic Routing Protocol
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
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:
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing Protocol.
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
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.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
6: Routing Working at a Small to Medium Business.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
© 2002, Cisco Systems, Inc. All rights reserved..
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.
Routing Protocols COSC 541 Data Commun. System & Networks Yue Dou.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
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.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
COMP 3270 Computer Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Introduction to networking
Working at a Small-to-Medium Business or ISP – Chapter 6
BGP Instability Jennifer Rexford
Computer Networks Protocols
Presentation transcript:

Introduction to IP Routing Geoff Huston

Routing How do packets get from A to B in the Internet? A B Internet

Connectionless Forwarding Each router (switch) makes a LOCAL decision to forward the packet towards B A B R1 R4 R2 R3 R6 R7 R5 R8

Connectionless Forwarding This is termed destination-based connectionless forwarding How does each router know the correct local forwarding decision for any possible destination address? Through knowledge of the topology state of the network This knowledge is maintained by a routing protocol

Routing Protocols Distribute the knowledge of the current topology state of the network to all routers This knowledge is used by each router to generate a forwarding table, which contains the local switching decision for each known destination address

Routing Protocols correct operation of the routing state of a network is essential for the management of a quality network service accuracy of the routing information dynamic adjustment of the routing information matching aggregate traffic flow to network capacity

Exterior routing ISP Routing Tasks customers internal peer / upstream Interior routing Customer routing

Interior Routing discovers the topology of a network through the operation of a distributed routing protocol

A B R1 R4 R2 R3 R6 R7 R5 R8 Path Selection Minimum cost from A to B is 39 units

A B R1 R4 R2 R3 R6 R7 R5 R8 Dynamic Path Adjustment If R5 – R7 breaks, minimum cost path from A to B is Now 46 units

Interior Routing Protocols describe the current network topology Routing protocols distribute how to reach address prefix groups Routing protocols function through either distributed computing model (distance vector) parallel computing model (link state)

Routing Protocols Distance Vector Routing Protocols Each node sends its routing table (dest, distance) to all neighbors every 30 seconds Lower distances are updated with the neighbor as next hop cannot scale cannot resolve routing loops quickly RIP is the main offender

Routing Protocols Link State Routing Protocols Each link, the connected nodes and the metric is flooded to all routers Each link up/down status change is incrementally flooded Each router re-computes the routing table in parallel using the common link state database OSPF is the main protocol in use today

Suggestions Just engineering a physical link does not ensure that traffic will flow some system somewhere must provide routing information about how to reach the newly connected network Installing backup circuits is easy, making the routing work may not be

Suggestions need a clear understanding of how the client networks want their traffic to flow before you can start making routing configuration changes

Interior and Exterior Routing Protocols Exterior Routing Space Interior Route Space Interior Route Space Interior Route Space Interior Route Space Interior Route Space AS1 AS1221 AS2402 AS3561 AS701

Exterior Routing Protocols You tell me all the address prefixes you can reach, but dont tell me the path you use to get there Ill tell you the same If anything changes, please let me know If you tell me an address Ill send you traffic destined to that address. If I tell you an address I will accept traffic destined to that address

Exterior Routing Protocols Border Gateway Protocol version 4 (BGP4) Each interior route collection is described by an Autonomous System (AS) number Internal topology is hidden Routes are announced with associated AS value /16 + AS 1221

BGP example AS 1221 AS / / / / / / / / / /

BGP Example of TRANSIT AS 1221 AS /16 i /24 I / / / / , / , /16 i /24 i /23 i / / / / AS /16 i /16 I / / / / , / ,1221

Exterior Routing Protocols Internal transit paths use I-BGP AS 3561 AS 1221 AS 5727 A B Q: How does router A tell router B about AS1221 addresses? A: Router A sets un an INTERIOR BGP session with router B

Exterior Routing Protocols AS 1 AS 2402 AS 1221 AS3561 AS 701 I-BGP E-BGP

Exterior Routing Protocols Normally chose minimal AS path length /24 701,3561, / ,1221 Selected path is via peer session to AS 5727 as this Is 1 AS shorter that the other path

Exterior POLICY How can I share the traffic load between 2 or moreexterior providers? How can I create a backup link to support my main exterior link? You can bias minimal path selection by AS path filter lists or community attributes or local preferences

Exterior Routing Protocols plus Policy AS 1 AS 2402 AS 1221 AS 3561 AS 701 Accept AS paths , ,701

Exterior Routing Protocols plus Policy policy settings control what you advertise to your immediate peers What you accept from your immediate peers What transits you will accept (send traffic) you cannot control transit path of received traffic symmetry of transit policy