aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-02-26 18:55:39 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-02-26 18:55:39 +0000
commitd6d1cb48a9644c2551fa09ad0aa680276c398466 (patch)
tree9aa637f729588b9b4327f9e3ce1e6f8da40123b3 /sbin/ifconfig/ifconfig.8
parent90a822243f559ea68c6a020e90978c453387f12b (diff)
downloadsrc-d6d1cb48a9644c2551fa09ad0aa680276c398466.tar.gz
src-d6d1cb48a9644c2551fa09ad0aa680276c398466.zip
Introduce ``add'' and ``remove'' as alternatives to ``alias'' and ``delete''.
Improve compatibility with BSD/OS, and also more accurately reflect that IP aliases aren't really any different than the primary IP address on an interface. Reviewed by: dcs Approved by: jkh
Notes
Notes: svn path=/head/; revision=57520
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.88
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index a100c9685276..022dc4f83f9c 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -130,11 +130,14 @@ for example,
The following parameters may be set with
.Nm ifconfig :
.Bl -tag -width indent
+.It Cm add
+Another name for the ``alias'' parameter. Introduced for compatibility
+with BSD/OS.
.It Cm alias
Establish an additional network address for this interface.
This is sometimes useful when changing network numbers, and
one wishes to accept packets addressed to the old interface.
-If the alias is on the same subnet as the first network adress
+If the address is on the same subnet as the first network adress
for this interface, a netmask of 0xffffffff has to be specified.
.It Cm anycast
(Inet6 only)
@@ -331,6 +334,9 @@ of the form startnet-endnet. Appletalk uses this scheme instead of
netmasks though
.Fx
implements it internally as a set of netmasks.
+.It Cm remove
+Another name for the ``delete'' parameter. Introduced for compatibility
+with BSD/OS.
.It Cm phase
The argument following this specifies the version (phase) of the
Appletalk network attached to the interface. Values of 1 or 2 are permitted.