28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(RSVP), originally designed as a general protocol for reserving bandwidth for network<br />

flows, was extended to set up LSPs, assign and manage labels, and reserve<br />

bandwidth for the LSP.<br />

Since the introduction of MPLS, many new services have been developed that use<br />

MPLS, including Layer 3 VPNs, Virtual Private LAN Services (VPLS), and Differentiated<br />

Services Traffic Engineering (DiffServ TE).<br />

For more detailed information about how MPLS works, see MPLS: Technology and<br />

Applications (Morgan Kaufmann) and MPLS-Enabled Applications (Wiley UK).<br />

LSPs<br />

MPLS assigns labels to network packets that describe how to forward them through<br />

the network. A label is a short, fixed-length numeric identifier. The labeled traffic is<br />

forwarded along LSPs, which are unidirectional tunnels through the IP network.<br />

LSPs are connections similar to ATM or Frame Relay virtual circuits. LSPs have an<br />

entry point, called an ingress router, and an exit point, called an egress router. LDPsignaled<br />

LSPs have multiple ingress points and a single egress point. RSVP-signaled<br />

LSPs have one ingress point and one egress point and optional intermediate routers<br />

called transit routers.<br />

A signaling protocol establishes the physical path taken by the LSP between the<br />

ingress and egress routers. Once the paths are established, the ingress router pushes a<br />

fixed-length label onto packets traveling through the LSP. Each transit router swaps<br />

the label, removing the incoming label and replacing it with an outgoing label, and<br />

forwards the packets to the next hop. At the egress router (or typically at the penultimate<br />

hop, which is the router immediately prior to the egress router), the label is<br />

popped, or removed, from the packet, and the egress router continues forwarding the<br />

packet using the standard IP routing longest-match lookup algorithm. MPLS maintains<br />

a label forwarding table that it uses to determine the next hop in an LSP. The<br />

next-to-last router in the LSP, the penultimate router, usually performs a label pop<br />

operation, removing the MPLS label before sending the packet to the egress router.<br />

This is called penultimate hop popping (PHP).<br />

LSPs are established either manually or dynamically using a signaling protocol.<br />

MPLS Header and Labels<br />

Packets traveling along an LSP are identified by a label, which is part of a 4-byte<br />

MPLS header that is inserted as a shim between the packet’s link-level (Layer 2)<br />

header and its network layer (Layer 3) data (see Figure 14-1).<br />

Multiple MPLS headers can be stacked in the packet’s header. The newest header is<br />

placed at the beginning (top) of the stack.<br />

The first 20 bits of the MPLS header are the MPLS label value, a numeric identifier<br />

that the LSP uses to forward packets. The label itself has no internal structure, unlike<br />

480 | Chapter 14: MPLS<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!