VirtualBox

Changes between Initial Version and Version 1 of Ticket #8796, comment 17


Ignore:
Timestamp:
Jun 22, 2015 2:25:19 PM (9 years ago)
Author:
vboxcomapijunkie

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8796, comment 17

    initial v1  
     1'''[UPDATE]'''
     2
     3I have performed a lot of testing with host-only networks (up to and including version 4.3.28) and it seems that there are several bugs with this thing at least on MS Windows hosts:[[BR]]
     4When 1st (default) adapter is there and you add a second one, then:[[BR]]
     5  a) Set IP address to 172.16.1.2 with mask 255.255.255.0; new network adapter in Windows network control panel is OK. In VirtualBox UI, a generated IP address with mask 255.255.0.0 is shown instead. Interface is malfunctioning (of course).[[BR]]
     6  b) Workaround posted by 'Bright' does not work either. You can remove all network adapters and create a new one. New one will not work as expected (at least sometimes).[[BR]]
     7  c) It randomly happens that if I remove all adapters and create two new ones, then '''no error are reported.''' After closing and re-opening the VirtualBox UI, none of the network adapters are still there (also not in the MS Windows network control panel).[[BR]]
     8
     9Moreover, once the host-only interface gets configured in the right way, then starting a virtual machine and pinging the (static) IP configured on eth1 in the VM (in my case: 172.16.1.15) from the physical host takes up to fifteen (15!!!) seconds until the interface comes up and pongs. Please note that the services in the VM bound to this IP are up and running after approx. four seconds. Once it is up and running, then everyhting works smoothly, though.[[BR]]
     10
     11'''[PREVIOUS POST]'''[[BR]]
    112I can confirm that version 4.3.26 still suffers from this UGLY bug: If you define a host-only network adapter (I use the MS COM API to accomplish this task), then addr=172.16.1.2 and mask=255.255.255.0 (/24) SOMETIMES works, sometimes not, i.e. DHCP is disabled but an arbitrary IPv4 address appears instead of the configured one. The VirtualBox.xml file indicates the ExtraDataItem-Elements with the correct values (172.16.1.2, 255.255.255.0) but VBOX does not seem to care about it.
    213

© 2023 Oracle
ContactPrivacy policyTerms of Use