Computer Networks Winter 2002 / 2003

Slides:



Advertisements
Similar presentations
Chapter 4 NETWORK LAYER Computer Networks Summer 2007 Distributed Computing Group Dynamic PowerPoint Slides Only.
Advertisements

Modeling Inter-Domain Routing Protocol Dynamics ISMA 2000 December 6, 2000 In collaboration with Abha, Ahuja, Roger Wattenhofer, Srinivasan Venkatachary,
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Network Layer4-1 Hierarchical Routing scale: with 200 million destinations: r can’t store all dest’s in routing tables! r routing table exchange would.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
Path Vector Routing NETE0514 Presented by Dr.Apichan Kanjanavapastit.
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.
4a-1 CSE401: Computer Networks Hierarchical Routing & Routing in Internet S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 04/05/2007.
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
Routing in Wired Nets CS 215 W 01 - Mario Gerla. Routing Principles Routing: delivering a packet to its destination on the best possible path Routing.
Computer Networks Layering and Routing Dina Katabi
Lecture 10 Overview. Border Gateway Protocol(BGP) De facto standard for Internet inter-AS routing allows subnet to advertise its existence to rest of.
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
RSC Part II: Network Layer 6. Routing in the Internet (2 nd Part) Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are,
Introduction 1 Lecture 19 Network Layer (Routing Protocols) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science &
CS 3830 Day 29 Introduction 1-1. Announcements r Quiz 4 this Friday r Signup to demo prog4 (all group members must be present) r Written homework on chapter.
10-1 Last time □ Transitioning to IPv6 ♦ Tunneling ♦ Gateways □ Routing ♦ Graph abstraction ♦ Link-state routing Dijkstra's Algorithm ♦ Distance-vector.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
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.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
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.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
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.
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Border Gateway Protocol. Intra-AS v.s. Inter-AS Intra-AS Inter-AS.
1 Internet Routing 4/12/2012. Admin. r Exam 2 date: m Wednesday, May 2 at 2:00 p.m. m If you want to take the exam in another day (e.g. due to travel),
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Routing in the Internet
14 – Inter/Intra-AS Routing
Chapter 4: Network Layer
NAT – Network Address Translation
CS 3700 Networks and Distributed Systems
CS 5565 Network Architecture and Protocols
2017 session 1 TELE3118: Network Technologies Week 6: Network Layer Control Plane Inter-Domain Routing Protocols Some slides have been adapted from:
CS 3700 Networks and Distributed Systems
ICMP ICMP – Internet Control Message Protocol
Chapter 4: Network Layer
COMP 3270 Computer Networks
COS 561: Advanced Computer Networks
Introduction to Internet Routing
Routing: Distance Vector Algorithm
CSCI-1680 Network Layer: Inter-domain Routing
Department of Computer and IT Engineering University of Kurdistan
COS 561: Advanced Computer Networks
Routers Routing algorithms
Dynamic Routing and OSPF
Part 4: Network Layer Part B: The Internet Routing Protocols
Inter-domain Routing Outline Homework #3 solutions
Chapter 4: Network Layer
CS 3700 Networks and Distributed Systems
Chapter 4: Network Layer
COS 561: Advanced Computer Networks
Chapter 4: Network Layer
COMP/ELEC 429/556 Introduction to Computer Networks
COS 461: Computer Networks
CSCI-1680 Network Layer: Inter-domain Routing
BGP Instability Jennifer Rexford
Computer Networks Protocols
Network Layer: Internet Inter-Domain Routing
Presentation transcript:

Computer Networks Winter 2002 / 2003 Chapter 4 NETWORK LAYER Dynamic PowerPoint Slides Only Distributed Computing Group Computer Networks Winter 2002 / 2003

Remember: Count to Infinity Problem a b c c: 3 c: 4 c: 5 c: 6 c: 7 c: 8 Distributed Computing Group Computer Networks R. Wattenhofer

BGP does not count to infinity a b c d e Zurich Destination Dir Dst Path Zurich c 4 cdeZ Destination Dir Dst Path Zurich b 5 bcdeZ Distributed Computing Group Computer Networks R. Wattenhofer

BGP does not count to infinity “withdraw Zurich” a b c d e Zurich Destination Dir Dst Path Zurich c 4 cdeZ Destination Dir Dst Path Zurich b 5 bcdeZ Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer BGP Basics Continued “announce bcdeZ” a b c d e Zurich Destination Dir Dst Path Zurich c 4 cdeZ Destination Dir Dst Path Zurich b 5 bcdeZ Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer BGP Basics Continued “announce bfeZ” f 30s a b c d e Zurich Destination Dir Dst Path Zurich c 4 cdeZ f 3 feZ backup active Destination Dir Dst Path Zurich b 4 bfeZ Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer BGP Basics Continued “announce bcdeZ” f a b c d e Zurich Destination Dir Dst Path Zurich c 4 cdeZ f 3 feZ backup active Destination Dir Dst Path Zurich b 4 bfeZ Distributed Computing Group Computer Networks R. Wattenhofer

BGP (Border Gateway Protocol) BGP is the Internet de-facto standard Path Vector protocol Receive BGP update (announce or withdrawal) from a neighbor. Update routing table. Does update affect active route? (Loop detection, policy, etc.) If yes, send update to all neighbors that are allowed by policy. MinRouteAdver: At most 1 announce per neighbor per 30+jitter seconds. Store the active routes of the neighbors. Distributed Computing Group Computer Networks R. Wattenhofer

