Rototillage: Update the date; addition => additional; netstart => rc.d/network;

line format to .Ar syntax; .Em => .Ar; Clarify the meaning of netmask omission;
Resort FILES; Remove NOTES.
This commit is contained in:
jhawk 2000-08-03 03:42:23 +00:00
parent b94e29816f
commit cad42d1288
1 changed files with 18 additions and 19 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ifaliases.5,v 1.7 2000/07/25 18:47:29 jdolecek Exp $
.\" $NetBSD: ifaliases.5,v 1.8 2000/08/03 03:42:23 jhawk Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd December 30, 1996
.Dd August 2, 2000
.Dt IFALIASES 5
.Os
.Sh NAME
@ -35,40 +35,39 @@
.Sh DESCRIPTION
The
.Nm
file specifies the addition addresses (aliases) that each interface will
have, including the netmask.
file specifies the additional addresses (aliases) that each interface
has.
.Nm
is processed by
.Pa /etc/netstart
.Pa /etc/rc.d/network
at system boot time.
.Pp
Each line of the file is of the form
.Pp
Each line of the file is of the form:
.Bd -unfilled -offset indent -compact
address interface netmask
.Ar address interface Op Ar netmask
.Ed
.Pp
The
.Em address
is a network address of the alias. This must be a number or be in
/etc/hosts, as the nameserver is not running at this point.
.Ar address
is a network address of the alias. This must be a number, or must be in
.Pa /etc/hosts ,
since the nameserver is not running at this point.
.Pp
The
.Em interface
.Ar interface
is the network interface the alias will be configured on.
.Pp
The
.Em netmask
is the netmask of the alias's network address.
.Ar netmask
is the netmask of the alias's network address. Although this is
optional, omitting the netmask is discouraged. Omission results in
the use of the classful netmask associated with
.Ar address .
.Sh FILES
.Pa /etc/rc.d/network
.Pa /etc/ifaliases
.Pa /etc/rc.d/network
.Sh HISTORY
The
.Nm
file appeared in
.Nx 1.2 .
.Sh NOTES
Though the format without netmask is still supported
for compatibility, it's usage is discouradged - you should
always specify netmask explicitly.