DOC PREVIEW
CMU 15441 Computer Networking - lecture

This preview shows page 1-2-3-25-26-27 out of 27 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

15-441 Computer NetworkingOutlineA Logical View of the Internet?Internet’s Area HierarchyAS Numbers (ASNs)ExampleSlide 7A Logical View of the InternetTransit vs. PeeringPolicy ImpactSlide 11ChoicesSolution: Distance Vector with PathInterconnecting BGP PeersHop-by-hop ModelExamples of BGP PoliciesBGP MessagesBGP UPDATE MessagePath Selection CriteriaLOCAL PREFLOCAL PREF – Common UsesAS_PATHMulti-Exit Discriminator (MED)MEDSlide 25Decision ProcessImportant Concepts15-441 Computer NetworkingLecture 10: Inter-Domain RoutingBGP (Border Gateway Protocol)These slides proudly ripped from Srini Seshan and Dave Anderson, 15-441 F’06Outline•Internet Structure/Routing Hierarchy•External BGP (E-BGP)•Internal BGP (I-BGP)A Logical View of the Internet?RRRR R•After looking at RIP/OSPF descriptions•End-hosts connected to routers•Routers exchange messages to determine connectivity•NOT TRUE!Internet’s Area Hierarchy•What is an Autonomous System (AS)?•A set of routers under a single technical administration, using an interior gateway protocol (IGP) and common metrics to route packets within the AS and using an exterior gateway protocol (EGP) to route packets to other AS’s•Each AS assigned unique ID•AS’s peer at network exchangesAS Numbers (ASNs)ASNs are 16 bit values 64512 through 65535 are “private”•Genuity: 1 •MIT: 3•CMU: 9•UC San Diego: 7377•AT&T: 7018, 6341, 5074, … •UUNET: 701, 702, 284, 12199, …•Sprint: 1239, 1240, 6211, 6242, …•…ASNs represent units of routing policyCurrently over 15,000 in useExample1 231.11.22.12.23.13.22.2.144.14.255.15.2EGPIGPEGPEGPIGPIGPIGPIGPEGPEGPA Logical View of the Internet?RRRR R•RIP/OSPF not very scalable  area hierarchies•NOT TRUE EITHER!•ISP’s aren’t equal•Size•ConnectivityISPISPA Logical View of the InternetTier 1 Tier 1Tier 2Tier 2Tier 2Tier 3•Tier 1 ISP•“Default-free” with global reachability info•Tier 2 ISP•Regional or country-wide•Tier 3 ISP•LocalCustomerProviderTransit vs. PeeringISP XISP YISP ZISP PTransit ($$)Transit ($$$)Transit ($$ 1/2)Transit ($$)PeeringTransit ($$$)Transit ($)Transit ($$)Transit ($$$)Policy Impact•“Valley-free” routing•Number links as (+1, 0, -1) for provider, peer and customer•In any path should only see sequence of +1, followed by at most one 0, followed by sequence of -1•WHY?•Consider the economics of the situationOutline•Internet Structure/Routing Hierarchy•External BGP (E-BGP)•Internal BGP (I-BGP)Choices•Link state or distance vector?•No universal metric – policy decisions•Problems with distance-vector:•Bellman-Ford algorithm may not converge•Problems with link state:•Metric used by routers not the same – loops•LS database too large – entire Internet•May expose policies to other AS’sSolution: Distance Vector with Path•Each routing update carries the entire path•Loops are detected as follows:•When AS gets route, check if AS already in path•If yes, reject route•If no, add self and (possibly) advertise route further•Advantage:•Metrics are local - AS chooses path, protocol ensures no loopsInterconnecting BGP Peers•BGP uses TCP to connect peers•Advantages:•Simplifies BGP•No need for periodic refresh - routes are valid until withdrawn, or the connection is lost•Incremental updates•Disadvantages•Congestion control on a routing protocol?•Poor interaction during high loadHop-by-hop Model•BGP advertises to neighbors only those routes that it uses•Consistent with the hop-by-hop Internet paradigm•e.g., AS1 cannot tell AS2 to route to other AS’s in a manner different than what AS2 has chosen (need source routing for that)•BGP enforces policies by choosing paths from multiple alternatives and controlling advertisement to other AS’sExamples of BGP Policies•A multi-homed AS refuses to act as transit•Limit path advertisement•A multi-homed AS can become transit for some AS’s•Only advertise paths to some AS’s•An AS can favor or disfavor certain AS’s for traffic transit from itselfBGP Messages•Open•Announces AS ID•Determines hold timer – interval between keep_alive or update messages, zero interval implies no keep_alive•Keep_alive•Sent periodically (but before hold timer expires) to peers to ensure connectivity.•Sent in place of an UPDATE message•Notification•Used for error notification•TCP connection is closed immediately after notificationBGP UPDATE Message•List of withdrawn routes•Network layer reachability information•List of reachable prefixes•Path attributes•Origin•Path•Metrics•All prefixes advertised in message have same path attributesPath Selection Criteria•Attributes + external (policy) information•Examples:•Hop count•Policy considerations•Preference for AS•Presence or absence of certain AS•Path origin•Link dynamicsLOCAL PREF•Local (within an AS) mechanism to provide relative priority among BGP routers (e.g. R3 over R4) R1 R2R3 R4I-BGPAS 256AS 300Local Pref = 500 Local Pref = 800AS 100R5AS 200LOCAL PREF – Common Uses•Peering vs. transit•Prefer to use peering connection, why?•In general, customer > peer > provider•Use LOCAL PREF to ensure thisAS_PATH•List of traversed AS’sAS 500AS 300AS 200 AS 100180.10.0.0/16 300 200 100170.10.0.0/16 300 200170.10.0.0/16 180.10.0.0/16Multi-Exit Discriminator (MED)•Hint to external neighbors about the preferred path into an AS •Non-transitive attribute •Different AS choose different scales•Used when two AS’s connect to each other in more than one placeMED•Hint to R1 to use R3 over R4 link•Cannot compare AS40’s values to AS30’sR1 R2R3 R4AS 30AS 40180.10.0.0MED = 120180.10.0.0MED = 200AS 10180.10.0.0MED = 50MED•MED is typically used in provider/subscriber scenarios•It can lead to unfairness if used between ISP because it may force one ISP to carry more traffic:SFNY•ISP1 ignores MED from ISP2•ISP2 obeys MED from ISP1•ISP2 ends up carrying traffic most of the wayISP1ISP2Decision Process•Processing order of attributes:•Select route with highest LOCAL-PREF•Select route with shortest AS-PATH•Apply MED (if routes learned from same neighbor)Important Concepts•Wide area Internet structure and routing driven by economic considerations•Customer, providers and peers•BGP designed to:•Provide hierarchy that allows scalability•Allow enforcement of policies related to structure•Mechanisms•Path vector –


