Advanced Topics in Networking-MPLS and GMPLS.ppt
《Advanced Topics in Networking-MPLS and GMPLS.ppt》由会员分享,可在线阅读,更多相关《Advanced Topics in Networking-MPLS and GMPLS.ppt(62页珍藏版)》请在麦多课文档分享上搜索。
1、Advanced Topics in Networking: MPLS and GMPLS,Hang Liu Thomson Inc., Corporate Research Lab Princeton, NJ,Note: Thank Dr. Debanjan Saha for the teaching materials on MPLS,MPLS: Multi-protocol Label Switching,3,Topics,Introduction History and motivation MPLS mechanisms MPLS protocols RSVP-TE/CR-LDP M
2、PLS applications VPNSs, traffic engineering, restoration,4,WHY MPLS ?,Ultra fast forwarding Use switching instead of routing IP Traffic Engineering Constraint-based routing Virtual Private Networks Controllable tunneling mechanism Protection and restoration,5,IP Forwarding Table,47.1.*.*,47.2.*.*,47
3、.3.*.*,1,2,3,1,2,1,2,3,6,Hop-by-Hop IP Forwarding,47.1,47.2,47.3,1,2,3,1,2,1,2,3,IP 47.1.1.1,IP 47.1.1.1,IP 47.1.1.1,7,Routing Lookup,Longest prefix match is (was) expensive. Label matching is much less expensive.,9.1.*.*,67.1.2.2,4,9.1.1.*,113.1.2.1,8,9.1.1.1,71.1.2.3,6,9.2.1.1,71.1.2.3,6,Prefix,Ne
4、xt Hop,Interface,8,MPLS Labels,47.1,47.2,47.3,1,2,3,1,2,1,2,3,3,9,Label Switched Path,47.1,47.2,47.3,1,2,3,1,2,1,2,3,3,10,Forwarding Equivalence Classes,FEC = “A subset of packets that are all treated the same way by a router” The concept of FECs provides for a great deal of flexibility and scalabil
5、ity In conventional routing, a packet is assigned to a FEC at each hop (i.e. L3 look-up), in MPLS it is only done once at the network ingress,Packets are destined for different address prefixes, but can be mapped to common path,LSR,LSR,LER,LER,LSP,11,MPLS Terminology,LDP: Label Distribution Protocol
6、 LSP: Label Switched Path FEC: Forwarding Equivalence Class LSR: Label Switching Router LER: Label Edge Router,12,Label Distribution Methods,LSR1,LSR2,Downstream Label Distribution,Label-FEC Binding,LSR2 discovers a next hop for a particular FECLSR2 generates a label for the FEC and communicates the
7、 binding to LSR1LSR1 inserts the binding into its forwarding tablesIf LSR2 is the next hop for the FEC, LSR1 can use that label knowing that its meaning is understood,LSR1,LSR2,Downstream-on-Demand Label Distribution,Label-FEC Binding,LSR1 recognizes LSR2 as its next-hop for an FECA request is made
8、to LSR2 for a binding between the FEC and a labelIf LSR2 recognizes the FEC and has a next hop for it, it creates a binding and replies to LSR1Both LSRs then have a common understanding,Request for Binding,Both methods are supported, even in the same network at the same time,13,Distribution Control,
9、Independent LSP Control,Ordered LSP Control,Next Hop (for FEC),Outgoing Label,Incoming Label,Each LSR makes independent decision on when to generate labels and communicate them to upstream peers Communicate label-FEC binding to peers once next-hop has been recognized LSP is formed as incoming and ou
10、tgoing labels are spliced together,Label-FEC binding is communicated to peers if:- LSR is the egress LSR to particular FEC- label binding has been received from upstream LSRLSP formation flows from egress to ingress,Definition,Comparison,Labels can be exchanged with less delay Does not depend on ava
11、ilability of egress node Granularity may not be consistent across the nodes at the start May require separate loop detection/mitigation method,Requires more delay before packets can be forwarded along the LSP Depends on availability of egress node Mechanism for consistent granularity and freedom fro
12、m loops Used for explicit routing and multicast,Both methods are supported in the standard and can be fully interoperable,14,Label Retention Methods,Liberal Label Retention,Conservative Label Retention,LSR1,LSR2,LSR3,LSR4,Label Bindings for LSR4,ValidNext Hop,LSR4s Label LSR3s Label LSR2s Label,LSR1
13、,LSR2,LSR3,LSR4,Label Bindings for LSR4,ValidNext Hop,LSR4s Label LSR3s Label LSR2s Label,LSR maintains bindings received from LSRs other than the valid next hop If the next-hop changes, it may begin using these bindings immediately May allow more rapid adaptation to routing changes Requires an LSR
14、to maintain many more labels,LSR only maintains bindings received from valid next hop If the next-hop changes, binding must be requested from new next hop Restricts adaptation to changes in routing Fewer labels must be maintained by LSR,Label Retention method trades off between label capacity and sp
15、eed of adaptation to routing changes,15,Label Encapsulation,ATM,FR,Ethernet,PPP,MPLS Encapsulation is specified over various media types. Top labels may use existing format, lower label(s) use a new “shim” label format.,VPI,VCI,DLCI,“Shim Label”,L2,Label,“Shim Label” .,IP | PAYLOAD,16,Label Format,E
16、xp field used to identify the class of service Stack bit is used identify the last label in the label stack TTL field is used as a time-to-live counter. Special processing rules are used to mimic IP TTL semantics.,Label 20 bits,Exp 3 bits,Stack 1 bit,TTL 8 bits,17,Label Distribution Protocols,Label
17、Distribution Protocol (LDP) Constraint-based Routing LDP (CR-LDP) Extensions to RSVP Extensions to BGP,18,LDP:Label Distribution Protocol,Label distribution ensures that adjacent routers have a common view of FEC label bindings,Routing Table:Addr-prefix Next Hop 47.0.0.0/8 LSR2,LSR1,LSR2,LSR3,IP Pac
18、ket,47.80.55.3,Routing Table:Addr-prefix Next Hop 47.0.0.0/8 LSR3,For 47.0.0.0/8 use label 17,Label Information Base:Label-In FEC Label-Out 17 47.0.0.0/8 XX,Label Information Base:Label-In FEC Label-Out XX 47.0.0.0/8 17,Step 1: LSR creates binding between FEC and label value,Step 2: LSR communicates
19、 binding to adjacent LSR,Step 3: LSR inserts label value into forwarding base,Common understanding of which FEC the label is referring to!,19,LDP: Basic Characteristics,Provides LSR discovery mechanisms to enable LSR peers to find each other and establish communicationDefines four classes of message
20、s DISCOVERY: deals with finding neighboring LSRs ADJACENCY: deals with initialization, keep alive, and shutdown of sessions LABEL ADVERTISEMENT: deals with label binding advertisements, request, withdrawal, and release NOTIFICATION: deals with advisory information and signal error information Runs o
21、ver TCP for reliable delivery of messages, except for discovery, which uses UDP and IP multicast Designed to be extensible, using messages specified as TLVs (type, value, length) encoded objects.,20,LDP Messages,INITIALIZATION KEEPALIVE LABEL MAPPING LABEL WITHDRAWAL LABEL RELEASE LABEL REQUEST,21,4
22、7.1,47.2,47.3,1,2,3,1,2,1,2,3,3,Explicitly Routed LSP,22,ER LSP - Advantages,Operator has routing flexibility policy-based, QoS-based Can use routes other than shortest path Can compute routes based on constraints in exactly the same manner as ATM based on distributed topology database.(traffic engi
23、neering),23,ER LSP - discord!,Two signaling options proposed in the standards: CR-LDP, RSVP extensions:CR-LDP = LDP + Explicit RouteRSVP ext = Traditional RSVP + Explicit Route +Scalability Extensions Market will probably have to resolve it Survival of the fittest not such a bad thing.,24,MPLS and Q
24、oS in IP Network,Integrated Services Differentiated Services,25,Integrated Services Internet,Applications specify traffic and service specs Tspec: traffic specs including peak rate, maximum packet size, burst size, and mean rate Rspec: service spec, specifically service rate Two classes of service d
25、efined Guaranteed service: satisfies hard guarantees on bandwidth and delay Controlled load service: provides service similar to that in “unloaded network” RSVP was extended to RSVP-TE support signaling RSVP was further extend to add MPLS support,26,Differentiated Services Internet,IP packets carry
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ADVANCEDTOPICSINNETWORKINGMPLSANDGMPLSPPT
