请输入您要查询的百科知识:

 

词条 Neighbor Discovery Protocol
释义

  1. Functions

  2. See also

  3. References

The Neighbor Discovery Protocol (NDP, ND)[1] is a protocol in the Internet protocol suite used with Internet Protocol Version 6 (IPv6). It operates at the link layer of the Internet model (RFC 1122), and is responsible for gathering various information required for internet communication, including the configuration of local connections and the domain name servers and gateways used to communicate with more distant systems.[2]

The protocol defines five different ICMPv6 packet types to perform functions for IPv6 similar to the Address Resolution Protocol (ARP) and Internet Control Message Protocol (ICMP) Router Discovery and Router Redirect protocols for IPv4. However, it provides many improvements over its IPv4 counterparts (RFC 4861, section 3.1). For example, it includes Neighbor Unreachability Detection (NUD), thus improving robustness of packet delivery in the presence of failing routers or links, or mobile nodes.

The Inverse Neighbor Discovery (IND) protocol extension (RFC 3122) allows nodes to determine and advertise an IPv6 address corresponding to a given link-layer address, similar to Reverse ARP for IPv4. The Secure Neighbor Discovery Protocol (SEND), a security extension of NDP, uses Cryptographically Generated Addresses (CGA) and the Resource Public Key Infrastructure (RPKI) to provide an alternative mechanism for securing NDP with a cryptographic method that is independent of IPsec. Neighbor Discovery Proxy (ND Proxy) (RFC 4389) provides a service similar to IPv4 Proxy ARP and allows bridging multiple network segments within a single subnet prefix when bridging cannot be done at the link layer.

{{IPstack}}

Functions

NDP defines five ICMPv6 packet types for the purpose of router solicitation, router advertisement, neighbor solicitation, neighbor advertisement, and network redirects.[2]

Router Solicitation (Type 133)
Hosts inquire with Router Solicitation messages to locate routers on an attached link.[3] Routers which forward packets not addressed to them generate Router Advertisements immediately upon receipt of this message rather than at their next scheduled time.
Router Advertisement (Type 134)
Routers advertise their presence together with various link and Internet parameters either periodically, or in response to a Router Solicitation message.
Neighbor Solicitation (Type 135)
Neighbor solicitations are used by nodes to determine the link layer address of a neighbor, or to verify that a neighbor is still reachable via a cached link layer address.
Neighbor Advertisement (Type 136)
Neighbor advertisements are used by nodes to respond to a Neighbor Solicitation message.
Redirect (Type 137)
Routers may inform hosts of a better first hop router for a destination.

These messages are used to provide the following functionality:

  • Router discovery: hosts can locate routers residing on attached links.
  • Prefix discovery: hosts can discover address prefixes that are on-link for attached links.
  • Parameter discovery: hosts can find link parameters (e.g., MTU).
  • Address autoconfiguration: optional stateless configuration of addresses of network interfaces (see {{section link|IPv6|Stateless address autoconfiguration (SLAAC)}} and {{section link|IPv6 address|Stateless address autoconfiguration}}).
  • Address resolution: mapping between IP addresses and link-layer addresses.
  • Next-hop determination: hosts can find next-hop routers for a destination.
  • Neighbor unreachability detection (NUD): determine that a neighbor is no longer reachable on the link.
  • Duplicate address detection (DAD): nodes can check whether an address is already in use.
  • Recursive DNS Server (RDNSS) and DNS Search List (DNSSL) assignment via a router advertisement (RA) options.[4] This is a proposed standard since 2010, but not supported by all clients.
  • Packet redirection to provide a better next-hop route for certain destinations.
IANA maintains a list of all current NDP options as they are published.[5]

See also

  • NDPMon Neighbor Discovery Protocol Monitor
  • radvd (Router Advertisement Daemon)
  • Secure Neighbor Discovery

References

1. ^{{cite web|title=Protocol Overview|url=https://tools.ietf.org/html/rfc4861#section-1|work=ietf.org|publisher=The Internet Engineering Task Force (IETF)|accessdate=2016-06-07|author=Network Working Group|authorlink=Neighbor Discovery for IP version 6 (IPv6)|author2=Thomas Narten |author3=Erik Nordmark |author4=William Allen Simpson |author5=Hesham Soliman |archiveurl=https://tools.ietf.org/id/draft-ietf-ipv6-2461bis-00.txt|archivedate=2 September 2007|page=3|date=1 March 2005}}
2. ^RFC 4861, Neighbor Discovery for IP version 6 (IPv6), T. Narten et al. (September 2007)
3. ^{{cite web|title=Protocol Overview|url=https://tools.ietf.org/html/rfc4861#section-3|work=ietf.org|publisher=The Internet Engineering Task Force (IETF)|accessdate=2 March 2013|author=Network Working Group|authorlink=Neighbor Discovery for IP version 6 (IPv6)|author2=Thomas Narten |author3=Erik Nordmark |author4=William Allen Simpson |author5=Hesham Soliman |archiveurl=https://tools.ietf.org/id/draft-ietf-ipv6-2461bis-00.txt|archivedate=2 September 2007|page=9|date=1 March 2005|quote=Router Discovery: How hosts locate routers that reside on an attached link.}}
4. ^[https://tools.ietf.org/html/rfc6106 RFC 6106], IPv6 Router Advertisement Options for DNS Configuration, J. Jeong (Ed.), S. Park, L. Beloeil, S. Madanapalli (November 2010)
5. ^{{cite web | url = https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml#icmpv6-parameters-5 | title = IPv6 Neighbor Discovery Option Formats | work = Internet Control Message Protocol version 6 (ICMPv6) Parameters | publisher = Internet Assigned Numbers Authority | accessdate = 2017-12-16 | date = 2017-12-05 }}
{{IPv6}}

4 : Internet protocols|Internet Standards|IPv6|Link protocols

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 12:24:32