1 00:00:00,210 --> 00:00:07,350 Neighbor Discovery Protocol or NDP has a number of functions with regards to IP version six. 2 00:00:07,500 --> 00:00:12,870 The first one is Slack, which again is stateless address order configuration. 3 00:00:13,320 --> 00:00:18,600 A host can discover which subnet or prefix it belongs to. 4 00:00:19,170 --> 00:00:26,460 A host or PC, as an example, could use its Mac address for the host portion of an IP version six address, 5 00:00:26,460 --> 00:00:32,910 but it needs to know which subnet it belongs to or which prefix it belongs to, and the length of that 6 00:00:32,910 --> 00:00:33,840 prefix. 7 00:00:34,170 --> 00:00:41,340 A router can dynamically allocate the network portion of the address to a host using Slack, and I'm 8 00:00:41,340 --> 00:00:43,500 going to demonstrate that in a moment. 9 00:00:43,950 --> 00:00:48,630 Router Discovery is how IP Version six hosts discover routers. 10 00:00:48,630 --> 00:00:54,960 So Router Discovery would be used by a host to determine the subnet that it belongs to. 11 00:00:55,530 --> 00:01:00,480 The host again needs to determine the network portion of an address and it can use router discovery 12 00:01:00,480 --> 00:01:02,040 messages to do that. 13 00:01:02,310 --> 00:01:09,480 Duplicate address translation or D&D is used by a host to determine that no other host is using the 14 00:01:09,480 --> 00:01:10,830 same IP address. 15 00:01:11,160 --> 00:01:18,300 We don't want to have duplicate addresses if by some reason there are two hosts on the same subnet using 16 00:01:18,300 --> 00:01:19,500 the same MAC address. 17 00:01:19,500 --> 00:01:25,050 Duplicate address detection can be used to determine if there are duplicate addresses. 18 00:01:25,530 --> 00:01:33,210 An IP version six PC will first check whether another host is using the same IP version six a unicast 19 00:01:33,210 --> 00:01:38,310 address as itself before it tries to use that address. 20 00:01:39,050 --> 00:01:44,840 In addition, neighbor discovery protocol is used for neighbor Mac Discovery. 21 00:01:44,900 --> 00:01:48,170 There's no ARP messages in IP version six. 22 00:01:48,740 --> 00:01:50,700 ARP uses broadcasts. 23 00:01:50,720 --> 00:01:53,540 Broadcasts are not supported and IP version six. 24 00:01:53,690 --> 00:01:56,870 So a different mechanism is required. 25 00:01:57,610 --> 00:02:03,880 And again, neighbor discovery protocol is used to discover neighboring Mac addresses. 26 00:02:04,480 --> 00:02:10,750 If a PC needs to ping another device on the same subnet, it needs to know what the Mac address is of 27 00:02:10,750 --> 00:02:12,610 that neighboring device. 28 00:02:12,610 --> 00:02:16,960 So it determines the MAC address through neighbor Mac Discovery. 29 00:02:16,990 --> 00:02:20,860 NDP replaces IP version for ARP. 30 00:02:21,660 --> 00:02:26,130 So how do you IPV six hosts discover routers? 31 00:02:26,460 --> 00:02:31,440 ICMP Version six replaces IP version for ICMP. 32 00:02:32,120 --> 00:02:35,450 Again, there's a lot of similarity between the protocols. 33 00:02:35,480 --> 00:02:43,430 IP Version six ICMP supports echo requests and echo replies, so you can use pings in the same way as 34 00:02:43,430 --> 00:02:45,110 you did an IP version for.