Index: /trunk/src/VBox/Main/src-server/HostImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/HostImpl.cpp	(revision 35894)
+++ /trunk/src/VBox/Main/src-server/HostImpl.cpp	(revision 35895)
@@ -1101,5 +1101,24 @@
     int r = NetIfCreateHostOnlyNetworkInterface(m->pParent, aHostNetworkInterface, aProgress);
     if (RT_SUCCESS(r))
-        return S_OK;
+    {
+        Bstr name;
+
+        HRESULT hrc = (*aHostNetworkInterface)->COMGETTER(Name)(name.asOutParam());
+        ComAssertComRCRet(hrc, hrc);
+        /*
+         * We need to write the default IP address and mask to extra data now,
+         * so the interface gets re-created after vboxnetadp.ko reload.
+         * Note that we avoid calling EnableStaticIpConfig since it would
+         * change the address on host's interface as well and we want to
+         * postpone the change until VM actually starts.
+         */
+        hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress", name.raw()).raw(),
+                                    getDefaultIPv4Address(name).raw());
+        ComAssertComRCRet(hrc, hrc);
+        hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPNetMask", name.raw()).raw(),
+                                    Bstr(VBOXNET_IPV4MASK_DEFAULT).raw());
+
+        return hrc;
+    }
 
     return r == VERR_NOT_IMPLEMENTED ? E_NOTIMPL : E_FAIL;
