am getting a differnet ip address in virtualbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
portserver
Posts: 1
Joined: 10. Dec 2014, 14:58

am getting a differnet ip address in virtualbox

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: am getting a differnet ip address in virtualbox

Post by mpack »

The host and guest are separate PCs, so naturally their IP addresses are different.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: am getting a differnet ip address in virtualbox

Post 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
Post Reply