summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2020-02-15 21:03:18 +0000
committerkn <kn@openbsd.org>2020-02-15 21:03:18 +0000
commit29504faa6df18e0779ce741ca123880126f2f4a1 (patch)
treed6eff6af20cfd8c559844a3b979d18ad53cd2158 /usr.sbin/vmd
parent*_minphys() functions that cap i/o sizes at a value larger than the (diff)
downloadwireguard-openbsd-29504faa6df18e0779ce741ca123880126f2f4a1.tar.xz
wireguard-openbsd-29504faa6df18e0779ce741ca123880126f2f4a1.zip
DHCP is configured on the first interface only
A VM can have multiple interfaces, but only the first one gets DHCP if "-L" (vmctl) or "local" (vm.conf) is specified. Positive feedback Mike Larkin
Diffstat (limited to 'usr.sbin/vmd')
-rw-r--r--usr.sbin/vmd/vm.conf.56
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/vmd/vm.conf.5 b/usr.sbin/vmd/vm.conf.5
index 140d6bd08f5..866b97204c6 100644
--- a/usr.sbin/vmd/vm.conf.5
+++ b/usr.sbin/vmd/vm.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vm.conf.5,v 1.51 2020/02/10 13:18:22 schwarze Exp $
+.\" $OpenBSD: vm.conf.5,v 1.52 2020/02/15 21:03:18 kn Exp $
.\"
.\" Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 10 2020 $
+.Dd $Mdocdate: February 15 2020 $
.Dt VM.CONF 5
.Os
.Sh NAME
@@ -272,7 +272,7 @@ Stop the interface from forwarding packets.
.Pp
A
.Cm local
-interface will auto-generate an IPv4 subnet for the interface,
+interface will auto-generate an IPv4 subnet for the first interface,
configure a gateway address on the VM host side,
and run a simple DHCP/BOOTP server for the VM.
This option can be used for layer 3 mode without configuring a switch.