25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

stack. Using this information, the node encodes a new label stack <strong>and</strong> forwards<br />

the resulting packet.<br />

Figure A-2 depicts label swapping in an MPLS environment.<br />

In<br />

Label<br />

Addr<br />

Prefix<br />

Out<br />

Port<br />

Out<br />

Label<br />

- 10.0 5 50<br />

1<br />

R1<br />

In<br />

Label<br />

In<br />

Port<br />

Addr<br />

Prefix<br />

Figure A-2 Label swapping in an MPLS environment<br />

Note: In a label swapping environment, the next hop router is always<br />

determined from MPLS information. This might cause the packet to traverse a<br />

different path than the one obtained using conventional routing algorithms.<br />

Penultimate hop popping<br />

This is the ability to pop an MPLS label at the penultimate node rather than at the<br />

egress node. From an architectural perspective, this type of processing is<br />

permitted. The purpose of a label is to forward a packet through the network to<br />

the egress node. After the penultimate node has decided to send the packet to<br />

the egress node, the label no longer has any function. It does not need to be<br />

included in the packet.<br />

The penultimate node pops the stack <strong>and</strong> forwards the packet based on the next<br />

hop address obtained from the NHLFE. When the egress node receives the<br />

packet, one of two activities occur:<br />

► The packet contains a label. This occurs when the penultimate node<br />

processed a packet with at least two labels. In this scenario, the label now at<br />

the top of the stack is the label the egress node needs to process to make a<br />

forwarding decision.<br />

Out<br />

Port<br />

Out<br />

Label<br />

50 1 10.0 3 20<br />

51 2 10.0 3 21<br />

In<br />

Label<br />

In<br />

Port<br />

Addr<br />

Prefix<br />

Out<br />

Port<br />

Out<br />

Label<br />

20 5 10.0 1 -<br />

21 5 10.0 1 -<br />

22 3 10.0 1 -<br />

5 1 3 5 1<br />

2<br />

R2<br />

R3 R5<br />

10.0.1.5 Payload 50 10.0.1.5 Payload 20 10.0.1.5 Payload 10.0.1.5 Payload<br />

R4<br />

Appendix A. Multiprotocol Label Switching 933<br />

3

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

Saved successfully!

Ooh no, something went wrong!