Internet Architecture BGP Destination Dir Dst Path Zurich c 4 cdeZ 172.30.160/19 R1 1239 1 3561 iBGP Route flap dampening Multipath Soft configuration … Distributed Computing Group Computer Networks R. Wattenhofer

Internet inter-AS routing: BGP BGP messages exchanged using TCP. BGP messages OPEN: opens TCP connection to peer and authenticates sender UPDATE: advertises new path (or withdraws old) KEEPALIVE keeps connection alive in absence of UPDATES; also ACKs OPEN request NOTIFICATION: reports errors in previous msg; also used to close connection Policy Even if two BGP routers are connected they may not announce all their routes or use all the routes of the other Example: if AS A does not want to route traffic of AS B, then A should simply not announce anything to B. Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer Robustness of BGP a d b c a startet mit acd, b dann bd (weil ueber a haben wir bacd was 3 hops sind, zu lange…), c mit cbd, doch dann muss a sich wieder umentscheiden und geht auf direkt was wiederum b aendern laesst… etc. We are interested in routes to destination d. Nodes a,b,c all have the policy to prefer a 2-hop route through their clockwise neighbor over a direct 1-hop route to destination d. Distributed Computing Group Computer Networks R. Wattenhofer

BGP Update Traffic (Mae-East) Cisco bug “withdraw loop” is fixed with IOS release. Distributed Computing Group Computer Networks R. Wattenhofer

Internet Evolution: NSFNet (1995) NSFNet Backbone Hello/EGP Hello/EGP Regional Regional Regional Campus Campus Campus Campus Distributed Computing Group Computer Networks R. Wattenhofer

Internet Evolution: Today AS1 AS2 AS5 BGP AS6 AS4 AS3 AS8 AS7 Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer Experimental Setup Analyzed secondary paths of 20x20 AS pairs: Inject and monitor BGP faults. Survey providers on policies. Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer BGP Convergence Times 180 Distributed Computing Group Computer Networks R. Wattenhofer

BGP Convergence Results If a link comes up, the convergence time is in the order of time to forward a message on the shortest path. If a link goes down, the convergence time is in the order of time to forward a message on the longest path. Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p a p:p b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p Os a p:p b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p a p:p W W W W W b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence a W c d e a:p c:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence a dcap c d e a:p c:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p O.1s a p:p W cbap dcap edap b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p O.2s a - W cbap dcap edap b c d e f - b:ap c:ap d:ap e:ap d:cap e:dap c:bap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p 30s!!! a - W dcbap edcap b c d e f - - c:bap d:cap e:dap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p 60s a - W edcbap b c d e f - - - d:cbap e:dcap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p 90s a - W b c d e f - - - - e:dcbap Distributed Computing Group Computer Networks R. Wattenhofer

Intuition for Slow Convergence p a b c d e f Convergence in the time to forward a message on the longest path. Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer The longest path… p a g e b h f d c j i Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer … is NP-complete (APX) p a g e b h f d c j i Distributed Computing Group Computer Networks R. Wattenhofer

Example of BGP Convergence Time BGP Message/Event 10:40:30 2129 withdraws p 10:41:08 2117 announces 5696 2129 p 10:41:32 2117 announces 1 5696 2129 p 10:41:50 2117 announces 2041 3508 3508 4540 7037 1239 5696 2129 p 10:42:17 2117 announces 1 2041 3508 3508 4540 7037 1239 5696 2129 p 10:43:05 2117 announces 2041 3508 3508 4540 7037 1239 6113 5696 2129 p 10:43:35 2117 announces 1 2041 3508 3508 4540 7037 1239 6113 5696 2129 p 10:43:59 2117 withdraws p Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer Remember the Example p a W b c d e f edap edcap edcbap Distributed Computing Group Computer Networks R. Wattenhofer W

Distributed Computing Group Computer Networks R. Wattenhofer What might help? Idea: Attach a “cause tag” to the withdrawal message identifying the failed link/node (for a given prefix). It can be shown that a cause tag reduces the convergence time to the shortest path Problems Since BGP is widely deployed, it cannot be changed easily ISP’s (AS’s) don’t like the world to know that it is their link that is not stable, and cause tags do exactly that. Race conditions make the cause tags protocol intricate Distributed Computing Group Computer Networks R. Wattenhofer

Example with BGP-CT (Cause Tags) p:p b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer Example with BGP-CT p Os a p:p b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Distributed Computing Group Computer Networks R. Wattenhofer Example with BGP-CT p O.1s a p:p W(ap) W(ap) W(ap) W(ap) W(ap) b c d e f a:p a:p b:ap a:p c:ap a:p d:ap a:p e:ap Distributed Computing Group Computer Networks R. Wattenhofer

Convergence Time using Cause Tags b c p x e f Distributed Computing Group Computer Networks R. Wattenhofer

Convergence Time using Cause Tags b c p x e f Distributed Computing Group Computer Networks R. Wattenhofer

Convergence Time using Cause Tags b c p x e f Convergence in the time to forward a message on the new shortest path (instead of the longest). Distributed Computing Group Computer Networks R. Wattenhofer