Cant give static IP to Host only adapter
Posted: 3. Feb 2015, 22:27
I am using Virtual Box 4.3.2 with extension pack on Windows 8.1.
When i create a Host only adapter and Give this Ip 10.20.0.2 subnet 255.255.255.0 DHCP disabled, it automatically reverts to an APIPA. I cant manually change the it's from network connections as i get this error "in order to configure tcp/ip you must install newtwork adapter".
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
284e
8643
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 08:00:27:00:28:da
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter**
I tried this:
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 10.20.0.2 --netmask 255.255.255.0
still nothing happens
Please Help
When i create a Host only adapter and Give this Ip 10.20.0.2 subnet 255.255.255.0 DHCP disabled, it automatically reverts to an APIPA. I cant manually change the it's from network connections as i get this error "in order to configure tcp/ip you must install newtwork adapter".
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
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 08:00:27:00:28:da
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter**
I tried this:
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 10.20.0.2 --netmask 255.255.255.0
still nothing happens
Please Help