From 3c990b3b981bcee2f013d665f451cec4d937ab86 Mon Sep 17 00:00:00 2001 From: kn Date: Mon, 12 Apr 2021 03:17:57 +0000 Subject: [PATCH] Document bpe(4) Diff from Marcus MERIGHI , thanks. Feedback OK jmc OK dlg --- sbin/ifconfig/ifconfig.8 | 30 ++++++++++++++++++++++++++++-- 1 file 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 -- 2.20.1