Overview of Internet Routing (II) Fall 2004 CS644 Advanced Topics in Networking Sue B. Moon Division of Computer Science Dept. of EECS KAIST.

Slides:



Advertisements
Similar presentations
1 Aman Shaikh: June 02 UCSC INFOCOM 2002 Avoiding Instability during Graceful Shutdown of OSPF Aman Shaikh, UCSC Joint work with Rohit Dube, Xebeo Communications.
Advertisements

1 Interdomain Traffic Engineering with BGP By Behzad Akbari Spring 2011 These slides are based on the slides of Tim. G. Griffin (AT&T) and Shivkumar (RPI)
1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
BGP.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
© 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.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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.
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol)
The Border Gateway Protocol (BGP) Sharad Jaiswal.
CS Summer 2003 Quiz 1 A1) IGP (IS-IS, OSPF) BGP A2) Stub Transit. because it is adverting AS2’s routes to AS1 and vice versa. A3) Traffic discarded.
Computer Networking Lecture 10: Inter-Domain Routing
More on BGP Check out the links on politics: ICANN and net neutrality To read for next time Path selection big example Scaling of BGP.
15-744: Computer Networking L-5 Inter-Domain Routing.
Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian’s slides) EE 122: Inter-domain routing – Border Gateway Protocol (BGP)
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
© 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.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol)
Computer Networks Layering and Routing Dina Katabi
Inter-domain Routing Don Fussell CS 395T Measuring Internet Performance.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Border Gateway Protocol
BGP V1.1. When is BGP Applicable Basic BGP Peer Configuration Troubleshooting BGP Connections BGP Operation and Path Attributes Route Import/Export Selected.
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
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.
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #08: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol) Copyright ©, Carnegie Mellon University.
CSCI-1680 Network Layer: Inter-domain Routing Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
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.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
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.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
BGP Basics BGP uses TCP (port 179) BGP Established unicast-based connection to each of its BGP- speaking peers. BGP allowing the TCP layer to handle such.
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.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol)
Computer Networking Inter-Domain Routing BGP (Border Gateway Protocol) Copyright ©, Carnegie Mellon University.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
Border Gateway Protocol
Border Gateway Protocol
COS 561: Advanced Computer Networks
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Lixin Gao ECE Dept. UMASS, Amherst
CSCI-1680 Network Layer: Inter-domain Routing
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COMP/ELEC 429/556 Introduction to Computer Networks
CSCI-1680 Network Layer: Inter-domain Routing
BGP Instability Jennifer Rexford
Computer Networks Protocols
Presentation transcript:

Overview of Internet Routing (II) Fall 2004 CS644 Advanced Topics in Networking Sue B. Moon Division of Computer Science Dept. of EECS KAIST

2 Overview Refresh Our Memory Intra-Domain Routing Inter-Domain Routing

3 Hierarchical OSPF Why Multi-Area OSPF? –Scalability size of routing table router CPU overhead (shortest path computation) control traffic increase

4 A Sample Area Configuration / / / /24

5 Multi-Area OSPF Backbone Area + Areas –connected by area border routers –ABRs send out summary-LSAs –stub areas: no AS-boundary border routers –NSSAs (not-so-stubby areas): external info can flow into other areas, but not vice versa Combination of LS and DV algorithms –In a backbone area, DV DV amenable to route aggregation and simple routing policies Simple hub-and-spoke topology –In other areas, LS

6 Inter-Area Routing Exchange

7 Advantages of OSPF Areas Over flat routing –Increased robustness local failures dampened externally –Routing protection protected from external instabilities/misconfiguration –Hidden prefixes configured not to be advertised outside

8 Improving on OSPF Prefix allocation/aggregation –Prefix aggregation to reduce routing table size –trade-off: sub-optimal routing Work around S/W upgrade

9 Software Upgrade is a Pain Upgrade of routing software on routers is a fact of life –Extensions to routing protocols, new functionality, version upgrades, bug fixes –Critical need for seamless upgrades Current practice –During upgrade, network operators withdraw “ router-under- upgrade ” from forwarding service Route flaps, traffic disruption, instability –Operators have to carefully schedule upgrades Schedule them during night when load is moderate Stagger upgrades of different routers –A painful job 

10 We Can do Better Router can continue forwarding even while its routing process is inactive, at least for a while –Current routers have separate routing and forwarding paths Routing in software (CPU), forwarding in hardware (switching) Routing protocols need to be extended since they always try to route around inactive router Our proposal: IBB (I ’ ll Be Back) Extension to OSPF Other proposals –OSPF: Hitless restart proposal by Jonh Moy Internet draft: draft-ietf-ospf-hitless-restart-02.txt –BGP: Graceful restart proposal by Sangli et al. Internet draft: draft-ietf-idr-restart-05.txt

