Add two keywords "netmask" in examples. Fixes PR #14930.
This commit is contained in:
parent
6b9ab756bd
commit
0d5dab060b
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ifconfig.if.5,v 1.4 2001/11/23 18:40:59 wiz Exp $
|
||||
.\" $NetBSD: ifconfig.if.5,v 1.5 2001/12/14 15:12:39 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Matthew R. Green
|
||||
.\" All rights reserved.
|
||||
|
@ -68,8 +68,8 @@ as it will be bound to the interface being configured with the file.
|
|||
For example, the following illustrates static interface configuration:
|
||||
.Bd -literal -offset indent
|
||||
# IPv4, with an alias
|
||||
inet 10.0.1.12 255.255.255.0 media 100baseTX
|
||||
inet 10.0.1.13 255.255.255.255 alias
|
||||
inet 10.0.1.12 netmask 255.255.255.0 media 100baseTX
|
||||
inet 10.0.1.13 netmask 255.255.255.255 alias
|
||||
# let us have IPv6 address on this interface
|
||||
inet6 fec0::1 prefixlen 64 alias
|
||||
# have subnet router anycast address too
|
||||
|
|
Loading…
Reference in New Issue