VMs may have multiple interface, but only "the [first]" interface gets
DHCP if `-L'/`local' is specified.

OK?


Index: usr.sbin/vmctl/vmctl.8
===================================================================
RCS file: /cvs/src/usr.sbin/vmctl/vmctl.8,v
retrieving revision 1.70
diff -u -p -r1.70 vmctl.8
--- usr.sbin/vmctl/vmctl.8      15 Sep 2019 12:06:20 -0000      1.70
+++ usr.sbin/vmctl/vmctl.8      13 Feb 2020 18:53:00 -0000
@@ -204,7 +204,7 @@ Number of network interfaces to add to t
 .It Fl L
 Add a local network interface.
 .Xr vmd 8
-will auto-generate an IPv4 subnet for the 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.
 See
Index: usr.sbin/vmd/vm.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/vmd/vm.conf.5,v
retrieving revision 1.51
diff -u -p -r1.51 vm.conf.5
--- usr.sbin/vmd/vm.conf.5      10 Feb 2020 13:18:22 -0000      1.51
+++ usr.sbin/vmd/vm.conf.5      13 Feb 2020 18:53:54 -0000
@@ -272,7 +272,7 @@ Stop the interface from forwarding packe
 .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.

Reply via email to