Upload
delphia-bradley
View
225
Download
5
Tags:
Embed Size (px)
Citation preview
2
Objectives
• Describe Neighbor Discovery in IPv6 and how it compares to ARP in IPv4
• Explain Neighbor Discovery message interaction between hosts and routers
• Describe the process flow for how a node determines that its IPv6 address is unique and how it communicates on the IPv6 network
• Explain each of the main Neighbor Discovery messages and what information each of them provides to a node
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
3
Objectives (cont’d.)
• Identify the data components that a host stores in local memory to facilitate IPv6 communications with other nodes
• Describe how a host receives updates concerning better first-hops to access nodes not on-link
• Identify, when capturing and reviewing ICMPv6 data using a network protocol analyzer, the Neighbor Discovery messages and option fields in those packets using specific decode filters
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
4
Understanding Neighbor Discovery
• IPv6 Neighbor Discovery (ND) protocol– Specified in RFC 4861 and RFC 5942
• Permits nodes to:– Find out what link they are located on– Learn link address prefixes– Learn where a link’s working routers reside– Discover link neighbors– Discover which neighbors are active
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
5
Understanding Neighbor Discovery (cont’d.)
• ND uses five ICMPv6 message types:– Router Solicitation (RS) (ICMPv6 type 133)– Router Advertisement (RA) (ICMPv6 type 134)– Neighbor Solicitation (NS) (ICMPv6 type 135)– Neighbor Advertisement (NA) (ICMPv6 type 136)– Redirect (ICMPv6 type 137)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
6
Comparing IPv6 Neighbor Discovery Protocols to IPv4 Protocols
Table 6-1 Comparing IPv6 ND to IPv4 protocols
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
7
Neighbor Discovery Message Formats
• Five primary message types for ND
• Message formats – Provide the foundation for IPv6 operational
processes for node-to-node communications
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Router Solicitation
• Determine if any IPv6 routers are on the network segment
8© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Router Advertisement
• Inform hosts of link prefixes, link MTU, valid and preferred lifetimes
10
Figure 6-3 ICMPv6 Router Advertisement packet structure
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Neighbor Solicitation
• Find (or verify) the link-layer address of a local node
13© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Neighbor Advertisement
• Sent as a response to a Neighbor Solicitation message
15© 2013 Course Technology/Cengage Learning. All Rights Reserved.
16
Neighbor Advertisement (cont’d.)
Table 6-5 ICMPv6 Neighbor Advertisement message format fields (continues)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Redirect
• Inform a host of a better first-hop router for a destination
18© 2013 Course Technology/Cengage Learning. All Rights Reserved.
20
Neighbor Discovery Option Formats
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
21
Source and Target Link-Layer Address Options
• Source Link-Layer Address option– Used in Neighbor Solicitation, Router Solicitation,
and Redirect messages
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Source and Target Link-Layer Address Options (cont’d.)
22© 2013 Course Technology/Cengage Learning. All Rights Reserved.
23
Source and Target Link-Layer Address Options (cont’d.)
• Target Link-Layer Address option– Used in Neighbor Advertisement and Router
Advertisement messages
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Source and Target Link-Layer Address Options (cont’d.)
24© 2013 Course Technology/Cengage Learning. All Rights Reserved.
25
Prefix Information Option
• Used in Router Advertisement messages
• Contains prefix information for on-link addresses and prefixes used for address autoconfiguration
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Prefix Information Option (cont’d.)
27© 2013 Course Technology/Cengage Learning. All Rights Reserved.
28
Redirected Header Option
• Sent in Redirect messages – Contains all or part of the original IPv6 packet being
redirected
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Redirected Header Option (cont’d.)
29© 2013 Course Technology/Cengage Learning. All Rights Reserved.
30
MTU Option
• Sent in Router Advertisement messages– Provides a common MTU value for nodes on the
same network segment
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
32
Advertisement Interval Option
• Used in Mobile IPv6 by mobile nodes receiving Router Advertisement messages– For their movement detection algorithm
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Advertisement Interval Option (cont’d.)
33© 2013 Course Technology/Cengage Learning. All Rights Reserved.
34
Home Agent Information Option
• May include the Home Agent Information option in their Router Advertisement messages
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Home Agent Information Option (cont’d.)
35© 2013 Course Technology/Cengage Learning. All Rights Reserved.
36
Route Information Option
• Sent in Router Advertisement messages– Specifies individual routes for hosts to add to their
Default Router List
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
Route Information Option (cont’d.)
37© 2013 Course Technology/Cengage Learning. All Rights Reserved.
38
Conceptual Host Model
• RFC 4861 – Defines what must occur for the ND process to be
successful
• Conceptual host model– Represents information that a host should maintain
to communicate effectively in an IPv6 network– Primarily concerned with operational behavior by
hosts
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
39
Storing Neighbor Data on a Host
• Store following information for each active network interface– Neighbor cache– Destination cache– Prefix list– Default router list
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
40
Conceptual Sending Algorithm
• Node needs to find out the IP address of next-hop – By examining its destination cache to learn the
associated link-layer address• By examining its neighbor cache
• If the node does not have these addresses available– It invokes a process called “next-hop determination”
• To populate its caches and lists with its neighbor’s addressing information
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
41
Neighbor Discovery Process
• ND involves a number of processes:– Address Resolution– Neighbor Unreachability Detection– Duplicate Address Detection– Router Discovery– Redirect Function
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
42
Address Resolution
Figure 6-25 Address Resolution process: Step 1, Neighbor Solicitation
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
44
Neighbor Unreachability Detection
• Used for node-to-neighbor-node verification of on-link communications capability
• Nodes consider neighbors reachable– If there have been recent communications by an
upper-layer protocol
• Five states for a neighbor cache entry– INCOMPLETE– REACHABLE– STALE– DELAY– PROBE
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
46
Duplicate Address Detection (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
47
Router Discovery
• Used by nodes to:– Discover neighbor routers on the local link– Learn prefixes– Configure their default gateway, and other possible
parameters relating to autoconfiguration
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
50
Redirect Messages
• Routers send Redirect messages– To inform hosts that there is a better first-hop router
to send packets to a specific destination
• Used by routers to inform a host that a destination node is an on-link neighbor
© 2013 Course Technology/Cengage Learning. All Rights Reserved.
54
Summary
• IPv6 introduces a Neighbor Discovery protocol– Helps support stateless autoconfiguration and
provides improved support for mobile users
• The conceptual host model represents information that a host should maintain to communicate effectively in an IPv6 network
• Router Solicitation and Router Advertisement messages help nodes learn network prefixes and other stateless and/or stateful address autoconfiguration capabilities
© 2013 Course Technology/Cengage Learning. All Rights Reserved.