summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2006-06-19 22:20:45 +0000
committermlaier <mlaier@FreeBSD.org>2006-06-19 22:20:45 +0000
commitf5cde2819f76cb3f86ff02a0c422b289ce94a096 (patch)
tree1d514a3c44a007d12f9a4007d15e7afe23180bb0 /sbin/ifconfig/ifconfig.8
parent5a4834b848117e80b174a1d51aff1cfd5e9c8c2d (diff)
downloadFreeBSD-src-f5cde2819f76cb3f86ff02a0c422b289ce94a096.zip
FreeBSD-src-f5cde2819f76cb3f86ff02a0c422b289ce94a096.tar.gz
Import interface groups from OpenBSD. This allows to group interfaces in
order to - for example - apply firewall rules to a whole group of interfaces. This is required for importing pf from OpenBSD 3.9 Obtained from: OpenBSD (with changes) Discussed on: -net (back in April)
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.822
1 files changed, 21 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index e1c2540..363ec78 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -28,7 +28,7 @@
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
.\" $FreeBSD$
.\"
-.Dd February 27, 2006
+.Dd April 12, 2006
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -71,6 +71,8 @@
.Op Fl u
.Op Fl v
.Op Fl C
+.Nm
+.Op Fl g Ar groupname
.Sh DESCRIPTION
The
.Nm
@@ -178,6 +180,8 @@ parameter is a string of the form
.Dq name unit ,
for example,
.Dq Li ed0 .
+.It Ar groupname
+List the interfaces in the given group.
.El
.Pp
The following parameters may be set with
@@ -262,6 +266,22 @@ the system will not attempt to
transmit messages through that interface.
If possible, the interface will be reset to disable reception as well.
This action does not automatically disable routes using the interface.
+.It Cm group Ar group-name
+Assign the interface to a
+.Dq group .
+Any interface can be in multiple groups.
+.Pp
+Cloned interfaces are members of their interface family group by default.
+For example, a PPP interface such as
+.Em ppp0
+is a member of the PPP interface family group,
+.Em ppp .
+.\" The interface(s) the default route(s) point to are members of the
+.\" .Em egress
+.\" interface group.
+.It Cm -group Ar group-name
+Remove the interface from the given
+.Dq group .
.It Cm eui64
(Inet6 only.)
Fill interface index
OpenPOWER on IntegriCloud