Chapter 6 Neighbor Discovery At the end of this chapter,you should be able to do the following: ■Describe the functions of the Neighbor Discovery(ND)protocol. ■List and describe the function and format of ND options. ■List and describe the function and format of ND messages. ■Describe which ND messages use which ND options. Describe the details of the address resolution,neighbor unreachability detection, duplicate address detection,router discovery,and redirect processes. Describe the host sending algorithm in terms of host data structures and ND messages. Neighbor Discovery Overview Internet Protocol version 6 (IPv6)Neighbor Discovery (ND)is a set of messages and pro- cesses defined in RFC 4861 that determine relationships between neighboring nodes.ND replaces Address Resolution Protocol (ARP),Internet Control Message Protocol (ICMP) router discovery,and the ICMP Redirect message used in IPv4.ND also provides additional functionality. ND is used by nodes to do the following: Resolve the link-layer address of a neighboring node to which an IPv6 packet is being forwarded. ■Determine when the link-layer address of a neighboring node has changed ■Determine whether a neighbor is still reachable. ND is used by hosts to do the following: ■Discover neighboring routers. ■Autoconfigure addresses,address prefixes,routes,and other configuration parameters. ND is used by routers to do the following: ■Advertise their presence,host configuration parameters,routes,and on-link prefixes. Inform hosts of a better next-hop address to forward packets for a specific destination. 123 !"#$%&'() *# *+,%,+ ! ++ -"./ 0 12345672892:;<486=<3=:892>26?97=51634=@25AB>1CD5=8=4=EF 0 G638H<II2345672892:;<486=<H<I:=5JH8=:>1=D86=<3F 0 G638H<II2345672892:;<486=<H<I:=5JH8=:>1J233H?23F 0 12345672K9649>1J233H?23;32K9649>1=D86=<3F 0 12345672892I28H6E3=:892HII5233523=E;86=<L<26?97=5;<52H49H76E68AI282486=<L I;DE64H82HII5233I282486=<L5=;825I634=@25ALH<I52I65248D5=423323F 0 123456728929=3832<I6<?HE?=5689J6<825J3=:9=38IH8H385;48;523H<I>1J233H?23F MN OPQRSPRQTSUQUVUWXRSYZUP[\OTX[]^RZ_`aUSbZYVUXRSc\^b]ZYdYRQUefRYYd_RYdPghSUi VRYYRYgReZPRgZPjklmn[oQ`dQgRQRSfZPRSRWdQZUPY`ZhYaRQpRRPPRZ_`aUSZP_PUgRYq^b SRhWdVRYrggSRYYjRY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