11 Router Model Route Processor (CPU) Forwarding Info. Base (FIB) Interface card Forwarding Switching Fabric Data packet Topology view Shortest Path Tree (SPT) OSPF Process LSA Forwarding

12 IBB Proposal in a Nutshell OSPF process on router R needs to be shutdown Before shutdown, R informs other routers that it is going to be inactive for a while R specifies a time period (IBB Timeout) by which it expects to become operational again Other routers continue using R for forwarding during IBB Timeout period If R comes back within IBB Timeout period, no routing instability or flaps Else other routers start forwarding packets around R

13 What if Topology Changes R cannot update its forwarding table to reflect the change –Can lead to loop or black holes B A R (a)Topology when R went down B A R (b) Topology changes while R is inactive

14 Handling Changes: Options Don ’ t do anything Stop using R: Moy ’ s proposal –Inadvertent changes during upgrade are likely Flapping due to a bad interface somewhere –But all changes are not bad Do not always lead to loops or black holes Stop using R only when loop or black hole gets formed –And only for those destinations for which there is a problem –Need algorithms which is what the bulk of the paper is about Shaikh et al.

15 BGP De-facto standard inter-domain routing protocol Became popular only in 1995 –significant increase in # of ISPs –CIDR introduced in 1995

16 Configuration and Policy A BGP node decides which routes to share with its neighbor A BGP node can selectively accept and reject messages What to share and what to accept –determined by routing policy

17 Four Basic BGP Messages Open –Establishes BGP session (TCP port #179) –Sets the hold timer Notification –Report unusual conditions –Terminates the TCP session and gives an indication (holder timer expiry, bad peer AS, malformed attribute list, etc.) Update –Inform neighbor of new/old routes that become active/inactive Keepalive –Inform neighbor that connection is still alive

18 UPDATE Message Advertise/Withdraw prefixes Withdrawn routes length (2 bytes) Withdrawn routes (variable length) Total path attributes length (2 bytes) Path attributes (variable length) Reachability information (variable length)

19 Attributes ORIGIN –Who originated the announcement? –IGP, EGP or Incomplete (often for static routes) AS-PATH –list of AS's –useful to detect and prevent loops NEXT HOP –For EBGP, IP addr of neighbor that announced –For IBGP, if route originated inside, IP addr of neighbor –For IBGP, if route originated outside, EBGP node that learned of route, is carried unaltered into IBGP Multi-Exit Discriminator (MED) Local Preference

20 Attribute: Multi-Exit Discriminator (MED) When ASes have multiple interconnecting links Lower, more preferred Non-transitive AS1 AS2 R1 R3R4 R /16 MED= /16 MED=10

21 Attribute: LOCAL PREF Indicates preference among multiples paths for the same prefix –higher, more preferred Exchanged between IBGP peers only Often used to select a specific egress point for a particular destination AS1 AS4 AS2 AS /16 DestinationAS PathLocal Pref / 16 AS3 AS / 16 AS2 AS1 100

22 BGP Decision Process 1.Highest LOCAL-PREF 2.Shortest AS-PATH 3.Lowest ORIGIN (IGP < EGP < Incomplete) 4.Lowest MED 5.Min cost path to NEXT HOP using IGP metrics 6.BGP Router ID to break tie

23 Input Policy Engine Inbound filtering –filter based on IP prefixes, AS_PATH, community –deny = BGP won't reach that prefix via the peer –accept = traffic to that prefix via the peer Attribute manipulation –Sets attributes on accepted routes E.g.: Specify LOCAL-PREF to set priorities among multiple peers

24 Output Policy Engine Outbound filtering –forward = peers may route traffic via you Attribute manipulation –Sets attributes such as AS-PATH and MEDs

25 Transit vs. Nontransit AS3 AS2 AS1 C1 C3 C2 Transit

26 Routing Engine BGP Input Policy BGP Table IP Routing Table OSPF Topology Shortest Path Forwarding Table BGP Output Policy

27 References & Acknowledgements Slides on "IBB" are from Aman Shaikh's INFOCOM 2002 presentation Some use of Nina Taft's tutorial slides on BGP OSPF Anatomy of an Internet Routing Protocol, John T. Moy, Addison-Wesley, 1998 BGP4 Inter-Domain Routing in the Internet, John W. Stewart, Addison-Wesley, 1998