xref: /dragonfly/usr.sbin/prefix/prefix.8 (revision 5fb3968e)
1.\"	$KAME: prefix.8,v 1.6 2001/02/04 05:20:48 jinmei Exp $
2.\"
3.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the project nor the names of its contributors
15.\"    may be used to endorse or promote products derived from this software
16.\"    without specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\"	$FreeBSD: src/usr.sbin/prefix/prefix.8,v 1.2.2.10 2003/03/11 22:31:31 trhodes Exp $
31.\"	$DragonFly: src/usr.sbin/prefix/prefix.8,v 1.3 2007/11/21 19:12:41 swildner Exp $
32.\"
33.Dd October 10, 1998
34.Dt PREFIX 8
35.Os
36.Sh NAME
37.Nm prefix
38.Nd configure network interface prefixes
39.Sh SYNOPSIS
40.Nm
41.Bk -words
42.Ar interface prefix
43.Ek
44.Bk -words
45.Op Cm set | delete
46.Ek
47.Sh DESCRIPTION
48The
49.Nm
50utility is used to assign a prefix
51to a network interface.
52This command is currently just a frontend of
53.Xr ifconfig 8 ,
54and is not recommended to be used.
55.Sh SEE ALSO
56.Xr netstat 1 ,
57.Xr netintro 4 ,
58.Xr ifconfig 8 ,
59.Xr rc 8
60.Sh HISTORY
61The
62.Nm
63utility first appeared in WIDE/KAME IPv6 protocol stack kit.
64Previously, this command was used to manipulate prefixes separately
65from interface identifiers, intending to be used for prefix
66renumbering.
67However, it had been known that the manipulation mechanism was not
68friendly with traditional address management engine in the kernel.
69Thus, the KAME developers decided to invalidate the prefix
70manipulation mechanism, and to clarify the entire address/prefix
71manipulation in February 2001.
72Since then, this command has almost been obsoleted.
73All users should now use
74.Xr ifconfig 8 .
75.Pp
76IPv6 and IPsec support based on the KAME Project
77.Pa ( http://www.kame.net/ )
78stack was initially integrated into
79.Fx 4.0
80