Chapter 6 Neighbor Discovery 125 Neighbor Discovery Message Format ND messages use the ICMPv6 message structure and ICMPv6 types 133 through 137.ND messages consist of an ND message header,composed of an ICMPv6 header and ND message specific data,and zero or more ND options.Figure 6-1 shows the format of an ND message. IPv6 Header Neighbor Discovery Neighbor Discovery Next Header =58 Message Header Message Options (ICMPv6) -Neighbor Discovery Message Figure 6-1 The format of an ND message There are five different ND messages: Router Solicitation(ICMPv6 type 133) Router Advertisement (ICMPv6 type 134) Neighbor Solicitation (ICMPv6 type 135) Neighbor Advertisement(ICMPv6 type 136) Redirect(ICMPv6 type 137) ND message options provide additional information,indicating MAC addresses,on-link net- work prefixes,on-link MTU information,redirection data,mobility information,and specific routes. To ensure that ND messages that are received have originated from a node on the local link (either a physical link or a tunnel),all ND messages are sent with a hop limit of 255.When an ND message is received,the Hop Limit field in the IPv6 header is checked.If it is not set to 255,the message is silently discarded.Verifying that the ND message has a hop limit of 255 provides protection from ND-based network attacks that are launched from off-link nodes. With a hop limit of 255,a router could not have forwarded the ND message from an off-link node. Neighbor Discovery Options ND options are formatted in type-length-value(TLV)format.Figure 6-2 shows the TLV format Type Length W Vaive w.· Figure 6-2 The TLV format for ND options !"#$ %&'%( )*+,--./,-0-,12,345678+,--./,-190:109,.;<3456781=>,-?@@129A0/2?@BC)* +,--./,-:A;-D-1AE.;)*+,--./,2,.<,9F:A+>A-,<AE.;3456782,.<,9.;<)*+,--./,G ->,:DED:<.1.F.;<H,9AA9+A9,)*A>1DA;-CID/09,8G?-2AJ-12,EA9+.1AE.;)*+,--./,C KL MN OPQRSTUVWSRVXYZUQ[[V\Q ]2,9,.9,ED7,<DEE,9,;1)*+,--./,-^ _ `A01,9aAbD:D1.1DA;c3456781=>,?@@d _ `A01,9e<7,91D-,+,;1c3456781=>,?@fd _ ),D/2gA9aAbD:D1.1DA;c3456781=>,?@hd _ ),D/2gA9e<7,91D-,+,;1c3456781=>,?@8d _ `,<D9,:1c3456781=>,?@Bd )*+,--./,A>1DA;->9A7D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