| 리포트 | 기술문서 | 테크-블로그 | 글로벌 블로그 | 원샷 갤러리 | 통신 방송 통계  | 한국 ICT 기업 총람 |

제품 검색

| 네트워크/통신 뉴스 | 기술자료실 | 자유게시판 |  
 
 
섹션 5G 4G LTE C-RAN/Fronthaul Gigabit Internet IPTV/UHD IoT SDN/NFV Wi-Fi Video Streaming KT SK Telecom LG U+ OTT Network Protocol CDN YouTube Data Center
 
스폰서채널 |  안리쓰 계측기   Home  |  IoT  |  5G  |  Automotive  |  자료실  동영상  |  UE 개발용 무선통신분석기 MT8821C  | 주요제품보기   스폰서채널 서비스란?
banner
banner
BGP (Border Gateway Protocol) 상세 동작 원리
BGP (Border Gateway Protocol) Detailed Principles of Operation
By Netmanias (tech@netmanias.com)
banner
코멘트 (7)
26

최강웅 2011-10-09 20:38:10
좋습니다
김상국 2013-01-12 15:23:09
bgp 관련 다른 자료보다 개념정리와 구체적인 사례와 간단 명료하여 좋았습니다...
richard song 2013-10-12 07:12:17
아주 좋은 자료입니다. 정리가 많이 되네요.
김영민 2015-01-12 17:18:51

공부 하는데 많은 도움이 되었습니다.

좋은 자료 감사합니다~

다니엘리 2015-08-26 10:43:37

감사합니다. 

정시운 2018-09-21 08:56:57

PDF 파일 받을수 있을까요

넷매니아즈 2018-09-30 15:58:13

로그인 후 좌측에 "Download PDF File"을 클릭하시면 다운로드 가능합니다.

Thank you for visiting Netmanias! Please leave your comment if you have a question or suggestion.
Transcript
Netmanias 기술문서: BGP(Border Gateway Protocol)상세동작원리

BGP(Border Gateway Protocol)상세동작원리
2010년7월10일
NMC Consulting Group(tech@netmanias.com)

2
Contents
1. BGP Overview
1.1 BGP Overview
1.2 Routing Algorithm of BGP
1.3 eBGPvs. iBGP
2. BGP Parameter
2.1 BGP Session Type
2.2 BGP 상태변화
2.3 BGP Message 송수싞젃차
2.4 BGP Attributes
2.5 Route-Reflector
2.6 동일한BGP 경로수싞시Best 경로선택순서
2.7 Route Selection among various Routing Protocol
2.8 Synchronization vs. No Synchronization
2.9 Route Flap Dampening
3. Filter
3.1 Distribute-List
3.2 Prefix-List
3.3 Filter-List
4. Route-Map
5. BGP Convergence
5.1 BGP Timer
5.2 Graceful Restart

3
1. BGP Overview
1.1  BGP Overview
1.2  Routing Algorithm of BGP
1.3  eBGP vs. iBGP

4
1.1 BGPOverview (1/5)
Access Router
Border Router
Core Router

5
1.1 BGPOverview .Capacity (2/5)

6
1.1 BGPOverview .Demarcation Point (3/5)
맊약에맊약에, AS갂에OSPF로연동했다면.AS 내부의Topology Change가LSA Flooding을통해다른AS로젂달.타AS내의SPF Calculation을유발.서로영향을끼침
반면, BGP는? .Topology 정보(Link state info)없이Network Prefix맊AS 갂에젂달

7
1.1 BGPOverview .Administration (4/5)

8
1.1 BGPOverview .eBGP vs iBGP (5/5)

9
1.2 Routing Algorithm of BGP
.Route entry가AS들갂에교홖됨
.각Route entry는하나의AS를거칠때마다AS number가덧붙여짐
.이AS-Path의길이가짧은경로를Best Path로선택하여Routing Table에install함
.이상은기본Path-Vector algorithm에대한설명일뿐, 실제로는다양한parameter가정의되어있어AS-Path 이외의맋은사항을고려하여Best Path를판정함

10
1.3 eBGPvs. iBGP
.서로다른AS갂의BGP session .external BGP
.동일AS 내의BGP router 갂의BGP session .internal BGP
AS 101
AS 102
AS 100
eBGP
eBGP
iBGP
10.0.0.0/8
AS100
10.0.0.0/8
10.0.0.0/8
10.0.0.0/8
AS100
10.0.0.0/8
AS101
AS100

11
2. BGP Parameter
2.1  BGP Session Type
2.2  BGP 상태변화
2.3  BGP Message 송수싞젃차
2.4  BGP Attributes
2.5  Route-Reflector
2.6  Route Selection among various Routing Protocol
2.7  Synchronization vs No Synchronization
2.8  Route Flap Dampening

12
2.1 BGP Session Type .IBGP 연결

13
2.1 BGP Session Type .EBGP 연결

14
2.2 BGP 상태변화

15
2.3 BGP Message 송수신절차

16
2.4 BGP Attributes

17
2.4.1 BGP Attributes .Weight값을이용한Packet경로변경

18
2.4.2 BGP Attributes .Local Preference 값을이용한Packet경로변경

19
2.4.3 BGP Attributes .AS-PATH를이용한Packet경로변경

20
2.4.4 BGP Attributes .Origin값을이용한Packet경로변경

21
2.4.5 BGP Attributes -MED값을이용한Packet경로변경

22
2.4.6 기타BGP Attributes .Atomic Aggregate & Aggregator (1)

23
2.4.6 기타BGP Attributes .Atomic Aggregate & Aggregator (2)

