MPLS-自己的经验理解通俗易懂.ppt
《MPLS-自己的经验理解通俗易懂.ppt》由会员分享,可在线阅读,更多相关《MPLS-自己的经验理解通俗易懂.ppt(94页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、MPLS及MPLS VPN基本概念,2012年3月,MPLS VPN的基本概念,目录,MPLS的基本概念,1,3,MPLS 及MPLS VPN举例,传统IP路由网络的缺陷,传统的IP数据转发,使用路由协议传送IP路由信息 基于IP包的目标地址进行数据转发 IP包每经过一个路由器都需要进行路由表的查询,IP的逐跳转发,在经过的每一跳处,必须进行路由表的最长匹配查找(可能多次),速度缓慢。,在传统的IP转发中的流量工程问题,Most traffic goes between large sites A and B and uses only the primary link. Destinatio
2、n-based routing does not provide any mechanism for load balancing across unequal paths. Policy-based routing can be used to forward packets based on other parameters, but this is not a scalable solution.,Primary OC192 link,Large Site A,Large Site B,Small Site C,BackupOC48 link,Review Questions,列出主要的
3、传统IP路由缺点. IP包的传发是基于那一种信息? 为什么这种转发机制不适用于大型网络?,MPLS架构及相关技术,MPLS数据转发,MPLS的标签转发,通过事先分配好的标签,为报文建立了一条标签转发通道(LSP),在通道经过的每一台设备处,只需要进行快速的标签交换即可(一次查找)。,MPLS:多协议标签交换,MPLS:Multi-Protocol Label Switching 在IP网络实现2.5层数据交换,MPLS 的基本概念,基于标签进行数据转发的机制 标签对应于IP目标路由网络 标签可对应于其他相关参数 Qos IP源地址 支持多种协议的转发,MPLS/IP网络,MPLS 架构,控制层
4、面(Control plane) 运用路由协议进行路由信息的交换 运用标签分发协议进行标签交换 数据层面(Data plane) 基于标签进行数据转发,MPLS Architecture,Router functionality is divided into two major parts: control plane and data plane,Data Plane,Control Plane,OSPF: 10.0.0.0/8,LDP: 10.0.0.0/8 Label 17,OSPF,LDP,LFIB,LDP: 10.0.0.0/8 Label 4,OSPF: 10.0.0.0/8,L
5、abeled packet Label 4,Labeled packet Label 17,Label Format,MPLS uses a 32-bit label field that contains the following information: 20-bit label 3-bit experimental field 1-bit bottom-of-stack indicator 8-bit time-to-live (TTL) field,LABEL,EXP,S,TTL,0,19,22,23,31,20,24,Frame-Mode MPLS,Routing lookup a
6、nd label assignment,Label Switch Router,Label switch router (LSR) 转发打了标签的IP包 Edge LSR 给IP包打标签并转发到MPLS域 删除标签并把IP包从MPLS域转发出去,MPLS Domain,Edge LSR,LSR,10.1.1.1,L=3,L=5,L=43,L=31,20.1.1.1,10.1.1.1,20.1.1.1,LSR的功能架构,LSRs, regardless of the type, perform the following three functions: Exchange routing inf
7、ormation Exchange labels Forward packets (LSRs and edge LSRs) The first two functions are part of the control plane. The last function is part of the data plane.,Architecture of LSRs,LSRs primarily forward labeled packets.,LSR,Control Plane,Data Plane,Routing Protocol,Label Distribution Protocol,Lab
8、el Forwarding Table,IP Routing Table,Exchange of routing information,Exchange of labels,Incoming labeled packets,Outgoing labeled packets,Architecture of Edge LSRs,Edge LSR,Control Plane,Data Plane,Routing Protocol,Label Distribution Protocol,Label Forwarding Table,IP Routing Table,Exchange of routi
9、ng information,Exchange of labels,Incoming labeled packets,Outgoing labeled packets,IP Forwarding Table,Incoming IP packets,Outgoing IP packets,MPLS 转发,LSR功能: 插入(Insert)标签 交换(Swap)标签 删除(Pop)标签,MPLS 域,MPLS Forwarding (Frame-Mode),On ingress a label is assigned and imposed by the IP routing process. L
10、SRs in the core swap labels based on the contents of the label forwarding table. On egress the label is removed and a routing lookup is used to forward the packet.,10.1.1.1,MPLS 网络IP路由示例,LSR,Control Plane,Data Plane,OSPF:,RT:,LIB:,FIB:,LFIB:,OSPF: 10.0.0.0/8,10.0.0.0/8 1.2.3.4,10.0.0.0/8 1.2.3.4,LSR
11、,Control Plane,Data Plane,OSPF:,RT:,LIB:,FIB:,LFIB:,OSPF: 10.0.0.0/8,10.0.0.0/8 1.2.3.4,10.0.0.0/8 1.2.3.4,LDP: 10.0.0.0/8, L=3,10.0.0.0/8 Next-hop L=3, Local L=5,LDP: 10.0.0.0/8, L=5,MPLS 网络IP路由示例,标签的分配和分发过程,IP路由协议构造IP路由表 LSR对路由表中每一目标网段独立地分配标签 LSR把所分配的标签公告给其他LSR 根据所受到的标签,LSR构建LIB,LFIB和FIB,路由表的构建,IP
12、 routing protocols are used to build IP routing tables on all LSRs. FIBs are built based on IP routing tables with no labeling information.,A,B,C,D,E,Network X,分配标签,Every LSR allocates a label for every destination in the IP routing table. Labels have local significance. Label allocations are asynch
13、ronous.,A,B,C,D,E,Network X,LIB 和 LFIB 的建立,LIB and LFIB structures have to be initialized on the LSR allocating the label.,A,B,C,D,E,Network X,标签分发 Label Distribution,The allocated label is advertised to all neighbor LSRs, regardless of whether the neighbors are upstream or downstream LSRs for the d
14、estination.,标签通告的接收(Receiving Label Advertisement),Every LSR stores the received label in its LIB. Edge LSRs that receive the label from their next-hop also store the label information in the FIB.,X = 25,X = 25,A,B,C,D,E,X = 25,Network X,过渡期的数据传送(Interim Packet Propagation),Forwarded IP packets are
15、labeled only on the path segments where the labels have already been assigned.,IP: X,Lab: 25,IP: X,A,B,C,E,进一步的标签分配(Further Label Allocation),Every LSR will eventually assign a label for every destination.,A,B,C,D,E,Network X,标签通告的接收(Receiving Label Advertisement),Every LSR stores received informati
16、on in its LIB. LSRs that receive their label from their next-hop LSR will also populate the IP forwarding table (FIB).,A,B,C,D,E,Network X,增加LFIB条目(Populating LFIB),Router B has already assigned a label to X and created an entry in the LFIB. The outgoing label is inserted in the LFIB after the label
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- mpls 自己 经验 理解 通俗易懂
限制150内