Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
50
Добавлен:
11.04.2015
Размер:
22.9 Mб
Скачать

118 Understanding IPv6, Second Edition

- Icmpv6: Echo reply, ID = 0x0, Seq = 0x18 MessageType: Echo reply, 129(0x81)

-EchoReply: Code: 0 (0x0)

Checksum: 51789 (0xCA4D) Identifier: 0 (0x0) SequenceNumber: 24 (0x18)

EchoData: Binary Large Object (32 Bytes)

This Echo Reply message was sent in response to the previously displayed Echo Request message. Notice how the Identifier, Sequence Number, and Data fields (actual contents of the Data field are not shown) match the original Echo Request message.

Comparing ICMPv4 and ICMPv6 Messages

Table 5-3 lists commonly used ICMPv4 messages and their ICMPv6 equivalents listed in order of the ICMPv4 Type and Code fields.

Table 5-3 ICMPv4 Messages and Their ICMPv6 Equivalents

ICMPv4 Message

ICMPv6 Equivalent

Destination Unreachable-Network Unreachable

Destination Unreachable-No Route to

(Type 3, Code 0)

Destination (Type 1, Code 0)

 

 

Destination Unreachable-Host Unreachable

Destination Unreachable-Address Unreachable

(Type 3, Code 1)

(Type 1, Code 3)

 

 

Destination Unreachable-Protocol Unreachable

Parameter Problem-Unrecognized Next Header

(Type 3, Code 2)

Type Encountered (Type 4, Code 1)

 

 

Destination Unreachable-Port Unreachable

Destination Unreachable-Port Unreachable

(Type 3, Code 3)

(Type 1, Code 4)

 

 

Destination Unreachable-Fragmentation

Packet Too Big (Type 2, Code 0)

Needed and DF Set (Type 3, Code 4) (as specified

 

in RFC 1191)

 

Destination Unreachable-Communication with Destination Host Administratively Prohibited (Type 3, Code 10)

Destination Unreachable-Communication with Destination Administratively Prohibited (Type 1, Code 1)

Source Quench (Type 4, Code 0)

This message is not present in IPv6.

Redirect (Type 5, Code 0)

NeighborDiscoveryRedirectmessage(Type137,

 

Code 0). For more information, see Chapter 6.

 

 

Time Exceeded-TTL Exceeded in Transit (Type 11,

Time Exceeded-Hop Limit Exceeded in Transit

Code 0)

(Type 3, Code 0)

 

 

Time Exceeded-Fragment Reassembly Time

Time Exceeded-Fragment Reassembly Time

Exceeded (Type 11, Code 1)

Exceeded (Type 3, Code 1)

 

 

Parameter Problem (Type 12, Code 0)

Parameter Problem (Type 4, Code 0 or Code 2)

 

 

Соседние файлы в папке Lecture 2_10