24
2.4.7 기타BGP Attributes .Next-Hop

25
2.4.7 BGP Nexthop
.eBGPpeer에게NLRI를보낼때, Next-hop Attribute에자싞의interface address를씀
.iBGPpeer에게젂달할때에는Next-hop을변경하지않고그대로보냄
.수싞한BGP NLRI는, nexthopaddress가IGP routing table에서reachable하여야맊유효하다.
.그런데, 아래예와같이Nexthopaddress가unreachable하면Routing Fail
.AS100~AS101 갂의physical link의address가AS101 내에서OSPF로advertise되지않은경우임
.해결책은? (Next page)
AS 101
AS 102
AS 100
eBGP
eBGP
iBGP
192.168.0.0/16
192.168.0.0/16
10.0.0.0/30
0.1
0.2
20.0.0.0/30
0.1
0.2
AS100
192.168.0.0/16, NH=10.0.0.1
192.168.0.0/16, NH=20.0.0.1
AS101
AS100
AS100
192.168.0.0/16, NH=10.0.0.1
I can’t reach Nexthop 10.0.0.1
Not advertised ‘cause NH 10.0.0.1 is unreachable

26
2.4.7 BGP Nexthop  (cont)
AS 101
AS 102
AS 100
eBGP
eBGP
iBGP
192.168.0.0/16
192.168.0.0/16
10.0.0.0/30
0.1
0.2
20.0.0.0/30
0.1
0.2
AS100
192.168.0.0/16, NH=10.0.0.1
192.168.0.0/16, NH=20.0.0.1
AS101
AS100
AS100
192.168.0.0/16, NH=10.0.0.1
I have OSPF route to Nexthop 10.0.0.1
OSPF passive
Configure eBGP link as OSPF “passive interface” to advertise into OSPF domain
1

27
2.4.7 BGP Nexthop  (cont)
AS 101
AS 102
AS 100
eBGP
eBGP
iBGP
192.168.0.0/16
192.168.0.0/16
10.0.0.0/30
0.1
0.2
20.0.0.0/30
0.1
0.2
AS100
192.168.0.0/16, NH=10.0.0.1
192.168.0.0/16, NH=20.0.0.1
AS101
AS100
AS100
192.168.0.0/16, NH=1.1.1.1
I have OSPF route to Nexthop 1.1.1.1
Next-hop-self
Configure “next-hop-self” on ASBR to replace BGP-Nexthopattribute with its own RID
2
RID 1.1.1.1
RID 1.1.1.2

28
2.5.1 Route-Reflector

29
2.5.2 Route-Reflector .Loop 방지기법

30
2.6 Route Selection among various Routing Protocol
How Route Is Learned
Default Preference

Directly connected network
0

System routes
4

Static
5

MPLS
7

LDF
8

LDP
9

OSPF internal route
10

IS-IS Level 1 internal route
15

IS-IS Level 2 internal route
18

Default
20

Redirects
30

Kernel
40

SNMP
50

Router Discovery
55

RIP
100

RIPng
100

PIM
105

DVMRP
110

Routes to interfaces that are down
120

Aggregate
130

OSPF AS external routes
150

IS-IS Level 1 external route
160

IS-IS Level 2 external route
165

BGP
170

MSDP
175

Administrative Distance (Cisco)
Routing Protocol Preference (Juniper)
AD값, Preference값이작은것을우선시한다.

31
2.8 Synchronization 기능(1)

32
2.8 Synchronization 기능(2)

33
2.8 Synchronization 기능(3)

34
2.9 Route Flap Dampening

35
3. Filter
3.1  Distribute-List
3.2  Prefix-List
3.3  Filter-List

36
3.1 Distribute-List

37
3.2 Prefix-List

38
3.3 Filter-List

39
4. Route-Map

40
4.1 Route-Map 설명

41
5. BGP Convergence
5.1  BGP Timer
5.2  Graceful Restart

42
5.1 BGP Timer

43
5.2 Graceful Restart (1)

44
5.2 Graceful Restart (2)

45
References
.Russ White, Danny McPherson, SrihariSangli. Practical BGP. Addison Wesley, 2005
.John W. Stewart III. BGP4(Inter-Domain Routing in the Internet). Addison Wesley, 1999
.Jeff Doyle, Jennifer DeHavenCarroll. Routing TCP/IP Volume II. Cisco Press, 2001
.Randy Zhang, Micah Bartell. BGP Design and Implementation. Cisco  Press, 2004
.Iljitschvan Beijnum. BGP. O’REILLY, 2002
.Y. Rekhter, T. Li, S. Hares. A Border Gateway Protocol 4 (BGP-4). RFC 4271, 2006
.http://www.cisco.com
.http://www.juniper.net

46
End of Document
Related Contents
12/05/2010
Netmanias Technical Documents
12/10/2009
Netmanias Technical Documents
12/20/2006
Netmanias Technical Documents

 

 

     
         
     

 

     
     

넷매니아즈 회원 가입 하기

2018년 1월 현재 넷매니아즈 회원은 49,000+분입니다.

 

넷매니아즈 회원 가입을 하시면,

► 넷매니아즈 신규 컨텐츠 발행 소식 등의 정보를

   이메일 뉴스레터로 발송해드립니다.

► 넷매니아즈의 모든 컨텐츠를 pdf 파일로 다운로드

   받으실 수 있습니다. 

     
     

 

     
         
     

 

 

비밀번호 확인
코멘트 작성시 등록하신 비밀번호를 입력하여주세요.
비밀번호