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

2014-06-05 Thread Maxime Dor
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 karolineh...@yahoo.de wrote: Hi, can someone explain how I can create a host-only network interface, configure it with static IP

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

2014-06-05 Thread Karoline Haus
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

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

2014-06-05 Thread Maxime Dor
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

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

2014-06-04 Thread Karoline Haus
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.