6.263 Data Communication Networks
|
|
|
- Ethan Webb
- 9 years ago
- Views:
Transcription
1 6.6 Data Communication Networks Lecture : Internet Routing (some slides are taken from I. Stoica and N. Mckewon & T. Griffin) Dina Katabi [email protected]
2 Books Text Book Data Communication Networks, by Dimitri Betsekas and Robert Gallager Recommended Computer Networks - A Systems Approach, by Larry L. Peterson and Bruce S. Davie, rd edition.
3 Lecture : Taxonomy of Networks (Mainly notes. Reading: P&D. pp ) Lecture : Routing Algorithms Bertsekas and Gallager Lecture : Internet Routing (The real picture) (Notes. Also you can find the material in P&D 4. except 4..5, 4.., 4.., 4... For algs., see B&G-5..)
4 IP Addresses & IP Header bit # version header length Identification DS ECN total length (in bytes) Fragment offset time-to-live (TTL) protocol header checksum 0 D F M F source IP address destination IP address options (0 to 40 bytes) payload 4 bytes IP address: e.g., IP prefix: e.g., 8/8 contains 4 addresses e.g, 8.6/6 or 8.6.0/4 4
5 Forwarding 8/8 What s the difference between routing and forwarding? R 9.6/6 Routing is finding the path Forwarding is the action of sending the packet to the next-hop toward its destination Each router has a forwarding table Router R R 8./6 7/8 5../4 Forwarding tables are created by a routing protocol Dest. Addr Next-hop Forwarding: 8/8 R When a packet arrives, router looks up the dst. IP in the forwarding table 8./6 9.6/6 5../4 R R R finds nexthop 7/8 R queues packet to be sent on the interface connected to nexthop Forwarding needs to be fast 5
6 Picture of the Internet Interior router AS- Border router AS- AS- Internet: A collection of Autonomous Systems (ASes) E.g., MIT network, AT&T, Quest, Sprint, Routing is hierarchical Intra-Domain Routing inside an AS Inter-Domain Routing between ASes 6
7 Two Main Approaches to Intra-domain Routing Distance Vector Protocols E.g., RIP Based on Distributed Bellman-Ford Algorithm Periodically, each node tells its neighbors about its shortest route to all other nodes in the network Link State Protocols E.g., OSPF Based on Dijkstra Algorithm Periodically, each node tells all nodes about its neighbors (it floods that information) 7
8 Distance Vector: Control Traffic When the routing table of a node changes, the node sends its table to its neighbors A node updates its table with information received from its neighbors Host C Host A Host D N N N N5 Host B N4 Host E N6 N7 8
9 Distributed Bellman-Ford Algorithm R Example: Compute routes to R8 4 R R R R 4 R 8 R 4 R 6 Initial State: All routers except R8 set their route length to. R8 sets its route length to 0. 9
10 R R Inf Inf R 4, R 8 R 4 Inf R 5, R 8 R 6, R 8 R 7, R 8 Distributed Bellman-Ford Algorithm Example: Compute routes to R8 R R R R R 4 R 8 R 4 4 R 6 Iterative step: Every T seconds, each router tells its neighbors its lowest-cost to R8 When a router receives a message from neighbor j, it updates its path cost as: If (j is my current nexthop) then cost= j s cost to R8 + cost of the link to j else cost =min(current cost, j s cost to R8 + cost of the link to j) Note, routing tables at each router have both the next-hop and the cost 0
11 R R 6, R 4, R5 R 4, R 8 R 4 6, R7 R 5, R 8 R 6, R 8 R 7, R 8 Distributed Bellman-Ford Algorithm Example: Compute routes to R R R R R R 4 R 8 R 4 4 R 6 Repeat until no costs change
12 R R 6, R 4, R5 R 4, R 8 R 4 6, R7 R 5, R 8 R 6, R 8 R 7, R 8 R R 6, R 4, R5 R 4, R 8 R 4 5, R R 5, R 8 R 6, R 8 R 7, R 8 Distributed Bellman-Ford Algorithm Example: Compute routes to R R R R R R 4 R 8 R Solution R R R 4 R 8 R R 4 R 6 R 4 R 6
13 Formally At router A, assume c(a,v) is the cost of the edge A-V and D(A,V) is the cost of the path from A to V Initialization: for all neighbors V do if V adjacent to A 4 D(A, V) = c(a,v); 5 else 6 D(A, V) = ; 7 loop: 8 wait (link cost update or update message) 9 if (c(a,v) changes by d) 0 for all destinations Y through V do D(A,Y) = D(A,Y) + d else if (update D(V, Y) received from V) for all destinations Y do 4 if (destination Y through V) 5 D(A,Y) = c(a,v) + D(V, Y); 6 else 7 D(A, Y) = min(d(a, Y), c(a, V) + D(V, Y)); 8 if (there is a new minimum for destination Y) 9 send D(A, Y) to all neighbors 0 forever
14 A Problem with Bellman-Ford Bad news travels slowly R Consider the calculation of distances to R 4 : Time 0 R R R R R X,R,R, R 4 R,R,R,R R 4 fails R 4 4
15 A Problem with Bellman-Ford Bad news travels slowly R R Consider the calculation of distances to R 4 : Time 0 R 5,R R 4,R R 5,R R,R,R, R 4 R,R,R,R R 4 fails,r 4,R Counting to infinity,r R 4 5
16 How are These Loops Caused? Observation : R s metric increases Observation : R picks R as next hop to R4; But, the implicit path from R to R4 includes R! 6
17 Counting to Infinity Problem Solutions. Set infinity = some small integer (e.g. 00). Stop when count = 00.. Split Horizon: Because R received lowest cost path from R, it does not advertise cost to R. Split-horizon with poison reverse: R advertises infinity to R Can you think of another approach? 7
18 Two Main Approaches to Intra-domain Routing Distance Vector Protocols E.g., RIP Based on Distributed Bellman-Ford Algorithm Periodically, each node tells its neighbors about its shortest route to all other nodes in the network Link State Protocols E.g., OSPF Based on Dijkstra Algorithm Periodically, each node tells all nodes about its neighbors (it floods that information) 8
19 Link State Start condition Each node is assumed to know its neighbors Phase : Each node learns the graph Each node broadcasts its neighbor list to all other nodes in a message called LSP LSP contains: Node ID, List of neighbors and the link cost to reach them, Sequence number (needed to avoid stale information from propagating), Time to live (TTL) Reliable flooding mechanism When node J receives LSP from node K, if LSP is the most recent LSP from K that J has seen so far, J saves it in database and forwards a copy on all links except the link on which the LSP was received, otherwise, it discards the LSP Phase : Each node computes shortest paths Each node locally computes shortest paths to all other nodes from global state It uses Dijkstra s shortest path tree (SPT) algorithm 9
20 Link State: Control Traffic Each node floods info about its neighbors to every node in the network Each node ends up knowing the entire network topology use Dijkstra to compute the shortest path to every other node Host C Host A Host D N N N N5 Host B N4 Host E N6 N7 0
21 Link State: Node State Host A A B C D E Host C A B C D E A B C D Host D E N N A C D N A C D N5 B E A C D Host B N4 B E A C D B E Host N6 B E N7
22 Dijkstra s Shortest Path First Algorithm Assumptions: Costs are positive Each router has the graph. Is it scalable? For each source, the alg. finds the spanning tree routed at the source
23 Step A Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes D(x) is distance to X and p(x) is parent of node X in the spanning tree rooted at A start S A 5 B D D(B),p(B),A C E D(C),p(C) 5,A 5 F D(D),p(D),A D(E),p(E) Initialization: S = {A}; for all nodes v 4 if v adjacent to A 5 then D(v) = c(a,v); 6 else D(v) = ; D(F),p(F)
24 Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes Step A start S A AD 5 B D D(B),p(B),A C E 5 D(C),p(C) 5,A 4,D F D(D),p(D),A D(E),p(E),D D(F),p(F) 8 Loop 9 find w not in S s.t. D(w) is a minimum; 0 add w to S; update D(v) for all v adjacent to w and not in S: D(v) = min( D(v), D(w) + c(w,v) ); until all nodes in S; Dijkstra s Key Idea: At each step, find the next closest node 4
25 Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes Step A start S A AD ADE 5 B D D(B),p(B),A C E 5 F D(C),p(C) 5,A 4,D,E D(D),p(D),A D(E),p(E),D D(F),p(F) 4,E 8 Loop 9 find w not in S s.t. D(w) is a minimum; 0 add w to S; update D(v) for all v adjacent to w and not in S: D(v) = min( D(v), D(w) + c(w,v) ); until all nodes in S; 5
26 Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes Step A start S A AD ADE ADEB 5 B D D(B),p(B),A C E 5 F D(C),p(C) 5,A 4,D,E D(D),p(D),A D(E),p(E),D D(F),p(F) 4,E 8 Loop 9 find w not in S s.t. D(w) is a minimum; 0 add w to S; update D(v) for all v adjacent to w and not in S: D(v) = min( D(v), D(w) + c(w,v) ); until all nodes in S; 6
27 Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes Step A start S A AD ADE ADEB ADEBC 5 B D D(B),p(B),A C E 5 F D(C),p(C) 5,A 4,D,E D(D),p(D),A D(E),p(E),D D(F),p(F) 4,E 8 Loop 9 find w not in S s.t. D(w) is a minimum; 0 add w to S; update D(v) for all v adjacent to w and not in S: D(v) = min( D(v), D(w) + c(w,v) ); until all nodes in S; 7
28 Example: Dijkstra s Algorithm Node A uses Dijkstra to find routes from A to all nodes Step A start S A AD ADE ADEB ADEBC ADEBCF 5 B D D(B),p(B),A C E 5 F D(C),p(C) 5,A 4,D,E D(D),p(D),A D(E),p(E),D D(F),p(F) 4,E 8 Loop 9 find w not in S s.t. D(w) is a minimum; 0 add w to S; update D(v) for all v adjacent to w and not in S: D(v) = min( D(v), D(w) + c(w,v) ); until all nodes in S; 8
29 Inter-Domain Routing & BGP 9
30 Picture of the Internet AS- Interior router Border router AS- AS- Intra-domain routing inside an AS Iner-domain routing between ASes 0
31 Internet Hierarchy What is an Autonomous System (AS)? A set of routers under a single technical administration, using an intra-domain routing protocol (IGP) and common metrics to route packets within the AS and using an inter-domain routing protocol (EGP) to route packets to other ASes Sometimes ASes use multiple intra-domain routing protocols and metrics, but appear as a single AS to other ASes Each AS is assigned a unique ID
32 AS Numbers (ASNs) ASNs are 6 bit values. 645 through 6555 are private Currently over 6,000 in use. Genuity: MIT: Harvard: UC San Diego: 777 AT&T: 708, 64, 5074, UUNET: 70, 70, 84, 99, Sprint: 9, 40, 6, 64, ASNs represent units of routing policy
33 A Logical View of the Internet Internet connectivity is provided by commercial entities called ISPs, who compete for profit yet have to cooperate to provide connectivity Each ISP has its own AS (sometimes multiple ASes) Not all ISPs are created equal Tier ISP Default-free global reachability info Tier ISP Regional or country-wide Tier ISP Local Tier Tier Tier Tier Tier Tier
34 Inter-AS Relationship: Transit vs. Peering Transit ($$) ISP P Transit ($$$) ISP Y Transit ($) Transit ($$$) Transit ($) ISP Z Peering Transit ($$) Transit ($$$) ISP X Transit ($$) 4
35 Policy Impact on Routing AS relationships Customer-provider Peers Want Valley-free routes Number links as (+, 0, -) for provider, peer and customer links In any path, you should only see sequence of +, followed by at most one 0, followed by sequence of - 5
36 Customer-Provider Hierarchy provider customer IP traffic 6
37 The Peering Relationship peer provider traffic allowed peer customer traffic NOT allowed Peers provide transit between their respective customers Peers do not provide transit between peers Peers (often) do not exchange $$$ 7
38 Peering Provides Shortcuts peer provider peer customer 8
39 Policy-Based Routing Policies are used to force customer-provider-peer relationships, backup links, load balancing, Can t use shortest path routing No universal metric policy-based decisions Main characteristic of shortest path does not hold (i x j is shortest route, then x j is shortest route) Problems with distance-vector: Bellman-Ford algorithm may not converge, and may loop Problems with link state: Metric used by different routers are not the same loops LS database too large entire Internet May expose policies to other AS s 9
40 BGP: Distance Vector with Path Each routing update carries the entire path e.g.,: destination 8.6/6 is reachable using {AS, AS, AS} When AS receives a routing update Reject routes with loops To detect loops check whether my AS is already in path AS remembers loop-free routes For each destination, the AS chooses the best route according its policies. AS advertises a neighbor routes to a subset of all the destinations, depending on its policy E.g., I might hide from you that I know how to get to destination X, because I don t want to deliver your messages to X AS advertises to neighbors only those routes that it uses Ensures that if i x j is the used route, then x j is the used route What happens if an AS advertises routes that it doesn t use? Advantage: Metrics are local - AS chooses path, protocol ensures no loops 40
41 BGP Operations (Simplified) Establish session on TCP port 79 AS Exchange all active routes BGP session AS Exchange incremental updates While connection is ALIVE exchange route UPDATE messages 4
42 Four Types of BGP Messages Open : Establish a peering session. Keep Alive : Handshake at regular intervals. Notification : Shuts down a peering session. Update : Announcing new routes or withdrawing previously announced routes. Announcement = prefix + attributes Attributes are used to choose among all routes for the same prefix Example attribute is AS_PATH, which is used to discover loops 4
43 Implementing Customer/Provider and Peer/Peer relationships using BGP BGP provides capability for enforcing various policies Policies are not part of BGP: they are provided to BGP as configuration information BGP enforces policies by. choosing paths from multiple alternatives (importing routers). controlling advertisement to other AS s (exporting routes) 4
44 Importing Routes Based on route attributes First, Prefer customer > peer > provider Then, Shortest AS PATH length Then, look at other route attributes 44
45 Exporting Routes When an AS exports a route, others can use the AS to forward packets along that route Rules: Export customers routes to everyone why? Export routes to your own addresses to everyone Why? Don t export routes advertised to you by your provider (may advertise them to customers) Why? Don t export routes advertised to you by your peer (may advertise them to customers) Why? 45
46 Import Routes provider route peer route customer route ISP route From provider From provider From peer From peer (Prefer customer > peer > provider) From customer From customer 46
47 Export Routes provider route peer route customer route ISP route To provider From provider To peer To peer To customer To customer filters block 47
48 What problem is BGP solving? Underlying problem Shortest Paths X? Distributed means of computing a solution. RIP, OSPF, IS-IS BGP X could aid in the design of policy analysis algorithms and heuristics aid in the analysis and design of BGP and extensions help explain some BGP routing anomalies provide a fun way of thinking about the protocol 48
49 An instance of the Stable Paths Problem (SPP) A graph of nodes and edges, Node 0, called the origin, For each non-zero node, a set or permitted paths to the origin. This set always contains the null path. A ranking of permitted paths at each node most preferred least preferred (not null) When modeling BGP : nodes represent BGP speaking routers, and 0 represents a node originating some address block Yes, the translation gets messy! 49
50 An SPP may have multiple solutions DISAGREE 0 0 First solution 0 0 Second solution 50
51 BAD GADGET : No Stable Solution
52 Known Results Internet routing has serious convergence problems Result [Griffin et al.]: BGP does not satisfy the stable paths problem. Result [Rexford et al.]: If every AS follows a set of guidelines (valley-free routes) then Internet routing should not have convergence problems. 5
53 Two Types of BGP Neighbor Relationships AS External Neighbor (ebgp) in a different Autonomous Systems Internal Neighbor (ibgp) in the same Autonomous System ebgp ibgp AS 5
54 ibgp AS has more than one router participating in ebgp ibgp is run between BGP routers in the same AS to allow all of them to obtain a complete and consistent view of external routes ibgp AS 54
55 Internal BGP (ibgp) Same messages as ebgp Different rules about re-advertising prefixes: Prefix learned from ebgp can be advertised to ibgp neighbor and vice-versa, but Prefix learned from one ibgp neighbor cannot be advertised to another ibgp neighbor Reason: no AS PATH within the same AS and thus danger of looping. 55
56 We learned Inter-domain routing uses policy As a result, routing is not a simple optimization of a single number which can be done using shortest path algorithms BGP is designed to route based on policies 56
Exterior Gateway Protocols (BGP)
Exterior Gateway Protocols (BGP) Internet Structure Large ISP Large ISP Stub Dial-Up ISP Small ISP Stub Stub Stub Autonomous Systems (AS) Internet is not a single network! The Internet is a collection
Lecture 18: Border Gateway Protocol"
Lecture 18: Border Gateway Protocol" CSE 123: Computer Networks Alex C. Snoeren HW 3 due Wednesday! Some figures courtesy Mike Freedman Lecture 18 Overview" Path-vector Routing Allows scalable, informed
Based on Computer Networking, 4 th Edition by Kurose and Ross
Computer Networks Internet Routing Based on Computer Networking, 4 th Edition by Kurose and Ross Intra-AS Routing Also known as Interior Gateway Protocols (IGP) Most common Intra-AS routing protocols:
Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats
Outline EE 22: Interdomain Routing Protocol (BGP) Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee22/fa9 (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues
Internet Firewall CSIS 4222. Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS 4222. net15 1. Routers can implement packet filtering
Internet Firewall CSIS 4222 A combination of hardware and software that isolates an organization s internal network from the Internet at large Ch 27: Internet Routing Ch 30: Packet filtering & firewalls
Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.
Active measurements: networks Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D. Outline Organization of Internet routing Types of domains Intra- and inter-domain routing Intra-domain
Route Discovery Protocols
Route Discovery Protocols Columbus, OH 43210 [email protected] http://www.cse.ohio-state.edu/~jain/ 1 Overview Building Routing Tables Routing Information Protocol Version 1 (RIP V1) RIP V2 OSPF
Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur
Module 7 Routing and Congestion Control Lesson 4 Border Gateway Protocol (BGP) Specific Instructional Objectives On completion of this lesson, the students will be able to: Explain the operation of the
Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage
Lecture 8: Routing I Distance-vector Algorithms CSE 3: Computer Networks Stefan Savage This class New topic: routing How do I get there from here? Overview Routing overview Intra vs. Inter-domain routing
Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms
Outline Internet Routing Venkat Padmanabhan Microsoft Research 9 pril 2001 Routing algorithms distance-vector (DV) link-state (LS) Internet Routing border gateway protocol (BGP) BGP convergence paper Venkat
CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006
CSE331: Introduction to Networks and Security Lecture 8 Fall 2006 Announcements Reminders: Project I is due on Monday, Sept. 25th. Homework 1 is due on Friday, Sept. 29th. CSE331 Fall 2004 2 Internet Protocol
APNIC elearning: BGP Attributes
APNIC elearning: BGP Attributes Contact: [email protected] erou04_v1.0 Overview BGP Attributes Well-known and Optional Attributes AS Path AS Loop Detection ibgp and ebgp Next Hop Next Hop Best Practice
Inter-domain Routing. Outline. Border Gateway Protocol
Inter-domain Routing Outline Border Gateway Protocol Internet Structure Original idea Backbone service provider Consumer ISP Large corporation Consumer ISP Small corporation Consumer ISP Consumer ISP Small
Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing
Dynamic Routing Protocols II OSPF Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. 1 Distance Vector vs. Link State Routing With distance
Border Gateway Protocol BGP4 (2)
Border Gateway Protocol BGP4 (2) Professor Richard Harris School of Engineering and Advanced Technology (SEAT) Presentation Outline Border Gateway Protocol - Continued Computer Networks - 1/2 Learning
Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:
Border Gateway Protocol Exterior routing protocols created to: control the expansion of routing tables provide a structured view of the Internet by segregating routing domains into separate administrations
Interdomain Routing. Outline
Interdomain Routing David Andersen 15-744 Spring 2007 Carnegie Mellon University Outline What does the Internet look like? Relationships between providers Enforced by: Export filters and import ranking
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP) Petr Grygárek rek 1 Role of Autonomous Systems on the Internet 2 Autonomous systems Not possible to maintain complete Internet topology information on all routers big database,
BGP overview BGP operations BGP messages BGP decision algorithm BGP states
BGP overview BGP operations BGP messages BGP decision algorithm BGP states 1 BGP overview Currently in version 4. InterAS (or Interdomain) routing protocol for exchanging network reachability information
CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics
CSC458 Lecture 6 Inter-domain Routing IP Addressing Stefan Saroiu http://www.cs.toronto.edu/syslab/courses/csc458 University of Toronto at Mississauga Homework #1 Grades Fraction of Students 100 80 60
E6998-02: Internet Routing
E6998-02: Internet Routing Lecture 13 Border Gateway Protocol, Part II John Ioannidis AT&T Labs Research [email protected] Copyright 2002 by John Ioannidis. All Rights Reserved. Announcements Lectures
Internet inter-as routing: BGP
Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability
Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP
Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP Renato Lo Cigno Routing Algorithms: One or Many? Is there a single routing protocol in the Internet? How can different protocols and algorithms
Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing?
Can Forwarding Loops Appear when Activating ibgp Multipath Load Sharing? Simon Balon and Guy Leduc Research Unit in Networking EECS Department- University of Liège (ULg) Institut Montefiore, B28 - B-4000
CS 3251- Computer Networks 1: Routing Algorithms
CS 35- Computer Networks : Routing Algorithms Professor Patrick Tranor 0//3 Lecture 3 Reminders The due date for Homework was moved to Thursda. Reason: Allow ou to attend toda s lecture. Project is still
How To Understand Bg
Table of Contents BGP Case Studies...1 BGP4 Case Studies Section 1...3 Contents...3 Introduction...3 How Does BGP Work?...3 ebgp and ibgp...3 Enabling BGP Routing...4 Forming BGP Neighbors...4 BGP and
CS551 External v.s. Internal BGP
CS551 External v.s. Internal BGP Bill Cheng http://merlot.usc.edu/cs551-f12 1 Exterior vs. Interior World vs. me EGP vs. IGP Little control vs. complete administrative control BGP (and GGP, Hello, EGP)
Using the Border Gateway Protocol for Interdomain Routing
CHAPTER 12 Using the Border Gateway Protocol for Interdomain Routing The Border Gateway Protocol (BGP), defined in RFC 1771, provides loop-free interdomain routing between autonomous systems. (An autonomous
Internet Control Message Protocol (ICMP)
SFWR 4C03: Computer Networks & Computer Security Jan 31-Feb 4, 2005 Lecturer: Kartik Krishnan Lecture 13-16 Internet Control Message Protocol (ICMP) The operation of the Internet is closely monitored by
APNIC elearning: BGP Basics. Contact: [email protected]. erou03_v1.0
erou03_v1.0 APNIC elearning: BGP Basics Contact: [email protected] Overview What is BGP? BGP Features Path Vector Routing Protocol Peering and Transit BGP General Operation BGP Terminology BGP Attributes
Routing Protocols (RIP, OSPF, BGP)
Chapter 13 Routing Protocols (RIP, OSPF, BGP) INTERIOR AND EXTERIOR ROUTING RIP OSPF BGP 1 The McGraw-Hill Companies, Inc., 2000 1 Introduction Packets may pass through several networks on their way to
Lecture 12: Link-state Routing"
Lecture 2: Link-state Routing" CSE 23: Computer Networks Alex C. Snoeren HW 3 due next Tuesday! Lecture 2 Overview" Routing overview Intra vs. Inter-domain routing Link-state routing protocols CSE 23 Lecture
Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing
Routing Protocols scale: with 200 million destinations: can t store all dest s in routing tables! routing table exchange would swamp links! Hierarchical Routing Our routing study thus far - idealization
Internet inter-as routing: BGP
Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability
Masterkurs Rechnernetze IN2097
Masterkurs Rechnernetze IN2097 Advanced computer networking Internet Protocols Prof. Dr.-Ing. Georg Carle, Wolfgang Mühlbauer Chair for Network Architectures and Services Computer Science Department Technical
IP Routing. CS 552 Richard Martin (with slides from S. Savage and S. Agarwal)
IP Routing CS 552 Richard Martin (with slides from S. Savage and S. Agarwal) First Homework Due Friday Posted on class web-page http://www.cs.rutgers.edu/~rmartin/teaching/fall04/cs552/ Send single click
Introduction to TCP/IP
Introduction to TCP/IP Raj Jain The Ohio State University Columbus, OH 43210 Nayna Networks Milpitas, CA 95035 Email: [email protected] http://www.cis.ohio-state.edu/~jain/ 1 Overview! Internetworking Protocol
OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).
OSPF Version 2 (RFC 2328) Interior gateway protocol (IGP). Routers maintain link-state database. Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs). Router
ECSE-6600: Internet Protocols Exam 2
ECSE-6600: Internet Protocols Exam 2 Time: 75 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT omit necessary detail {Note: Simply copying text directly from the slides or notes will
Introduction to LAN/WAN. Network Layer
Introduction to LAN/WAN Network Layer Topics Introduction (5-5.1) Routing (5.2) (The core) Internetworking (5.5) Congestion Control (5.3) Network Layer Design Isues Store-and-Forward Packet Switching Services
basic BGP in Huawei CLI
basic BGP in Huawei CLI BGP stands for Border Gateway Protocol. It is widely used among Internet Service Providers to make core routing decisions on the Internet. The current BGP version is BGP-4 defined
Introduction to Routing
Introduction to Routing How traffic flows on the Internet Philip Smith [email protected] RIPE NCC Regional Meeting, Moscow, 16-18 18 June 2004 1 Abstract Presentation introduces some of the terminologies used,
Computer Networks. Main Functions
Computer Networks The Network Layer 1 Routing. Forwarding. Main Functions 2 Design Issues Services provided to transport layer. How to design network-layer protocols. 3 Store-and-Forward Packet Switching
CS 457 Lecture 19 Global Internet - BGP. Fall 2011
CS 457 Lecture 19 Global Internet - BGP Fall 2011 Decision Process Calculate degree of preference for each route in Adj-RIB-In as follows (apply following steps until one route is left): select route with
Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks
Routing in Small Networks Internet Routing Overview AS, IGP,, BGP in small networks distance vector or link state protocols like RIP or OSPF can be used for dynamic routing it is possible that every router
Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh
Distance Vector Routing Protocols Routing Protocols and Concepts Ola Lundh Objectives The characteristics of distance vector routing protocols. The network discovery process of distance vector routing
Routing with OSPF. Introduction
Routing with OSPF Introduction The capabilities of an internet are largely determined by its routing protocol. An internet's scalability, its ability to quickly route around failures, and the consumption
BGP Attributes and Path Selection
BGP Attributes and Path Selection ISP Workshops Last updated 29 th March 2015 1 BGP Attributes BGP s policy tool kit 2 What Is an Attribute?... Next Hop AS Path MED...... p Part of a BGP Update p Describes
BGP Best Path Selection Algorithm
BGP Best Path Selection Algorithm Document ID: 13753 Contents Introduction Prerequisites Requirements Components Used Conventions Why Routers Ignore Paths How the Best Path Algorithm Works Example: BGP
BGP Terminology, Concepts, and Operation. Chapter 6 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
BGP Terminology, Concepts, and Operation 1 IGP versus EGP Interior gateway protocol (IGP) A routing protocol operating within an Autonomous System (AS). RIP, OSPF, and EIGRP are IGPs. Exterior gateway
Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.
CEN 007C Computer Networks Fundamentals Instructor: Prof. A. Helmy Homework : Network Layer Assigned: Nov. 28 th, 2011. Due Date: Dec 8 th, 2011 (to the TA) 1. ( points) What are the 2 most important network-layer
Network Level Multihoming and BGP Challenges
Network Level Multihoming and BGP Challenges Li Jia Helsinki University of Technology [email protected] Abstract Multihoming has been traditionally employed by enterprises and ISPs to improve network connectivity.
Chapter 4. Distance Vector Routing Protocols
Chapter 4 Distance Vector Routing Protocols CCNA2-1 Chapter 4 Note for Instructors These presentations are the result of a collaboration among the instructors at St. Clair College in Windsor, Ontario.
DD2491 p1 2008. Inter-domain routing and BGP part I Olof Hagsand KTH/CSC
DD2491 p1 2008 Inter-domain routing and BGP part I Olof Hagsand KTH/CSC Inter-domain routing The objective of inter-domain routing is to bind together all the thousands of independent IP networks that
Border Gateway Protocol (BGP-4)
Vanguard Applications Ware IP and LAN Feature Protocols Border Gateway Protocol (BGP-4) Notice 2008 Vanguard Networks 25 Forbes Blvd Foxboro, MA 02035 Phone: (508) 964 6200 Fax: (508) 543 0237 All rights
The Internet. Internet Technologies and Applications
The Internet Internet Technologies and Applications Aim and Contents Aim: Review the main concepts and technologies used in the Internet Describe the real structure of the Internet today Contents: Internetworking
BGP route propagation. Internet AS relationships, Routing policy on Internet paths. Example of commercial relationship. Transit vs.
BGP route propagation Internet AS relationships, Routing policy on Internet paths Z. Morley Mao Lecture 5 Jan 20, 2005 Connectivity does not imply reachability Not all possible routes propagate Commercial
Routing Protocol - BGP
Routing Protocol - BGP BGP Enterprise Network BGP ISP AS 3000 AS 2000 BGP is using between Autonomous Systems BGP(cont.) RFC 1771(BGPv4) Support CIDR Transfer the AS information to reach destination Using
Administra0via. STP lab due Wednesday (in BE 301a!), 5/15 BGP quiz Thursday (remember required reading), 5/16
BGP Brad Smith Administra0via How are the labs going? This week STP quiz Thursday, 5/9 Next week STP lab due Wednesday (in BE 301a!), 5/15 BGP quiz Thursday (remember required reading), 5/16 Following
Week 4 / Paper 1. Open issues in Interdomain Routing: a survey
Week 4 / Paper 1 Open issues in Interdomain Routing: a survey Marcelo Yannuzzi, Xavier Masip-Bruin, Olivier Bonaventure IEEE Network, Nov.-Dec. 2005, vol. 19, no. 6, pp. 49 56 Main point There are many
GregSowell.com. Mikrotik Routing
Mikrotik Routing Static Dynamic Routing To Be Discussed RIP Quick Discussion OSPF BGP What is Routing Wikipedia has a very lengthy explanation http://en.wikipedia.org/wiki/routing In the context of this
Administrative Distance
RIP is a distance vector routing protocol. It shares routing information through the local broadcast in every 30 seconds. In this tutorial we will explain RIP routing fundamentals with examples such as
BGP Router Startup Message Flow
LEG: Brief BGP Router Startup Message Flow This sequence diagram was generated with EventStudio System Designer (http://www.eventhelix.com/eventstudio). The Border Gateway Protocol (BGP) is an inter-autonomous
CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012
CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012 Important: No cheating will be tolerated. No Late Submission will be allowed. Total points for 5480 = 37
Internet Routing Protocols Lecture 04 BGP Continued
Internet Routing Protocols Lecture 04 BGP Continued Advanced Systems Topics Lent Term, 008 Timothy G. Griffin Computer Lab Cambridge UK Two Types of BGP Sessions AS External Neighbor (EBGP) in a different
Examination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491
Examination IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Date: December 15 2009 14:00 18:00 1. No help material is allowed - You
Understanding Large Internet Service Provider Backbone Networks
Understanding Large Internet Service Provider Backbone Networks Joel M. Gottlieb IP Network Management & Performance Department AT&T Labs Research Florham Park, New Jersey [email protected] Purpose
--BGP 4 White Paper Ver.1.0-- BGP-4 in Vanguard Routers
BGP-4 in Vanguard Routers 1 Table of Contents Introduction to BGP... 6 BGP terminology... 6 AS (Autonomous system):... 6 AS connection:... 6 BGP Speaker:... 6 BGP Neighbor/Peer:... 7 BGP Session:... 7
Chapter 49 Border Gateway Protocol version 4 (BGP-4)
Chapter 49 Border Gateway Protocol version 4 (BGP-4) Introduction... 1-3 Overview of BGP-4... 1-3 BGP Operation... 1-5 BGP Attributes... 1-6 BGP Route Selection... 1-8 Classless Inter-domain Routing (CIDR)
Towards a Next- Generation Inter-domain Routing Protocol. L. Subramanian, M. Caesar, C.T. Ee, M. Handley, Z. Mao, S. Shenker, and I.
Towards a Next- Generation Inter-domain Routing Protocol L. Subramanian, M. Caesar, C.T. Ee, M. Handley, Z. Mao, S. Shenker, and I. Stoica Routing 1999 Internet Map Coloured by ISP Source: Bill Cheswick,
Multihoming and Multi-path Routing. CS 7260 Nick Feamster January 29. 2007
Multihoming and Multi-path Routing CS 7260 Nick Feamster January 29. 2007 Today s Topic IP-Based Multihoming What is it? What problem is it solving? (Why multihome?) How is it implemented today (in IP)?
Link-State Routing Protocols
Link-State Routing Protocols Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1 Objectives Link-state routing protocol Single-area OSPF concepts Single-area OSPF
Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3
CHAPTER 9 The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3 OSPF Open Shortest Path First (OSPF) is a link state Internet routing protocol.
BGP: Border Gateway Protocol
LAB 8 BGP: Border Gateway Protocol An Interdomain Routing Protocol OBJECTIVES The objective of this lab is to simulate and study the basic features of an interdomain routing protocol called Border Gateway
An Overview of Solutions to Avoid Persistent BGP Divergence
An Overview of Solutions to Avoid Persistent BGP Divergence Ravi Musunuri Jorge A. Cobb Department of Computer Science The University of Texas at Dallas Email: musunuri, cobb @utdallas.edu Abstract The
Lecture 13: Distance-vector Routing. Lecture 13 Overview. Bellman-Ford Algorithm. d u (z) = min{c(u,v) + d v (z), c(u,w) + d w (z)}
Lecture : istance-vector Routing S : omputer Networks hris Kanich Quiz TOMORROW Lecture Overview istance vector ssume each router knows its own address and cost to reach each of its directly connected
Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:
Computer Networks II Master degree in Computer Engineering Exam session: 11/02/2009 Teacher: Emiliano Trevisani Last name First name Student Identification number You are only allowed to use a pen and
Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ
Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ 1 Lecture 7: Network Layer in the Internet Reference: Chapter 5 - Computer Networks, Andrew S. Tanenbaum, 4th Edition, Prentice Hall,
Exercises TCP/IP Networking. Solution. With Solutions
Exercises TCP/IP Networking Solution. With Solutions Jean-Yves Le Boudec Fall 2010 Exercises marked with a were given at exams in the past. 1 Module 1: TCP/IP Architecture Exercise 1.1 Elaine is setting
Understanding Route Redistribution & Filtering
Understanding Route Redistribution & Filtering When to Redistribute and Filter PAN-OS 5.0 Revision B 2013, Palo Alto Networks, Inc. www.paloaltonetworks.com Contents Overview... 3 Route Redistribution......
Load balancing and traffic control in BGP
DD2491 p2 2011 Load balancing and traffic control in BGP Olof Hagsand KTH CSC 1 Issues in load balancing Load balancing: spread traffic on several paths instead of a single. Why? Use resources better Can
ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1
IP Routing Primer Paul C. Huang, Ph.D. ITRI / / N300 /N300; Paul Huang 1999/6/2 1 Basic Addressing / Subnetting Class A 0 Network Host Host Host 127 networks / 16,777,216 hosts Class A natural mask 255.0.0.0
CS335 Sample Questions for Exam #2
CS335 Sample Questions for Exam #2.) Compare connection-oriented with connectionless protocols. What type of protocol is IP? How about TCP and UDP? Connection-oriented protocols Require a setup time to
Routing and traffic measurements in ISP networks
Routing and traffic measurements in ISP networks Steve Uhlig Network Architectures and Services Delft University of Technology Email : [email protected] URL : http://www.nas.ewi.tudelft.nl/people/steve/
KT The Value Networking Company
KT The Value Networking Company IRIMS (Internet Routing Information Management System) 2005. 9 Y.D. KIM, G.E.KIM, C.K.Hwang, J.H.YOO (webman, gekim, ckhwang, styoo@kt kt.co..co.kr) Abstract An AS (Autonomous
Network layer: Overview. Network layer functions IP Routing and forwarding
Network layer: Overview Network layer functions IP Routing and forwarding 1 Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every host, router application
IP - The Internet Protocol
Orientation IP - The Internet Protocol IP (Internet Protocol) is a Network Layer Protocol. IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network
6.02 Practice Problems: Routing
1 of 9 6.02 Practice Problems: Routing IMPORTANT: IN ADDITION TO THESE PROBLEMS, PLEASE SOLVE THE PROBLEMS AT THE END OF CHAPTERS 17 AND 18. Problem 1. Consider the following networks: network I (containing
Network Measurement. Why Measure the Network? Types of Measurement. Traffic Measurement. Packet Monitoring. Monitoring a LAN Link. ScienLfic discovery
Why Measure the Network? Network Measurement Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101 ScienLfic discovery Characterizing traffic, topology, performance Understanding
Ausgewählte Kapitel der Rechnernetze
Ausgewählte Kapitel der Rechnernetze Komplexe, große Internetze bauen Routing Routing-Protokolle Distance-Vector Link-State Goal: Build Large Networks How to implement a Very Large Network? Flooding clearly
IP Routing Configuring RIP, OSPF, BGP, and PBR
13 IP Routing Configuring RIP, OSPF, BGP, and PBR Contents Overview..................................................... 13-6 Routing Protocols.......................................... 13-6 Dynamic Routing
BGP Basics. BGP Uses TCP 179 ibgp - BGP Peers in the same AS ebgp - BGP Peers in different AS's. 64512-65535 Private BGP ASN. BGP Router Processes
BGP Basics BGPv4 - RFC 4271 - IPv6 support Path vector routing protocol EGP Routing between AS'es Classless Transit Area - Area used to reach other areas. Requires full routing table (no default routes).
Lesson 5-3: Border Gateway Protocol
Unit 5: Intradomain and Interdomain Protocols Lesson 5-3: Gateway Protocol At a Glance The Gateway Protocol (BGP) is an interdomain routing protocol used in TCP/IP internetworks. BGP was created to allow
The goal of this lecture is to explain how routing between different administrative domains
Copyright Hari Balakrishnan, 2001-2005, and Nick Feamster, 2005. All rights reserved. Please do not redistribute without permission. LECTURE 4 Interdomain Internet Routing The goal of this lecture is to
Internet Protocol: IP packet headers. vendredi 18 octobre 13
Internet Protocol: IP packet headers 1 IPv4 header V L TOS Total Length Identification F Frag TTL Proto Checksum Options Source address Destination address Data (payload) Padding V: Version (IPv4 ; IPv6)