View Full Document

CMU 15441 Computer Networking - lecture

Documents in this Course
Lecture

Lecture

14 pages

Lecture

Lecture

19 pages

Lecture

Lecture

14 pages

Lecture

Lecture

78 pages

Lecture

Lecture

35 pages

Lecture

Lecture

4 pages

Lecture

Lecture

4 pages

Lecture

Lecture

29 pages

Lecture

Lecture

52 pages

Lecture

Lecture

40 pages

Lecture

Lecture

44 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

13 pages

Lecture

Lecture

47 pages

Lecture

Lecture

49 pages

Lecture

Lecture

7 pages

Lecture

Lecture

18 pages

Lecture

Lecture

15 pages

Lecture

Lecture

74 pages

Lecture

Lecture

35 pages

Lecture

Lecture

17 pages

lecture

lecture

13 pages

Lecture

Lecture

21 pages

Lecture

Lecture

14 pages

Lecture

Lecture

53 pages

Lecture

Lecture

52 pages

Lecture

Lecture

40 pages

Lecture

Lecture

11 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

10 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

lecture

lecture

11 pages

lecture

lecture

7 pages

Lecture

Lecture

10 pages

lecture

lecture

46 pages

lecture

lecture

7 pages

Lecture

Lecture

8 pages

lecture

