码迷,mamicode.com
首页 > 其他好文 > 详细

BGP

时间:2015-07-12 12:36:01      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:

  Interior Gateway Protocol Exterior Gateway Protocols
  Distance Vector Link-State Path Vector
IPv4 RIPv2 EIGRP OSPFv2 IS-IS BGP-4
IPv6 RIPng EIGRP for IPv6 OSPFv3 IS-IS For IPv6 BGP-MP

1. Who needs BGP?

Exterior routing protocols are used to route between autonomous systems

A Single-Homed Autonomous System (1 link per ISP, 1 ISP)

技术分享

 

 

技术分享

 

技术分享

 

 

技术分享

Do not use BGP within the AS in the following situations

  • There is only a single connection to the Internet or other AS.
  • Internet routing policy and route selection are not of concern to the AS.
  • The BGP routers have insufficient RAM or processor power to handle constant updates.
  • There is limited understanding of route filtering and the BGP path selection process.
  • Low bandwidth link between autonomous systems
  • In Figure , router A is advertising a default network into the AS through a local IGP, such as RIP. A static route affords connectivity through router B to the AS for the ISP. The ISP is running BGP and is recognized by other BGP routers in the Internet.

 

 

2. BGP Basis Operation (RFC 1772)

The Border Gateway Protocol(BGP) is an inter-autonomous System routing protocol.

BGP forms a unique, unicast-based connection to each of its BGP-speaking peers.
BGP runs over a reliable transport protocol. BGP uses TCP port 179.

 

BGP does not show the details of the topologies within each AS. Because BGP sees only a tree of autonomous systems, it can be said that BGP takes a higher view of the Internet than IGP, which sees only the topology within an AS. And because this higher view is not really compatible with the view seen by IGPs, Cisco routers maintain a separate routing table to hold BGP routes.   // show ip bgp

 

Autonomous System(自治系统):a set of routers under a single technical administration, using an interior gateway protocol and common metrics to route packets within the AS, and using an exterior gateway protocol to route packets to other AS.   RFC 5398

值域范围

用途

0

保留

1 - 64495

IANA可分配给公用

64496 - 64511

保留供文档中使用

64512 - 65534

私用

65535

保留

 

How BGP works

技术分享

 

BGP

标签:

原文地址:http://www.cnblogs.com/elewei/p/4640716.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!