When I configure the IP address of VirtualBox 4.3.2 (running on Windows 8.1) host only adapter, it changes it back to some other IP. Guest OS is CentOS 6.5.
I tried to set the IP in network connections in device manager. But I get this error after I clicked on properties of TCP/IPv4:
In order to configure tcp/ip you must install newtwork adapter.
I want to give these settings to Host only adapter:
- IP: 10.20.0.2
- Mask: 255.255.255.0
DHCP disabled.
But it automatically gets changed to something like:
- IP: 169.254.134.67 // Not fixed every time a new one
- Mask: 255.255.0.0
Here is the output of hostonlyifs
:
C:\Program Files\Oracle\VirtualBox>VBoxManage list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter
GUID: ce2a5907-6034-4bb0-a45d-e30e90c17483
DHCP: Enabled
IPAddress: 169.254.134.67
NetworkMask: 255.255.0.0
IPV6Address: fe80:0000:0000:0000:08bf:284e:1182:8643
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 08:00:27:00:28:da
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
As you can see above it shows DHCP enbled even though I did not enable it.
I tried doing this:
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 10.20.0.2 --netmask 255.255.255.0
Still nothing happens.
I have disabled APIPA now the IP gets changed to 0.0.0.0
.
No comments:
Post a Comment