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

Karoline Haus karolinehaus at yahoo.de
Thu Jun 5 07:51:31 GMT 2014


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/6f80627e/attachment.html>


More information about the vbox-dev mailing list