国产一级一区二区_segui88久久综合9999_97久久夜色精品国产_欧美色网一区二区

掃一掃
關注微信公眾號

BGP and MPLS-Based VPNs
2008-06-24   

  Introduction
  Two months ago we started looking at MPLS, Multiprotocol Label Switching, and continued with MPLS last month. This technology is very hot among large Enterprises and Service Providers. If you missed them or want an electronic copy of them, the previous articles can be found at:
  
  A caution: this is all fairly new stuff, I do not have equipment available to test it with (nor time), and am piecing together information from various sources. Thus the configurations are my best effort but are not guaranteed accurate.
  What is a VPN?
  A Virtual Private Network or VPN is a network implemented using a shared network infrastructure but so as to provide the security and privacy of a private leased-line network. Older examples would be Frame Relay and ATM. Lately VPN has come to more often refer to IPSec tunnels over the Internet, or perhaps PPTP or L2TP dial VPN connectivity across a shared internetwork.
  For our purposes in this article, the VPNs will be IP networks where the WAN core of a corporate network has been outsourced to a Service Provider. The IP VPN connectivity is provided across a shared IP network belonging to the Service Provider. It will turn out the the BGP and MPLS-based VPNs we will talk about are powerful enough to provide secure connectivity (and relatively simple configuration) for both intranets and extranets.
  
  Terminology:
  Intranet -- VPN interconnecting corporate sites
  Extranet -- VPN connecting corporate site or sites to external business partners or suppliers. The Internet is the ultimate insecure Extranet VPN.
  Customer Edge (CE) router -- a router at a customer site that connects to the Service Provider (via one or more Provider Edge routers)
  Provider Edge (PE) router -- a router in the Service Provider network to which Customer Edge Routers connect
  Provider Core (Core) router -- a router in the Service Provider network interconnecting Provider Edge routers but, generally, not itself a Provider Edge Router
  Entry and Exit PE routers -- the PE routers by which a packet enters and exits the Service Provider network
  
  In the figure, imagine the red routers are connected with one VPN, and the blue ones with another. (I tried to draw in some lines to suggest connectivity, but things rapidly got rather cluttered). An extranet is where some red routers connect to some blue routers. The red path with arrow shows traffic from the bottom red CE router to the top one. The first (bottom) gray provider router is the entry PE router, and the final gray provider router is the exit PE router (terms used below).
  
  Understanding MPLS-Based VPNs
  I've been thinking of MPLS-based VPNs as basically using long IP addresses. That isn't exactly what's going on, but it is a key part of it.
  Each site belongs to a VPN, which has a number. In the Cisco implementation, this number is configured as the 8 byte Route Distinguisher (RD). The route distinguisher number is used to prefix the IP addresses for the site. It is configured on the interface (or subinterface) connecting to the site. This gives us a way to tell duplicate private addresses apart, to distinguish them. For example, subnet 10.1.1.0 for VPN 23 is different than subnet 10.1.1.0 for VPN 109: from the MPLS VPN provider's point of view they are really 23:10.1.1.0 and 109:10.1.1.0, which are quite different. Putting the 8 byte route distinguisher in front of a 4 byte IP address gives us a 12 byte routing prefix. We regard these as the VPN-IPv4 family of addresses.
  
  The multiprotocol extension to BGP4, MBGP, was invented to carry such routing information between peer routers. So once we think in terms of routing 12 byte prefixes, there is a natural way to propagate the information. For security and scalability, MBGP only propagates information about a VPN to other routers that have interfaces with the same route distinguisher value. That reduces the chance of accidentally leaking information about Customer A to Customer B (quite easily done with routing distribute lists in a tunneling approach, or with route maps or distribute lists or prefix lists and ordinary BGP). It also means that each PE router only tracks routes for the customers connected to that one PE router, not for the entire set of long prefixes for all sites and customers connected to the Service Provider. Scalability!
  
  Another aspect of this is that core routers, not being connected to CE routers, don't learn VPN-IPv4 routes. We'll come back to this idea in a moment. This is desirable: it turns out we only need to run an IGP (Internal Gateway Protocol), so that core routers have routes to all PE routers. And from our prior discussions about MPLS, we suspect the IGP might be OSPF or IS-IS, to allow implementation of MPLS Traffic Engineering. Only tracking routes to PE routers keeps the core extremely scalable, and greatly simplifies the size of routing tables for core routers. This too enhances scalability!
  
  So what we've got so far is long addresses, and tracking routing that builds in the VPN ID or route distinguisher as part of the routing prefix. The PE routers that share the long prefix routing information are all speaking MBGP, all within the same AS -- hence internal MBPG, or iMBGP. This behaves very much like ordinary BGP. Well, when iBGP speaking routers propagate routes, they also propagate attributes. One key attribute for Service Providers is the next hop attribute. For iBGP-speaking routers, the next hop is generally the exit point from the Service Provider network, the exit point used to reach the advertised destination prefix.
  
  If we were to actually route based on the long addresses, we'd have to forward the packets hop by hop and do a routing lookup at each PE or core router between the entry PE router and the exit PE router. The problem with that is, we would then have to convert our IP header to use our longer addresses at the entry PE router, we'd have to have internal core routers that knew how to forward this new network-layer protocol, and then we'd have to strip out the longer addressing information at the exit PE router. This probably sounds sort of like what MPLS already does with labels -- but now we'd be doing it with actual network layer headers. Some readers might be thinking "aha! IPv6! Tunneling IPv4!". Nice thoughts, but ... WRONG!
  
  I suppose the network layer code could have been written to support this, or IPv6 could have been used for a form of tunneling. But all of that would have cost time and work and money. Instead, the Cisco engineers who came up with this had a very clever idea. MPLS!
  
  All that the entry PE routers need to do to packets is somehow deliver them to the appropriate exit PE router, the next hop known via the mandatory MBGP next hop attribute. But with MPLS and any IGP carrying routes to the PE routers, we will already have an MPLS Label Switch Path (LSP) from the entry PE to each possible exit PE! And that does it.
  
  When a packet comes in, we look up the long (VPN) destination prefix in the MBGP routing information base (RIB). That tells us the next hop router, the exit PE router. We would normally look up how to get to that router in the IGP, and determine the IP next hop. But this gets short-circuited by MPLS: we find we have a label available for an LSP that delivers packets very efficiently to the MBGP next hop router, the exit PE router. And (here's the clever part) if we use the LSP, the core routers in the core never have to examine IP addresses or headers, they just use the labels to forward the packet!
  
  So MPLS LSPs act as tunnels through the Service Provider core, meaning we can get away with an IGP in the SP core, and thus the SP core routers can remain ignorant of the many, many possibl

熱詞搜索:

上一篇:PIX上實現VPN(IPSec)的詳細步驟
下一篇:利用MPLS VPN實現VPDN的LNS復用

分享到: 收藏
国产一级一区二区_segui88久久综合9999_97久久夜色精品国产_欧美色网一区二区
亚洲欧洲av一区二区三区久久| 亚洲视频在线看| 欧美精品一区三区| 国产精品成人一区二区| 国产精品美女在线观看| 在线高清一区| 亚洲永久精品国产| 乱码第一页成人| 国产午夜精品福利| 一区二区三区视频在线| 久久久综合免费视频| 欧美日韩亚洲一区二区三区在线| 国产日韩精品一区二区| 亚洲美洲欧洲综合国产一区| 久久xxxx| 国产精品揄拍一区二区| 亚洲国产日韩美| 久久精品一区二区| 国产精品久久99| 亚洲美女中文字幕| 久久婷婷国产麻豆91天堂| 欧美午夜电影在线| 亚洲精品一二区| 猫咪成人在线观看| 好吊日精品视频| 亚洲综合色噜噜狠狠| 欧美日韩在线看| 一区二区精品在线| 欧美日韩直播| 制服丝袜亚洲播放| 欧美日韩国产亚洲一区| 亚洲国产精品视频一区| 久久久91精品国产| 国产在线拍偷自揄拍精品| 午夜伦欧美伦电影理论片| 欧美视频在线看| 一区二区高清视频在线观看| 欧美激情麻豆| 一区二区三区四区五区视频| 欧美日韩国产电影| 99精品国产高清一区二区| 欧美日韩岛国| 亚洲美女精品久久| 欧美日韩大片一区二区三区| 亚洲一区国产| 欧美精品一区二区三区视频 | 国产精品久久久亚洲一区| 99精品热视频只有精品10| 欧美精品www在线观看| 亚洲精品乱码久久久久久黑人| 美女黄网久久| 亚洲毛片在线看| 欧美偷拍一区二区| 午夜精品婷婷| 在线观看日韩专区| 欧美伦理在线观看| 午夜精品久久久久久久99黑人| 国产日韩一区在线| 欧美黄色大片网站| 亚洲一二三区视频在线观看| 国产精品视频免费在线观看| 欧美专区18| 91久久久国产精品| 国产精品丝袜91| 玖玖玖国产精品| 一本色道久久综合亚洲91| 亚洲网站视频福利| 狠狠狠色丁香婷婷综合久久五月 | 亚洲欧美在线看| 国内精品久久久久久| 久热精品视频在线观看| 制服丝袜激情欧洲亚洲| 黄色成人在线免费| 欧美性大战久久久久久久蜜臀| 性色av一区二区三区| 亚洲激情在线观看| 国产日韩一区二区三区| 欧美激情一区在线| 久久乐国产精品| 亚洲午夜久久久久久尤物| 伊人狠狠色j香婷婷综合| 国产精品乱子乱xxxx| 另类天堂视频在线观看| 亚洲韩国青草视频| 国内偷自视频区视频综合| 国产精品播放| 欧美日韩精品在线观看| 六十路精品视频| 久久精品99国产精品| 亚洲在线播放电影| 日韩视频在线免费| 亚洲国产精品久久久久婷婷884| 国产午夜精品全部视频在线播放| 欧美日韩在线大尺度| 免费av成人在线| 久久久精品一区二区三区| 亚洲欧美国产毛片在线| 在线性视频日韩欧美| 亚洲毛片在线免费观看| 一色屋精品亚洲香蕉网站| 国产午夜一区二区三区| 国产农村妇女毛片精品久久麻豆| 欧美视频在线一区二区三区| 亚洲视频国产视频| 亚洲一级片在线观看| 99re视频这里只有精品| 一区二区三区欧美日韩| 亚洲精品日韩精品| 99国产精品| 亚洲一区二区在线观看视频| 中文一区在线| 欧美制服第一页| 久久精品国产999大香线蕉| 午夜精品视频网站| 亚洲欧美一区二区在线观看| 亚洲欧美中文另类| 欧美亚洲在线视频| 欧美国产精品专区| 欧美不卡高清| 欧美日本免费| 欧美日韩精选| 国产日韩av高清| 伊人久久综合97精品| 99re亚洲国产精品| 亚洲欧美在线网| 久久这里有精品15一区二区三区 | 国产精品theporn| 国产精品久久久久影院色老大| 国产精品久久婷婷六月丁香| 国产精品草草| 国产综合色产在线精品| 最新成人av网站| 亚洲永久精品大片| 免费成人高清视频| 国产精品国产三级国产aⅴ浪潮| 国产精品久久波多野结衣| 国产综合色一区二区三区| 亚洲国内自拍| 亚洲欧美中文日韩v在线观看| 久久精品论坛| 久久亚洲色图| 国产精品久久久久久影院8一贰佰| 国产一区二区三区奇米久涩 | 久久综合网色—综合色88| 模特精品在线| 国产精品视频999| 亚洲国产精品专区久久| 中日韩美女免费视频网站在线观看 | 国内精品免费在线观看| 亚洲人成人一区二区三区| 午夜在线观看免费一区| 欧美精品日韩精品| 黄色成人小视频| 亚洲性夜色噜噜噜7777| 欧美精品乱码久久久久久按摩| 国产人成精品一区二区三| 亚洲久久成人| 免费观看亚洲视频大全| 国产九九精品视频| 一本色道久久88精品综合| 欧美91大片| 在线观看一区二区精品视频| 午夜欧美精品| 国产精品美女在线| 一区二区三区精品| 欧美精品在线视频| 亚洲高清一区二区三区| 午夜精品成人在线| 欧美午夜剧场| 亚洲午夜精品视频| 欧美日韩亚洲天堂| 在线视频日韩| 欧美色精品天天在线观看视频| 91久久综合亚洲鲁鲁五月天| 免费成人黄色av| 亚洲国产精品一区二区www在线| 美女精品在线观看| 91久久中文| 亚洲午夜视频| 最新成人av网站| 美女黄色成人网| 韩国在线一区| 久久综合给合| 亚洲精品国偷自产在线99热| 蜜桃久久精品一区二区| 在线精品高清中文字幕| 欧美福利视频在线观看| 91久久精品国产| 欧美精品粉嫩高潮一区二区| 亚洲精品欧美在线| 欧美日韩精品三区| 国产精品拍天天在线| 欧美一二三区在线观看| 国产一区二区三区最好精华液| 久久精品视频亚洲| 1204国产成人精品视频| 欧美精品免费在线观看| 亚洲午夜精品国产| 国产在线视频欧美| 欧美成人精品激情在线观看|