xref: /netbsd-src/share/man/man4/vether.4 (revision 82d56013d7b633d116a93943de88e08335357a7c)
1.\"	$NetBSD: vether.4,v 1.2 2020/09/27 13:59:24 wiz Exp $
2.\"
3.\"	$OpenBSD: vether.4,v 1.5 2017/10/17 22:47:58 schwarze Exp $
4.\"
5.\" Copyright (c) 2009 Theo de Raadt <deraadt@openbsd.org>
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\"
19.Dd October 17, 2017
20.Dt VETHER 4
21.Os
22.Sh NAME
23.Nm vether
24.Nd virtual Ethernet interface
25.Sh SYNOPSIS
26.Cd "pseudo-device vether"
27.Sh DESCRIPTION
28The
29.Nm
30interface simulates a normal Ethernet interface by encapsulating
31standard network frames with an Ethernet header, specifically
32for use as a member in a
33.Xr bridge 4 .
34.Pp
35To use
36.Nm
37the administrator needs to configure an address onto the interface
38so that packets can be routed to it.
39An Ethernet header will be prepended and, if the
40.Nm
41interface is a member of a
42.Xr bridge 4 ,
43the frame will show up there.
44.Sh SEE ALSO
45.Xr bridge 4 ,
46.Xr ifconfig 8
47.Sh HISTORY
48The
49.Nm
50interface first appeared in
51.Ox 4.7
52and
53.Nx 10 .
54.Sh AUTHORS
55.An Theo de Raadt Aq Mt deraadt@openbsd.org
56.Sh BUGS
57Like
58.Xr tap 4 ,
59the Ethernet address chosen will be partially random, and may
60occasionally collide with another address.
61