From 29504faa6df18e0779ce741ca123880126f2f4a1 Mon Sep 17 00:00:00 2001 From: kn Date: Sat, 15 Feb 2020 21:03:18 +0000 Subject: 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 --- usr.sbin/vmd/vm.conf.5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/vmd') 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 .\" Copyright (c) 2015 Reyk Floeter @@ -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. -- cgit v1.2.3-59-g8ed1b