Andrea Casarin

Andrea Casarin

Published on: 10/27/2021, 3:29:25 PM - Reading time: 1 minute

VirtualBox 6.1.28 and Minikube issues

So VirtualBox 6.1.28 has been released and with it the support for Linux 5.14 and, of course, a lot of other interesting features.

I just discovered one the hard way, while upgrading my Arch machine.

I'm using minikube for local Kubernetes development, minikube itself it's a VM which by default runs on VirtualBox (and a bunch of other platforms). It creates a host-only network plus a nat network to make the magic possibile.

The default host-only network CIDR is, and here comes the problem: turns out that the latest VirtualBox version has some security limitations for host only network ranges: (In my case the reported error was: VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)).

You can either add the minikube default to the allowed ranges or change the default itself to be in the VirtualBox range.

I did the latter with a simple: minikube config set host-only-cidr "".