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