lecture

55 pages

lecture

lecture

45 pages

lecture

lecture

47 pages

lecture

lecture

39 pages

lecture

lecture

33 pages

lecture

lecture

38 pages

lecture

lecture

9 pages

midterm

midterm

16 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

46 pages

Lecture

Lecture

8 pages

Lecture

Lecture

40 pages

Lecture

Lecture

11 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

9 pages

Lab

Lab

3 pages

Lecture

Lecture

53 pages

Lecture

Lecture

51 pages

Lecture

Lecture

38 pages

Lecture

Lecture

42 pages

Lecture

Lecture

49 pages

Lecture

Lecture

63 pages

Lecture

Lecture

7 pages

Lecture

Lecture

51 pages

Lecture

Lecture

35 pages

Lecture

Lecture

29 pages

Lecture

Lecture

65 pages

Lecture

Lecture

47 pages

Lecture

Lecture

41 pages

Lecture

Lecture

41 pages

Lecture

Lecture

32 pages

Lecture

Lecture

35 pages

Lecture

Lecture

15 pages

Lecture

Lecture

52 pages

Lecture

Lecture

16 pages

Lecture

Lecture

4 pages

lecture04

lecture04

46 pages

Lecture

Lecture

46 pages

Lecture

Lecture

13 pages

lecture

lecture

41 pages

lecture

lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

Lecture

Lecture

38 pages

lecture

lecture

11 pages

Lecture

Lecture

42 pages

Lecture

Lecture

12 pages

Lecture

Lecture

36 pages

Lecture

Lecture

46 pages

Lecture

Lecture

35 pages

Lecture

Lecture

34 pages

Lecture

Lecture

9 pages

lecture

lecture

49 pages

class03

class03

39 pages

Lecture

Lecture

8 pages

Lecture 8

Lecture 8

42 pages

Lecture

Lecture

20 pages

lecture

lecture

29 pages

Lecture

Lecture

9 pages

lecture

lecture

46 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

41 pages

Lecture

Lecture

37 pages

lecture

lecture

59 pages

Lecture

Lecture

47 pages

Lecture

Lecture

34 pages

Lecture

Lecture

38 pages

Lecture

Lecture

28 pages

Exam

Exam

17 pages

Lecture

Lecture

21 pages

Lecture

Lecture

15 pages

Lecture

Lecture

9 pages

Project

Project

20 pages

Lecture

Lecture

40 pages

L13b_Exam

L13b_Exam

17 pages

Lecture

Lecture

48 pages

Lecture

Lecture

10 pages

Lecture

Lecture

52 pages

21-p2p

21-p2p

16 pages

lecture

lecture

77 pages

Lecture

Lecture

18 pages

Lecture

Lecture

62 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

Project

Project

20 pages

Lecture

Lecture

47 pages

Lecture

Lecture

38 pages

Lecture

Lecture

35 pages

Roundup

Roundup

45 pages

Lecture

Lecture

47 pages

Lecture

Lecture

39 pages

Lecture

Lecture

13 pages

Midterm

Midterm

22 pages

Project

Project

26 pages

Lecture

Lecture

11 pages

Project

Project

27 pages

Lecture

Lecture

10 pages

Lecture

Lecture

50 pages

Lab

Lab

9 pages

Lecture

Lecture

30 pages

Lecture

Lecture

6 pages

r05-ruby

r05-ruby

27 pages

Lecture

Lecture

8 pages

Lecture

Lecture

28 pages

Lecture

Lecture

30 pages

Project

Project

13 pages

Lecture

Lecture

11 pages

Lecture

Lecture

12 pages

Lecture

Lecture

48 pages

Lecture

Lecture

55 pages

Lecture

Lecture

36 pages

Lecture

Lecture

17 pages

Load more
Download lecture
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view lecture and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view lecture 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?