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.

9.3 Internet Control Message Protocol Version 6<br />

(ICMPv6)<br />

<strong>IP</strong> concerns itself with moving data from one node to another. However, in order<br />

for <strong>IP</strong> to perform this task successfully, there are many other functions that need<br />

to be carried out: error reporting, route discovery, <strong>and</strong> diagnostics, to name a<br />

few. All these tasks are carried out by the Internet Control Message Protocol<br />

(see 3.2, “Internet Control Message Protocol (ICMP)” on page 109). In addition,<br />

ICMPv6 carries out the tasks of conveying multicast group membership<br />

information, a function that was previously performed by the IGMP protocol in<br />

<strong>IP</strong>v4 (see 3.3, “Internet Group Management Protocol (IGMP)” on page 119) <strong>and</strong><br />

address resolution, previously performed by ARP (see 3.4, “Address Resolution<br />

Protocol (ARP)” on page 119).<br />

ICMPv6 messages <strong>and</strong> their use are specified in RFC 4443 – Internet Control<br />

Message Protocol (ICMPv6) for the Internet Protocol Version 6 (<strong>IP</strong>v6)<br />

Specification <strong>and</strong> RFC 2461 – Neighbor Discovery for <strong>IP</strong> Version 6 (<strong>IP</strong>v6). Both<br />

RFCs are draft st<strong>and</strong>ards with a status of elective.<br />

Every ICMPv6 message is preceded by an <strong>IP</strong>v6 header (<strong>and</strong> possibly some <strong>IP</strong><br />

extension headers). The ICMPv6 header is identified by a Next Header value of<br />

58 in the immediately preceding header.<br />

ICMPv6 messages all have a similar format, shown in Figure 9-14.<br />

Figure 9-14 ICMPv6 general message format<br />

Where:<br />

Type There are two classes of ICMPv6 messages. Error<br />

messages have a Type from 0 to 127. Informational<br />

messages have a Type from 128 to 255.<br />

352 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

0 8 16 31<br />

Type Checksum<br />

Code<br />

Body of ICMP Message<br />

1 Destination Unreachable<br />

2 Packet Too Big

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

Saved successfully!

Ooh no, something went wrong!