CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2017/04/19 09:38:32

Modified files:
        usr.sbin/vmd   : Makefile parse.y priv.c virtio.c virtio.h vm.c 
                         vm.conf.5 vmd.c vmd.h 
        usr.sbin/vmctl : main.c vmctl.8 vmctl.c 
Added files:
        usr.sbin/vmd   : dhcp.c dhcp.h packet.c 

Log message:
Add support for dynamic "NAT" interfaces (-L/local interface).

When a local interface is configured, vmd configures a /31 address on
the tap(4) interface of the host and provides another IP in the same
subnet via DHCP (BOOTP) to the VM.  vmd runs an internal BOOTP server
that replies with IP, gateway, and DNS addresses to the VM.  The
built-in server only ever responds to the VM on the inside and cannot
leak its DHCP responses to the outside.

Thanks to Uwe Werler, Josh Grosse, and some others for testing!

OK deraadt@

Reply via email to