Chapter3
NDPConguration
TableofContents
NDPOverview............................................................................................................3-1
ConguringNDP........................................................................................................3-2
NDPCongurationExample.......................................................................................
3-6
3.1NDPOverview
TheNeighborDiscoveryProtocol(NDP)implementstherouterdiscoveryfunctionofthe
AddressResolutionProtocol(ARP)andtheInternetControlMessageProtocol(ICMP)
aswellasallfunctionsoftheredirectionprotocolinIPv4.Italsoprovidesaneighbor
unreachabilitydetectionmechanism.
WhenoneIPv6nodeappearsonthenetwork,theotherIPv6nodesonthelinkthatdirectly
connectswiththenodecandiscoverthenodethroughtheneighbordiscoveryprotocoland
canfurtherobtainitslinklayeraddress.IPv6nodescanalsosearchforroutersthrough
theneighbordiscoveryprotocolandmaintainthereachabilityinformationabouttheactive
neighboringnodesonthepath.Theneighbordiscoveryprotocolsolvestheinteractions
betweennodesonthesamelink.
TheIPv6NDPprovidesagroupofsolutionsforsolvingcommunication-relatedproblems.
lTheNDPsupportsaddressresolution,thatis,itcanresolvetheIPv6addressofone
IPv6nodeinterfaceintothecorrespondinglinklayeraddress.
lTheNDPsupportsrouterdiscovery.Ahostcandetecttheexistenceofroutersthrough
theNDPanddeterminetheIDsoftherouterswillingtoforwardpackets.
lTheNDPsupportsprexdiscovery.Aroutercandistributeprexinformationthrough
theNDPtotheotherconnectedlinks.
lTheNDPalsosupportsneighborunreachabilitydetection.Anodecandeterminethe
bidirectionalreachabilityofpeercommunicationentitiesthroughtheNDP .
lTheNDPalsosupportsDuplicateAddressDetection(DAD).Theaddresses
conguredonanodecannotbecomevalidaddressesuntiltheypassDAD.
AllthesefunctionsoftheNDParemostlyimplementedbyNDPpacketsloadedinside
ICMPv6packets.Forthisreason,theNDPdenesvetypesofICMPv6packets:Router
Solicitation(RS)packets,RouterAdvertisement(RA)packets,NeighborSolicitation(NS)
packets,NeighborAdvertisement(NA)packets,andredirectionpackets.
ArouterperiodicallysendsRApackets,andmayalsousethemasaresponsetotheRS
packetsithasreceivedfromhosts.EachRApacketmayalsocontainprexinformation,
linkcongurationinformationandIPv6protocolparameters.Itindicatestheexistenceof
routers,androuterscanforwardthepacket.TheRApacketcarriestheinformationabout
3-1
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential