Lab Course “RouterLab”
BGP - Border Gateway Protocol (RFC 4271)
1 Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
Lab Course RouterLab BGP - Border Gateway Protocol (RFC 4271) - - PowerPoint PPT Presentation
Lab Course RouterLab BGP - Border Gateway Protocol (RFC 4271) Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf 1 Miscellaneous Anything that needs discussion? BGP 2 Miscellaneous Anything
BGP - Border Gateway Protocol (RFC 4271)
1 Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
BGP
2
BGP
2
BGP
3
BGP
routes for all destinations that I know and you tell me yours.
topology from local perspective
4
about my links and the addresses I originate on each link and listen to everyoneʼs announcement.
BGP
5
BGP
6
BGP
7
OSPF IS-IS/OSPF RIP/OSPF RIP/OSPF RIP/OSPF OSPF IS-IS RIP RIP/OSPF
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
So simple that to have full knowledge you should read 15 RFCs (~400 Pages!)
■ RFC 4271, A Border Gateway Protocol 4 (BGP-4) ■ RFC 4456, BGP Route Reflection - An Alternative to Full Mesh Internal BGP (IBGP) ■ RFC 4278, Standards Maturity Variance Regarding the TCP MD5 Signature Option (RFC 2385) and the BGP-4 Specification ■ RFC 4277, Experience with the BGP-4 Protocol ■ RFC 4276, BGP-4 Implementation Report ■ RFC 4275, BGP-4 MIB Implementation Survey ■ RFC 4274, BGP-4 Protocol Analysis ■ RFC 4273, Definitions of Managed Objects for BGP-4 ■ RFC 4272, BGP Security Vulnerabilities Analysis ■ RFC 3392, Capabilities Advertisement with BGP-4 ■ RFC 5065, Autonomous System Confederations for BGP ■ RFC 2918, Route Refresh Capability for BGP-4 ■ RFC 1772, Application of the Border Gateway Protocol in the Internet Protocol (BGP-4) using SMIv2 ■ RFC 4893, BGP Support for Four-octet AS Number Space
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
AS-Path, which is a variation of the Distance-Vector Algorithm. Guess what: it still doesn’t scale!!!
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
Consequence of the Distance-Vector Algorithm.
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
BGP sessions are statically set up and manually managed, is this “limited inter- SP” coordination? Well.... they can do dirty things in the route selection process without the need to talk to each other! (You will do it in the worksheet)
BGP
8
! Simple protocol to implement and
! Very simple distance metric ! Occludes local policies from external
inspection
! Limited inter-SP coordination required ! Mature deployment
Source: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf
On this they are right! It is the “De Facto” Standard.
BGP
ASes
business relationship (customer-provider model, peering)
attributes:
9
BGP
10
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8
BGP
10
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8 AS7 10.0.0.0/8 AS7
10.0.0.0/8
BGP
10
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8 AS7 10.0.0.0/8 AS7 10.0.0.0/8 AS2 AS7 10.0.0.0/8 AS3 AS7
10.0.0.0/8
10.0.0.0/8 AS2 AS7
BGP
10
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8 AS7 10.0.0.0/8 AS7 10.0.0.0/8 AS2 AS7 10.0.0.0/8 AS3 AS7 10.0.0.0/8 AS1 AS2 AS7
10.0.0.0/8
10.0.0.0/8 AS2 AS7
BGP
10
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8 AS7 10.0.0.0/8 AS7 10.0.0.0/8 AS2 AS7 10.0.0.0/8 AS3 AS7 10.0.0.0/8 AS1 AS2 AS7
Prefix AS Path * 10.0.0.0/8 AS3 AS7 10.0.0.0/8 AS1 AS2 AS7
10.0.0.0/8
10.0.0.0/8 AS2 AS7
BGP
11
BGP
12
BGP
connection
13
BGP
14
BGP
AS pair
15
BGP
16
BGP
17
RIP/OSPF RIP/OSPF RIP/OSPF Prefix AS Path * 10.0.0.0/8 AS3 AS7 10.0.0.0/8 AS1 AS2 AS7
10.0.0.0/8
BGP
17
RIP/OSPF RIP/OSPF RIP/OSPF Prefix AS Path * 10.0.0.0/8 AS3 AS7 10.0.0.0/8 AS1 AS2 AS7
10.0.0.0/8
Prefix AS Path LP 10.0.0.0/8 AS3 AS7 10 * 10.0.0.0/8 AS1 AS2 AS7 20
BGP
18
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8
Prefix AS Path LP 10.0.0.0/8 AS3 AS7 10 * 10.0.0.0/8 AS1 AS2 AS7 20
Customer- Provider Peering
BGP
19
RIP/OSPF RIP/OSPF RIP/OSPF
10.0.0.0/8 MED 10 11.0.0.0/8 MED 20 AS2 10.0.0.0/8 MED 20 11.0.0.0/8 MED 10 AS2
10.0.0.0/8 11.0.0.0/8
BGP
20
BGP
21
BGP
21
BGP
22
BGP
23
BGP
in the same way as for OSPF)
24
BGP
25
BGP
26