Different IP Host & Guest

Discussions about using Windows guests in VirtualBox.

Different IP Host & Guest

Postby waystodie » 15. Feb 2009, 10:09

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.
waystodie
 
Posts: 1
Joined: 15. Feb 2009, 10:03

Postby stefan.becker » 15. Feb 2009, 11:34

Read the Manual about to setup a bridge / host adapter.
stefan.becker
Volunteer
 
Posts: 7046
Joined: 7. Jun 2007, 21:53

Re: Different IP Host & Guest

Postby z1k4 » 17. Apr 2009, 13:45

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

Postby vbox4me2 » 17. Apr 2009, 14:11

Open the manual.pdf, hit the search button and type in 'bridge' or 'host interface'.
(page numbers can differ between manual versions.)
vbox4me2
Volunteer
 
Posts: 5222
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: Different IP Host & Guest

Postby z1k4 » 17. Apr 2009, 16:36

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 :(
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

Postby Sasquatch » 17. Apr 2009, 17:02

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Different IP Host & Guest

Postby z1k4 » 17. Apr 2009, 17:31

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?
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

Postby vbox4me2 » 17. Apr 2009, 17:49

Correct because the Host one is a virtual one for the Guest, so you select for the Guest what the Guest will use.
vbox4me2
Volunteer
 
Posts: 5222
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: Different IP Host & Guest

Postby z1k4 » 17. Apr 2009, 18:29

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?
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

Postby vbox4me2 » 17. Apr 2009, 18:55

Get the drivers via the Host and use the virtual CD to transport them to the Guest.
vbox4me2
Volunteer
 
Posts: 5222
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: Different IP Host & Guest

Postby Sasquatch » 18. Apr 2009, 12:13

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Different IP Host & Guest

Postby z1k4 » 18. Apr 2009, 20:20

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???:(
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

Postby vbox4me2 » 18. Apr 2009, 21:10

Try a static address for the Guest, if that works we go on to the next step.
vbox4me2
Volunteer
 
Posts: 5222
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: Different IP Host & Guest

Postby Sasquatch » 18. Apr 2009, 21:27

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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Different IP Host & Guest

Postby z1k4 » 19. Apr 2009, 01:28

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?
z1k4
 
Posts: 6
Joined: 17. Apr 2009, 13:40
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP

Next

Return to Windows Guests

Who is online

Users browsing this forum: JeZ-l-Lee and 18 guests