xref: /netbsd-src/share/man/man5/ifaliases.5 (revision 2a399c6883d870daece976daec6ffa7bb7f934ce)
1.\"	$NetBSD: ifaliases.5,v 1.3 1997/10/10 05:40:00 mrg Exp $
2.\"
3.\" Copyright (c) 1996 Matthew R. Green
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. The name of the author may not be used to endorse or promote products
15.\"    derived from this software without specific prior written permission.
16.\"
17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.Dd December 30, 1996
30.Dt IFALIASES 5
31.Os NetBSD 1.3
32.Sh NAME
33.Nm ifaliases
34.Nd interface aliases file
35.Sh DESCRIPTION
36The
37.Nm
38file specifies the addition addresses (aliases) that each interface will
39have, including the netmask.
40.Nm
41is processed by
42.Pa /etc/netstart
43at system boot time.
44.Pp
45Each line of the file is of the form
46.Pp
47.Bd -unfilled -offset indent -compact
48address interface netmask
49.Ed
50.Pp
51The
52.Em address
53is a network address of the alias.  This must be a number or be in
54/etc/hosts, as the nameserver is not running at this point.
55.Pp
56The
57.Em interface
58is the network interface the alias will be configured on.
59.Pp
60The
61.Em netmask
62is the netmask of the aliases network address.
63.Sh FILES
64.Pa /etc/netstart
65.Pa /etc/ifaliases
66.Sh HISTORY
67The
68.Nm
69file appeared in
70.Nx 1.2 .
71