Page 1 of 1

am getting a differnet ip address in virtualbox

Posted: 10. Dec 2014, 15:08
by portserver
Pls can someone help me here, i am a newbie. i have been trying to setup a windows server 2008 on a virtualbox, but i am getting a diiferent ip address from host to quest os... my host virtualbox connection is 192.168.56.1 and my quest ip is 169.256.20.202.........i am using NAT and Host-only connection.is my host and quest not supposed to be on the same subnet?

Re: am getting a differnet ip address in virtualbox

Posted: 10. Dec 2014, 16:22
by mpack
The host and guest are separate PCs, so naturally their IP addresses are different.

Re: am getting a differnet ip address in virtualbox

Posted: 10. Dec 2014, 16:31
by Perryg
my host virtualbox connection is 192.168.56.1 and my quest ip is 169.256.20.202..
This actually suggests that the guest is not seeing the host-only DHCP server and is assigning an APIPA address. If setup properly the guest should get something like 192.168.56.101

Run the following in a command window and post the results.

Code: Select all

VBoxManage list hostonlyifs
as well as

Code: Select all

VBoxManage list dhcpservers