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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 > [email protected] > https://www.virtualbox.org/mailman/listinfo/vbox-dev > > > > >
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
