A bit of VirtualBox scripting – NAT & DHCP

Maybe someone will find it useful…

Please note, as of today (2018-11-03) there appears to be an annoying issue with the DHCP server (5.2.20) for “NAT Network” (not just “NAT”). If you change the settings for the built-in DHCP server, you have to shut down any VM that is involved and delete the lease file (e.g. $HOME/.conf/Virtualbox/natnet1.leases).

If this is not done, the DHCP server will happily hand out old non-matching leases:

This entry was posted in Computer / Server and tagged , , , , . Bookmark the permalink.