[vbox-dev] Creating host-only network interfaces with VBOX API

Maxime Dor maxime.dor at altherian.org
Thu Jun 5 07:55:39 GMT 2014


https://www.virtualbox.org/sdkref/interface_i_host_network_interface.html#a9a1d4230921a31b3205e031520f6f86b

The Host-Only interface has a networkName property that should be what you
require for the DHCP server - never used it before so it's only a guess,
but it looks like a good match.


On 5 June 2014 09:51, Karoline Haus <karolinehaus at yahoo.de> wrote:

> Thanks, that's exactly what I was looking for.
>
> Now once I have created one of these, how to I go about attaching a DHCP
> server to them via the API? I can see that I can only pass a network name
> to the DHCP server object, but not a host-only interface name? Or is that
> the same?
>
> Thanks for your help.
>
>
>   Maxime Dor <maxime.dor at altherian.org> schrieb am 9:04 Donnerstag,
> 5.Juni 2014:
>
>
> Hi,
>
>
> https://www.virtualbox.org/sdkref/interface_i_host.html#a96ee805c081da0c69ac90cab82f3e4e6
> This would be your start point.
>
>
> On 5 June 2014 07:37, Karoline Haus <karolinehaus at yahoo.de> wrote:
>
> Hi, can someone explain how I can create a host-only network interface,
> configure it with static IP addresses, or DHCP, and then attach it to a VM?
> I cannot find the API call to create these type of network interfaces? Many
> thanks for any pointers.
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140605/a5a22788/attachment.html>


More information about the vbox-dev mailing list