2 .\" Copyright (c) 2008 The FreeBSD Foundation
3 .\" All rights reserved.
5 .\" This software was developed by CK Software GmbH under sponsorship
6 .\" from the FreeBSD Foundation.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 .Nd A pair of virtual back-to-back connected Ethernet interfaces
38 To compile this driver into the kernel,
39 place the following line in your
40 kernel configuration file:
41 .Bd -ragged -offset indent
45 Alternatively, to load the driver as a
46 module at boot time, place the following line in
48 .Bd -literal -offset indent
54 is a pair of Ethernet-like software interfaces,
55 which are connected back-to-back with a virtual cross-over cable.
59 interface pair is created at runtime using interface cloning.
60 This is most easily done with the
67 While for cloning you only give either
73 pair will be named like
75 This means the names of the first
82 Like any other Ethernet interface, an
84 needs to have a network address.
87 will be assigned a locally administered address by default,
88 that is only guaranteed to be unique within one network stack.
89 To change the default addresses one may use the SIOCSIFADDR ioctl(2) or
92 The basic intent is to provide connectivity between two virtual
93 network stack instances.
96 one end of the interface pair can also be part of another (virtual) LAN.
97 As with any other Ethernet interface,
101 configured on top of it.
114 interface first appeared in
119 interface was written by
120 .An Bjoern A. Zeeb, CK Software GmbH,
121 under sponsorship from the FreeBSD Foundation.