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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. The receiving node's network interface layer identifies the incoming packets<br />

(or packets if the <strong>IP</strong>v4 datagram was fragmented) as belonging to <strong>IP</strong>v4 <strong>and</strong><br />

passes them upward to the <strong>IP</strong>v4 part of the dual <strong>IP</strong>v6/<strong>IP</strong>v4 internetwork layer.<br />

3. The <strong>IP</strong>v4 layer then receives the datagram in the normal way, reassembling<br />

fragments if necessary, notes the protocol number of 41, removes the <strong>IP</strong>v4<br />

header, <strong>and</strong> passes the original <strong>IP</strong>v6 packet “sideways” to the <strong>IP</strong>v6 part of the<br />

internetwork layer.<br />

4. The <strong>IP</strong>v6 code then processes the original packet as normal. Because the<br />

destination <strong>IP</strong>v6 address in the packet is the <strong>IP</strong>v6 address of the node (an<br />

<strong>IP</strong>v4-compatible address matching the <strong>IP</strong>v4 address used in the<br />

encapsulating <strong>IP</strong>v4 datagram), the packet is at its final destination. <strong>IP</strong>v6 then<br />

processes any extension headers as normal <strong>and</strong> then passes the packet's<br />

remaining payload to the next protocol listed in the last <strong>IP</strong>v6 header.<br />

Figure 9-26 on page 384 shows two <strong>IP</strong>v6/<strong>IP</strong>v4 nodes separated by an <strong>IP</strong>v4<br />

network. Both workstations have <strong>IP</strong>v4-compatible <strong>IP</strong>v6 addresses. Workstation A<br />

sends a packet to workstation B, as follows:<br />

1. Workstation A has received router solicitation messages from an<br />

<strong>IP</strong>v6-capable router (X) on its local link. It forwards the packet to this router.<br />

2. Router X adds an <strong>IP</strong>v4 header to the packet, using the <strong>IP</strong>v4 source <strong>and</strong><br />

destination addresses derived from the <strong>IP</strong>v4-compatible addresses. The<br />

packet is then forwarded across the <strong>IP</strong>v4 network, all the way to workstation<br />

B. This is router-to-host automatic tunneling.<br />

3. The <strong>IP</strong>v4 datagram is received by the <strong>IP</strong>v4 stack of workstation B. Because<br />

the Protocol field shows that the next header is 41 (<strong>IP</strong>v6), the <strong>IP</strong>v4 header is<br />

stripped from the datagram <strong>and</strong> the remaining <strong>IP</strong>v6 packet is then h<strong>and</strong>led by<br />

the <strong>IP</strong>v6 stack.<br />

Chapter 9. <strong>IP</strong> version 6 383

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

Saved successfully!

Ooh no, something went wrong!