1 .\" $FreeBSD: src/usr.sbin/ndp/ndp.8,v 1.1.2.8 2003/08/12 16:27:57 ume Exp $
2 .\" $DragonFly: src/usr.sbin/ndp/ndp.8,v 1.5 2007/07/14 21:48:16 swildner Exp $
3 .\" $KAME: ndp.8,v 1.15 2001/02/08 07:17:03 itojun Exp $
5 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 .\" All rights reserved.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the project nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 .Nd control/diagnose IPv6 neighbor discovery protocol
62 .Op Cm delete | Ar interface
86 utility manipulates the address mapping table
87 used by Neighbor Discovery Protocol (NDP).
90 Dump the currently existing NDP entries.
99 Erase all the NDP entries.
101 Delete specified NDP entry.
103 Parse the file specified by
106 Harmonize consistency between the routing table and the default router
107 list; install the top entry of the list into the kernel routing table.
108 .It Fl I Op Cm delete | Ar interface
109 Shows or specifies the default interface used as the default route when
110 there is no default router.
111 If no argument is given to the option,
112 the current default interface will be shown.
115 is specified, the interface will be used as the default.
118 is specified, the current default interface will be deleted from the kernel.
119 .It Fl i Ar interface Op Ar flags...
120 View ND information for the specified interface.
121 If additional arguments
125 sets or clears the specified flags for the interface.
126 Possible flags are as follows.
127 All of the flags can begin with the
130 which means the flag should be cleared.
132 .Bl -tag -width Ds -compact
136 turn on or off NUD (Neighbor Unreachability Detection) on the
138 NUD is usually turned on by default.
142 Specify whether or not to accept Router Advertisement messages
145 Note that the kernel does not accept Router Advertisement messages
147 .Va net.inet6.ip6.accept_rtadv
148 variable is non-0, even if the flag is on.
149 This flag is set to 1 by default.
152 Do not try to resolve numeric address to hostname.
156 Flush all the entries in the prefix list.
158 Show default router list.
160 Flush all the entries in the default router list.
162 Register an NDP entry for a node.
163 The entry will be permanent unless the word
165 is given in the command.
168 is given, this system will act as a proxy NDP server,
169 responding to requests for
171 even though the host address is not its own.
173 Print timestamp for each entry,
174 to make it possible to merge the output with
176 Most useful when used with
183 utility will exit with 0 on success, and non-zero on errors.
191 utility first appeared in WIDE Hydrangea IPv6 protocol stack kit.