zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    @Autowired 注解是如何实现的?
    工作 3 年的同事不懂 isEmpty 和 isBlank 的区别,我真是醉了。。
    4 个单词,谷歌返回 16 个 SQL 注入漏洞...
    MySQL 更新不成功,事务问题搞清楚了吗?
    Python Web应用如何部署?
    mapbox加载postgis矢量切片
    tile2lon:地图瓦片编号与经纬度的换算关系
    shp2pgsql:将shapefile导入postgis数据库
    postgreSQL表添加ID自增列
    postgreSQL连接配置
  • 原文地址:https://www.cnblogs.com/zhnhelloworld/p/5640029.html
Copyright © 2011-2022 走看看