Introduction to BGP (1)

1. Border Gateway Protocol advertises , learns , and choosed the best paths inside the global Internet.When two ISPs connect , they typically use BGP to exchanges routing information. Enterprises sometimes use BGP to exchange routing information with one or more ISPs, allowing the enterprise routers to learn Internet routes.

2. BGP uses the robust best-path algorithm to choose the best BGP path(route) using rules that extend far beyond just choosing the route with the lowest metric.

3. BGP does establish a neighbor relationship before exchanging topology information with a neighboring router. BGP does not require neighbors to be attached to the same subnet. BGP routes use a TCP connection (port 179) between the routers to pass BGP messages, allowing neighboring routers to be on the same subnet or to be separated by several routers .

4. Instead of choosing the best route just by using an interger metric , BGP uses a more complex process , using a variety of information , called BGP path attributes (PAs), which are exchanged in BGP routing updates much like IGP metric information.

5. The integer BGP ASN uniquely identifies one organization that considers itself autonomous from other organization. Each company whose enterprise network connects to the Internet can be considered to be an autonomous system and can be assigned a BGP ASN. (IANA/ICANN also assigns globally unique ASNs) Additionally , each ISP has an ASN , or possibly several , depending on the size of the ISP.

6. BGP uses the AS_PATH to perform two key functions : Choose the best route for a prefix based on the shortest AS_PATH (fewest number of ASNs listed). ; Prevent routing loops.

7. BGP routers prevent routing loops using the ASNs listed in the AS_PATH , When a BGP router receives an update , and a route advertisement lists an AS_PATH with its own ASN , the router ignores that route . This is because the route has route already been advertised through the local ASN; to believe the route and then advertise it further might cause routing loops.

8. A BGP router behaves differently in several ways depending on whether the peer is an iBGP or eBGP peer . The differences include different rules about what must be true before the two routers can become neighbors , differnet rules about which routes the BGP best-path algorithm chooses as best , and even some different rules about how the routers update the BGP AS_PATH PA.

9. 16-bit ASN Assignment Categories from IANA

  0             Reserved

  1---64495        Assignable by IANA for public use

  64496---64511    Reserved for use in documentation

  64512---65534    private use

  65535          Reserved

时间: 2024-10-07 07:54:15

Introduction to BGP (1)的相关文章

Spring AOP之Introduction(@DeclareParents)简介

Spring的文档上对Introduction这个概念和相关的注解@DeclareParents作了如下介绍: Introductions (known as inter-type declarations in AspectJ) enable an aspect to declare that advised objects implement a given interface, and to provide an implementation of that interface on be

BGP中正则表达式的理解

今天不经意和网上一个朋友聊到H3CTE 考试,不过很遗憾的上我考挂了,所以才和他讨论的,当时讨论BGP 的路由属性控制MED 和LOCAL-PECR ,突然帽出来个正则表达式,很郁闷的是,我一直都没怎么在乎这个东西,以前只是看到过,以为不怎么重要,今天他突然和我讲了下重要性,而且当时考H3CTE 就需要用上这个,汗~~~居然都不知道.和他聊完我立即找这相关方面的资料,找到了一点点,郁闷很难看懂啊,都是一些符号不好理解啊.没法呀,得学习^_^ 下面是对BGP 正则表达式的介绍 . 匹配任意单个字符

Introduction and Basic concepts

1 Network Edge The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at the edge of the Internet. And we use host and end system interchangeably, that is host=e

被惩罚的网站抓取不会减少BGP

被惩罚的网站抓取不会减少BGP, 网站被惩罚是一个非常令人苦恼的事情,得易搜信息网因为网站被惩罚往往伴随着索引量减少,关键词排名下降,流量减少等,自己的成果付之东流,没人愿意看到.很多人认为被搜索引擎惩罚就相当于被贴上了"垃圾"的标签,被牢牢的抓住了,再也翻不了身,搜索引擎也不会再很好的抓取这个网站,事实如此吗? 被惩罚的网站,抓取不会减慢 是否谷歌抓取被惩罚的站点频率会更少或更慢?谷歌回应,通常对被惩罚的网站,抓取不会减慢.因为网站被某个算法惩罚后,需要等待谷歌抓取这个网站,提取网站

深度探索 OpenStack Neutron:BGP(1) 【转载】

3.4 BGP 原文地址:http://mp.weixin.qq.com/s?src=3&timestamp=1500043305&ver=1&signature=XwiIVVLHaVK5kzRNQKR1dkOzl1DR375P-R9g998sGTpT8WF20P9REPkYOfS85KOlI2h8RnHL3jvJvFu6gu*CNceX8Ky1iJXeGkX1NGYyMFruvBNS1XsJUv3RHgtEpGEIdMN4UZfKkUcdQQ6b9ZbvkqUaAcyanc3bh

BGP基础

BGP基础 BGP是应用于自治系统间的路由协议(注意此处的自治系统是指使用同一个路由协议的网络集合,要跟OSPF.EIGRP的进程号等加以区分),通过使用BGP,我们可以将使用不同路由协议的自治系统连接起来,组成一个更大的网络,虽然这个功能使用重分发也可以实现,但是使用BGP,一方面可以简化路由表,另一方面让我们可以精确的控制路由条目.下面的一些简单说明也许能让你更加清晰的理解BGP. 一.基础要点 通常在AS(自治系统)内部运行某种IGP协议,用于AS内部的路由学习和管理:而在AS的边界运行B

BGP的各种属性

边界网关协议(BGP)是运行于 TCP 上的一种自治系统的路由协议. BGP 是唯一一个用来处理像因特网大小的网络的协议,也是唯一能够妥善处理好不相关路由域间的多路连接的协议. BGP 构建在 EGP 的经验之上. BGP 系统的主要功能是和其他的 BGP 系统交换网络可达信息.网络可达信息包括列出的自治系统(AS)的信息.这些信息有效地构造了 AS 互联的拓朴图并由此清除了路由环路,同时在 AS 级别上可实施策略决策. BGP采用TCP179端口,BGP不会学习路由, 只会传递路由. * BG

quagga源码学习--BGP协议路由更新

BGP的核心就是交换路由,所以关键的部分还是在路由的更新与撤销上面,这之间包含了冗长的属性,community等等处理过程,不做详述. bgp_read函数是路由更新的事件处理函数,在收到BGP_MSG_UPDATE消息的时候开始调用bgp_update_receive函数处理. 1 switch (i) { 2 case NLRI_UPDATE: 3 case NLRI_MP_UPDATE: 4 nlri_ret = bgp_nlri_parse(peer, NLRI_ATTR_ARG, &n

quagga源码学习--BGP协议创建对等体

现有的路由协议都是通过分布式协议逐个配置协商运行的,协议协议,一个就不需要协议咯,至少2个才能够协议着做事情嘛,不过呢,这样就出现网元过多配置困难的问题,对网管软件要求也越来越高, SDN或许可能改变这个局面,但不管软件如何定义,报文还是在一个一个网络节点传输的,所以我们看到quagga这样多的传统网络配置命令不要觉得繁琐,不配置的话,协议不会工作哦. 嗯,这章的主题是创建对等体,就是通过配置命令来完成的. "neighbor peer remote-as asn" router bg