Presentation is loading. Please wait.

Presentation is loading. Please wait.

Guide to TCP/IP Fourth Edition

Similar presentations


Presentation on theme: "Guide to TCP/IP Fourth Edition"— Presentation transcript:

1 Guide to TCP/IP Fourth Edition
Chapter 6: Neighbor Discovery in IPv6

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.

8 Router Solicitation Determine if any IPv6 routers are on the network segment © 2013 Course Technology/Cengage Learning. All Rights Reserved.

9 Router Solicitation (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

10 Router Advertisement Inform hosts of link prefixes, link MTU, valid and preferred lifetimes Figure 6-3 ICMPv6 Router Advertisement packet structure © 2013 Course Technology/Cengage Learning. All Rights Reserved.

11 © 2013 Course Technology/Cengage Learning. All Rights Reserved.

12 © 2013 Course Technology/Cengage Learning. All Rights Reserved.

13 Neighbor Solicitation
Find (or verify) the link-layer address of a local node © 2013 Course Technology/Cengage Learning. All Rights Reserved.

14 Neighbor Solicitation (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

15 Neighbor Advertisement
Sent as a response to a Neighbor Solicitation message © 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.

17 Neighbor Advertisement (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

18 Redirect Inform a host of a better first-hop router for a destination
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

19 Redirect (cont’d.) © 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.

22 Source and Target Link-Layer Address Options (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

23 Source and Target Link-Layer Address Options (cont’d.)
Used in Neighbor Advertisement and Router Advertisement messages © 2013 Course Technology/Cengage Learning. All Rights Reserved.

24 Source and Target Link-Layer Address Options (cont’d.)
© 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.

26 © 2013 Course Technology/Cengage Learning. All Rights Reserved.

27 Prefix Information Option (cont’d.)
© 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.

29 Redirected Header Option (cont’d.)
© 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.

31 MTU Option (cont’d.) © 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.

33 Advertisement Interval Option (cont’d.)
© 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.

35 Home Agent Information Option (cont’d.)
© 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.

37 Route Information Option (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

38 Conceptual Host Model RFC 4861 Conceptual host model
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.

43 Address Resolution (cont’d.)
© 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.

45 Duplicate Address Detection
© 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.

48 Router Discovery (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

49 Router Discovery (cont’d.)
© 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.

51 Redirect Messages (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

52 Redirect Messages (cont’d.)
© 2013 Course Technology/Cengage Learning. All Rights Reserved.

53 Redirect Messages (cont’d.)
© 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.

55 Summary (cont’d.) Neighbor Solicitation and Neighbor Advertisement messages help nodes discover neighbor nodes that are on-link or off-link © 2013 Course Technology/Cengage Learning. All Rights Reserved.


Download ppt "Guide to TCP/IP Fourth Edition"

Similar presentations


Ads by Google