diff options
author | kn <kn@cvs.openbsd.org> | 2020-02-15 21:03:19 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2020-02-15 21:03:19 +0000 |
commit | c4c827464a9af40d0a3748eeb5763ed0b72b7402 (patch) | |
tree | ef62fb067406330be915592f14a091d9ba50608a /usr.sbin/vmd/vm.conf.5 | |
parent | 7f575b2b90078628c0244d2ad6ee8966d19a2500 (diff) |
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/vm.conf.5')
-rw-r--r-- | usr.sbin/vmd/vm.conf.5 | 6 |
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. |