Different IP Host & Guest

Discussions about using Windows guests in VirtualBox.
waystodie
Posts: 1
Joined: 15. Feb 2009, 10:03

Different IP Host & Guest

Post by waystodie »

It is possible to get a different ip on Windows XP guest and on Windows Vista host using VirtualBox?

If it possible, how its done?

I have 2.1.2 version btw.

I want to play online with virtuals.

Ok thanx.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Read the Manual about to setup a bridge / host adapter.
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

Could you please be more specific, for example give me a page number, because i don't understand many of this things and am not sure what exactly part of manual i need to do...tnx in advance
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Different IP Host & Guest

Post by vbox4me2 »

Open the manual.pdf, hit the search button and type in 'bridge' or 'host interface'.
(page numbers can differ between manual versions.)
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

version is 2.2.0, my problem is that i can't find specific instructions for configuring the client Windows XP to have separate IP adress from my host Vista...any additional help would be greatly appreciated :(
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Different IP Host & Guest

Post by Sasquatch »

Just read chapter 6. That describes everything you need to know about networking with VB. Read the part about Bridged/Host Interface mode.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

ok. i've looked into it for a while and tried all of the network setting but yet without success, it appears however that my intel wifi 4965agn cannot be installed into guest account, is this correct?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Different IP Host & Guest

Post by vbox4me2 »

Correct because the Host one is a virtual one for the Guest, so you select for the Guest what the Guest will use.
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

ok i've set the network the following settings: IntelPRO/1000 MT Desktop and Bridged network. However that way I can't go online at all, plus on guest OS i can't install Ethernet Adapter because windows can't find necessary software, any suggestions?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Different IP Host & Guest

Post by vbox4me2 »

Get the drivers via the Host and use the virtual CD to transport them to the Guest.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Different IP Host & Guest

Post by Sasquatch »

XP doesn't have that driver build in, but it has all the other NIC drivers that VB offers.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

ok guys, i know i am boring but i really need to get this working:( tnx for your help so far. I've installed the drivers and set the network to Bridge mode (as I understood that's what I needed to do) and yet again the guest and host IP adress are the same, and disconnecting either of them from the network disconnects the other one,,,what am I doing wrong???:(
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Different IP Host & Guest

Post by vbox4me2 »

Try a static address for the Guest, if that works we go on to the next step.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Different IP Host & Guest

Post by Sasquatch »

The most likely reason you get the same IP address is that the DHCP server keeps track of which MAC has which IP address. VB uses two methods to get on the network. The first it tries to use the Guest MAC address, and if that fails, it will use the Host NIC MAC address. The latter is used for you now, so the DHCP gives the same IP address. Setting it to static like Vbox4me2 suggested will surely help.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
z1k4
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Re: Different IP Host & Guest

Post by z1k4 »

The nature of my project requires that i use dynamic ip, i'm sorry for not stating this earlier...so my problem is now what i need or can to do that guest connects with its own mac adress?
Post Reply