summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2021-04-12 03:17:58 +0000
committerkn <kn@cvs.openbsd.org>2021-04-12 03:17:58 +0000
commit17bf87ec6a29fe188ab74984009a4bb6d3f16978 (patch)
tree4e77c3f8ec525e1e8ce673e7bf1d0099a24735d2 /sbin/ifconfig
parent542a6042c29d1e2cd1f237866d3fa49de93b4ab3 (diff)
Document bpe(4)
Diff from Marcus MERIGHI <mcmer-openbsd at tor dot at>, thanks. Feedback OK jmc OK dlg
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.830
1 files changed, 28 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index f3b481a55fd..990bb43d667 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.371 2021/03/19 19:36:10 procter Exp $
+.\" $OpenBSD: ifconfig.8,v 1.372 2021/04/12 03:17:57 kn Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: March 19 2021 $
+.Dd $Mdocdate: April 12 2021 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -182,6 +182,7 @@ Create the specified network pseudo-device.
At least the following devices can be created on demand:
.Pp
.Xr aggr 4 ,
+.Xr bpe 4 ,
.Xr bridge 4 ,
.Xr carp 4 ,
.Xr egre 4 ,
@@ -529,6 +530,31 @@ WoL frames are sent using
Disable WoL.
WoL is disabled at boot by the driver, if possible.
.El
+.Sh BPE
+.nr nS 1
+.Bk -words
+.Nm ifconfig
+.Ar bpe-interface
+.Op Oo Fl Oc Ns Cm parent Ar parent-interface
+.Op Ns Cm vnetid Ar vnetid-tag
+.Ek
+.nr nS 0
+.Pp
+The following options are available for
+.Xr bpe 4
+interfaces:
+.Bl -tag -width Ds
+.It Cm parent Ar parent-interface
+Associate the BPE interface with the interface
+.Ar parent-interface .
+.It Cm -parent
+Disassociate from the parent interface.
+This breaks the link between the BPE interface and its parent.
+.It Cm vnetid Ar vnetid-tag
+Set the virtual network identifier tag value to
+.Ar vnetid-tag .
+This is a 24-bit value in the range 0 to 16777215.
+.El
.Sh BRIDGE
The following options are available for a
.Xr bridge 4