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