1 .\" $FreeBSD: src/usr.sbin/ndp/ndp.8,v 1.1.2.6 2001/08/16 15:56:09 ru Exp $
2 .\" $KAME: ndp.8,v 1.15 2001/02/08 07:17:03 itojun Exp $
4 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. Neither the name of the project nor the names of its contributors
16 .\" may be used to endorse or promote products derived from this software
17 .\" without specific prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
23 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 .Nd control/diagnose IPv6 neighbor discovery protocol
61 .Op Cm delete | Ar interface
85 command manipulates the address mapping table
86 used by Neighbor Discovery Protocol (NDP).
89 Dump the currently existing NDP entries.
98 Erase all the NDP entries.
100 Delete specified NDP entry.
102 Parse the file specified by
105 Harmonize consistency between the routing table and the default router
106 list; install the top entry of the list into the kernel routing table.
107 .It Fl I Op Cm delete | Ar interface
108 Shows or specifies the default interface used as the default route when
109 there is no default router.
110 If no argument is given to the option,
111 the current default interface will be shown.
114 is specified, the interface will be used as the default.
117 is specified, the current default interface will be deleted from the kernel.
118 .It Fl i Ar interface Op Ar flags...
119 View ND information for the specified interface.
120 If additional arguments
124 sets or clears the specified flags for the interface.
125 Possible flags are as follows.
126 All of the flags can begin with the
129 which means the flag should be cleared.
131 .Bl -tag -width Ds -compact
135 turn on or off NUD (Neighbor Unreachability Detection) on the
137 NUD is usually turned on by default.
140 Show link-layer reachability information.
142 Do not try to resolve numeric address to hostname.
146 Flush all the entries in the prefix list.
148 Show default router list.
150 Flush all the entries in the default router list.
152 Register an NDP entry for a node.
153 The entry will be permanent unless the word
155 is given in the command.
158 is given, this system will act as an proxy NDP server,
159 responding to requests for
161 even though the host address is not its own.
163 Print timestamp on each entries,
164 to make it possible to merge output with
166 Most useful when used with
173 command will exit with 0 on success, and non-zero on errors.
181 command first appeared in WIDE Hydrangea IPv6 protocol stack kit.