DOC PREVIEW
CMU 15441 Computer Networking - Inter-Domain Routing

This preview shows page 1-2-3-18-19-36-37-38 out of 38 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 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 38 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 38 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 38 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 38 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 38 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 38 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 38 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

15-441 Computer NetworkingImportant Lessons From Last LectureRouting ReviewOutlineA Logical View of the Internet?Routing HierarchiesAreasRouting HierarchyArea Hierarchy AddressingPath Sub-optimalitySlide 11Slide 12Internet’s Area HierarchyAS Numbers (ASNs)ExampleSlide 16A Logical View of the InternetTransit vs. PeeringPolicy ImpactSlide 20HistoryChoicesSolution: 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 35Decision ProcessInternal vs. External BGPImportant Concepts15-441 Computer NetworkingInter-Domain RoutingBGP (Border Gateway Protocol)Copyright ©, 2007-10 Carnegie Mellon University2Important Lessons From Last Lecture•Every router needs to be able to forward towards any destination•Forwarding table must be complete•Can rely on friends to tell you how to get there (DV)•Can get an entire map of the network (LS)•Key challenges•What if a router fails or is added?  need to inform everyone•Soft-state recovery•What if people have inconsistent/different views?•Loops, count to infinity3Routing Review•The Story So Far… •IP forwarding requires next-hop information•Routing protocols generate the forwarding table•Two styles: distance vector, link state•Scalability issues: •Distance vector protocols suffer from count-to-infinity•Link state protocols must flood information through network•Today’s lecture•How to make routing protocols support large networks•How to make routing protocols support business policies4Outline•Routing hierarchy•Internet structure•External BGP (E-BGP)5A 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!6Routing Hierarchies•Flat routing doesn’t scale•Storage  Each node cannot be expected to store routes to every destination (or destination network)•Convergence times increase•Communication  Total message count increases•Key observation•Need less information with increasing distance to destination•Need lower diameters networks•Solution: area hierarchy7Areas•Divide network into areas•Areas can have nested sub-areas•Hierarchically address nodes in a network•Sequentially number top-level areas•Sub-areas of area are labeled relative to that area•Nodes are numbered relative to the smallest containing area8Routing Hierarchy•Partition Network into “Areas”•Within area•Each node has routes to every other node•Outside area•Each node has routes for other top-level areas only•Inter-area packets are routed to nearest appropriate border router•Constraint: no path between two sub-areas of an area can exit that areaBackbone AreasLower-level AreasArea-BorderRouter9Area Hierarchy Addressing1 231.11.22.12.23.13.22.2.12.2.21.2.11.2.210Path Sub-optimality1 231.11.22.12.23.13.22.2.13 hop red pathvs.2 hop green pathstartend3.2.11.2.1•Can result in sub-optimal paths11Outline•Routing hierarchy•Internet structure•External BGP (E-BGP)12A 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!13Internet’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 exchanges14AS 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 use15Example1 231.11.22.12.23.13.22.2.144.14.255.15.2EGPIGPEGPEGPIGPIGPIGPIGPEGPEGP16A Logical View of the Internet?RRRR R•RIP/OSPF not very scalable  area hierarchies•NOT TRUE EITHER!•ISP’s aren’t equal•Size•ConnectivityISPISP17A 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•LocalCustomerProvider18Transit vs. PeeringISP XISP YISP ZISP PTransit ($$)Transit ($$$)Transit ($$ 1/2)Transit ($$)PeeringTransit ($$$)Transit ($)Transit ($$)Transit ($$$)19Policy 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 situation20Outline•Routing hierarchy•Internet structure•External BGP (E-BGP)21History•Mid-80s: EGP•Reachability protocol (no shortest path)•Did not accommodate cycles (tree topology)•Evolved when all networks connected to NSF backbone•Result: BGP introduced as routing protocol•Latest version = BGP 4•BGP-4 supports CIDR•Primary objective: connectivity not performance22Choices•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’s23Solution: 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 loops24Interconnecting 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 load25Hop-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


View Full Document

CMU 15441 Computer Networking - Inter-Domain Routing

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

lecture

lecture

27 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 Inter-Domain Routing
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 Inter-Domain Routing 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 Inter-Domain Routing 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?