Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.

Slides:



Advertisements
Similar presentations
Outline  Recap Network components & basic mechanisms Routing Flow control  Continue Basic queueing analysis Construct routing table.
Advertisements

Part IV: BGP Routing Instability. March 8, BGP routing updates  Route updates at prefix level  No activity in “steady state”  Routing messages.
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
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.
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
PATH VECTOR ROUTING AND THE BORDER GATEWAY PROTOCOL READING: SECTIONS PLUS OPTIONAL READING COS 461: Computer Networks Spring 2010 (MW 3:00-4:20.
Traffic Engineering With Traditional IP Routing Protocols
Internet Routing (COS 598A) Today: Addressing and Routing Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Routing Measurements: Three Case Studies Jennifer Rexford.
1 Traffic Engineering for ISP Networks Jennifer Rexford IP Network Management and Performance AT&T Labs - Research; Florham Park, NJ
Traffic Engineering in IP Networks Jennifer Rexford Computer Science Department Princeton University; Princeton, NJ
Traffic Engineering for ISP Networks Jennifer Rexford Computer Science Department Princeton University
1 Policy-Based Path-Vector Routing Reading: Sections COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching.
A Routing Control Platform for Managing IP Networks Jennifer Rexford Computer Science Department Princeton University
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
MIRED: Managing IP Routing is Extremely Difficult Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Dynamics of Hot-Potato Routing in IP Networks Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
E2E Routing Behavior in the Internet Vern Paxson Sigcomm 1996 Slides are adopted from Ion Stoica’s lecture at UCB.
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2011 Mike Freedman
A Routing Control Platform for Managing IP Networks Jennifer Rexford Princeton University
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
Routing.
Interdomain Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Backbone Networks Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Multipath Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research Joint work with Lixin Gao.
Hot Potatoes Heat Up BGP Routing Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman Shaikh, and.
Interdomain Routing and the Border Gateway Protocol (BGP) Reading: Section COS 461: Computer Networks Spring 2011 Mike Freedman
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
1 Internet Routing Jennifer Rexford Princeton University
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Computer Networks Layering and Routing Dina Katabi
INTERNET TOPOLOGY MAPPING INTERNET MAPPING PROBING OVERHEAD MINIMIZATION  Intra- and inter-monitor redundancy reduction IBRAHIM ETHEM COSKUN University.
Network Sensitivity to Hot-Potato Disruptions Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
Authors Renata Teixeira, Aman Shaikh and Jennifer Rexford(AT&T), Tim Griffin(Intel) Presenter : Farrukh Shahzad.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Introduction to BGP.
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.
PATH VECTOR ROUTING AND THE BORDER GATEWAY PROTOCOL 1.
Intradomain Routing What is Routing? A famous quotation from RFC 791 “A name indicates what we seek. An address indicates where it is. A route indicates.
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Control Plane.
Routing 2 CS457 Fall 2010.
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.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
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.
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.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
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.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
Inter-domain Routing Outline Border Gateway Protocol.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Preliminaries: EE807 Software-defined Networked Computing KyoungSoo Park Department of Electrical Engineering KAIST.
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
COS 561: Advanced Computer Networks
CS 457 – Lecture 12 Routing Spring 2012.
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
BGP Instability Jennifer Rexford
Presentation transcript:

Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm

Goals of Today’s Lecture Routing –Routing vs. forwarding –Properties of routing protocols Internet routing architecture –Separation of intradomain and interdomain –Intra: metric-based and router level –Inter: policy-based at Autonomous System level Measuring the routing system –Challenges of measuring a decentralized, heterogeneous system –Discussion of Paxson97 (Labovitz98 next time)

Routing

What is a Route? A famous quotation from RFC 791 “A name indicates what we seek. An address indicates where it is. A route indicates how we get there.” -- Jon Postel

Forwarding vs. Routing Forwarding: data plane –Directing a data packet to an outgoing link –Individual router using a forwarding table Routing: control plane –Computing paths the packets will follow –Routers talking amongst themselves –Individual router creating a forwarding table

Why Does Routing Matter? End-to-end performance –Quality of the path affects user performance –Propagation delay, throughput, and packet loss Use of network resources –Balance of the traffic over the routers and links –Avoiding congestion by balancing load Transient disruptions during changes –Failures, maintenance, and load balancing –Limiting packet loss and delay during changes Realizing business objectives –Maximizing revenue or minimizing cost –Avoiding paths going through untrusted parties

Choosing a Routing Protocol Who is in charge of selecting the path? –The network or the end host? How complex are the path-selection goals? –Shortest-path vs. policy-based routing Are participants willing to cooperate? –Willing to share information? –Have a common goal in selecting paths? Is large-scale behavior a concern? –Stability of the network topology –State and message overhead –Disruptions during routing convergence

Many Kinds of Routing Protocols Link-state routing (Dijkstra) –Routers flood topology information –And compute (shortest) paths Distance-vector routing (Bellman-Ford) –Routers learn path costs from their neighbors –And select the neighbor along shortest path Policy-based path-vector routing –Routers learn full path from their neighbors –And select the most desirable path

Many Kinds of Routing Protocols (Continued) Source routing –End host or edge router learn the topology –And select the end-to-end path Route servers –Set of servers learn topology and compute routes –And tell all the routers how to forward packets Ad hoc routing –Routers keep track of a small neighborhood –And forward packets in (hopefully) right direction

Internet Routing Architecture

Two-Tiered Internet Routing Architecture Goal: distributed management of resources –Internetworking of multiple networks –Networks under separate administrative control Solution: two-tiered routing architecture –Intradomain: inside a region of control Okay for routers to share topology information Routers configured to achieve a common goal –Interdomain: between regions of control Not okay to share complete information Networks may have different/conflicting goals

Intradomain Routing: E.g., Shortest Path Routers belong to the same institution –Share a common, network-wide goal Metric-based routing protocols –Typically shortest-path routing –With configurable link weights

Interdomain Routing: Between Networks AS-level topology –Nodes are Autonomous Systems (ASes) –Destinations are prefixes (e.g., /8) –Edges are links and business relationships ClientWeb server

AS Numbers (ASNs) ASNs are 16 bit values through are “private” Level 3: 1 MIT: 3 Harvard: 11 Yale: 29 Princeton: 88 AT&T: 7018, 6341, 5074, … UUNET: 701, 702, 284, 12199, … Sprint: 1239, 1240, 6211, 6242, … … ASNs represent units of routing policy Currently around 30,000 in use.

Interdomain Routing: Border Gateway Protocol ASes exchange info about who they can reach –IP prefix: block of destination IP addresses –AS path: sequence of ASes along the path Policies configured by the AS’s operator –Path selection: which of the paths to use? –Path export: which neighbors to tell? “ /24: path (2,1)” “ /24: path (1)” data traffic

Measuring Internet Routing

Motivations for Measuring the Routing System Characterizing the Internet –Internet path properties –Demands on Internet routers –Routing convergence Improving Internet health –Protocol design problems –Protocol implementation problems –Configuration errors or attacks Operating a network –Detecting and diagnosing routing problems –Traffic shifts, routing attacks, flaky equipment, …

Techniques for Measuring Internet Routing Active probing –Inject probes along path through the data plane –E.g., using traceroute Passive route monitoring –Capture control-plane messages between routers –E.g., using tcpdump or a software router –E.g., dumping the routing table on a router Injecting network events –Cause failure/recovery at planned time and place –E.g., BGP route beacon, or planned maintenance

Internet Routing is Hard to Measure Nobody knows the Internet topology –No central registry of the AS-level graph –Little public information about intra-AS topologies Deploying monitoring infrastructure is hard –Forwarding: active probes of end-to-end paths –Routing: passive monitoring of routing messages Many measurement challenges –Network conditions vary by location –Network conditions change over time –One-way measurements are hard to collect –Controlled experiments are hard to do

Two Papers for Today Both early measurement studies of routing –Initially appeared at SIGCOMM’96 and ’97 –Both won the “best student paper” award And recently won the SIGCOMM “test of time” award! –Early glimpses into the health of Internet routing –Early wave of papers on Internet measurement Differences in emphasis –Paxson96: end-to-end active probing to measure the characteristics of the data plane –Labovitz97: passive monitoring of BGP update messages from several ISPs to characterize (in)stability of the interdomain routing system

Active Measurement: Traceroute Time-To-Live field in IP packet header –Source sends a packet with a TTL of n –Each router along the path decrements the TTL –“TTL exceeded” sent when TTL reaches 0 Traceroute tool exploits this TTL behavior source destination TTL=1 Time exceeded TTL=2 Send packets with TTL=1, 2, 3, … and record source of “time exceeded” message

Paxson Study: Forwarding Loops Forwarding loop –Packet returns to same router multiple times May cause traceroute to show a loop –If loop lasted long enough –So many packets traverse the loopy path Traceroute may reveal false loops –Path change that leads to a longer path –Causing later probe packets to hit same nodes Heuristic solution –Require traceroute to return same path 3 times

Paxson Study: Causes of Loops Transient vs. persistent –Transient: routing-protocol convergence –Persistent: likely configuration problem Challenges –Appropriate time boundary between the two? –What about flaky equipment going up and down? –Determining the cause of persistent loops? Causes of persistent loops –E.g., misconfiguration / /24

Paxson Study: Path Fluttering Rapid changes between paths –Multiple paths between a pair of hosts –Load balancing policies inside the network Packet-based load balancing –Round-robin or random –Multiple paths for packets in a single flow Flow-based load balancing –Hash of some fields in the packet header –E.g., IP addresses, port numbers, etc. –To keep packets in a flow on one path

Paxson Study: Routing Stability Route prevalence –Likelihood of observing a particular route –Relatively easy to measure with sound sampling –Poisson arrivals see time averages (PASTA) –Most host pairs have a dominant route Route persistence –How long a route endures before a change –Much harder to measure through active probes –Look for cases of multiple observations –Typical host pair has path persistence of a week

Paxson Study: Route Asymmetry Hot-potato routingOther causes –Asymmetric link weights in intradomain routing –Cold-potato routing, where AS requests traffic enter at particular place Consequences –Lots of asymmetry –One-way delay is not necessarily half of the round-trip time Customer A Customer B multiple peering points Provider A Provider B Early-exit routing

Conclusions Internet routing architecture –Two-tiered system –Intradomain is metric-based, with common goal –Interdomain is policy-based, reconciling different goals across ASes Behavior of complete systems is mysterious –Challenging to measure –Challenging to characterize, and diagnose Next time –Border Gateway Protocol (BGP) –Discussion of the Labovitz97 paper