IP Address of The Guset OS

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Robert33
Posts: 2
Joined: 20. Oct 2009, 19:14
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP

IP Address of The Guset OS

Post by Robert33 »

A quick question from a non virtualbox user.

I read that the Guest OS gets assigned an IP address automatically in bridged mode.
So if I install a webserver for example in the guest OS, will I be able to access it with no problems from my host OS through that local IP?

Host & Guest OS = Windows XP.

Thanks for your time.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: IP Address of The Guset OS

Post by Sasquatch »

Only when a DHCP server is on your network (like a router). If you're directly connected to the internet, the Guest won't get an IP address.
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.
Robert33
Posts: 2
Joined: 20. Oct 2009, 19:14
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP

Re: IP Address of The Guset OS

Post by Robert33 »

I'm only concerned about local access, from the host OS to the guest OS, so let's pretend I don't even have an internet connection.
I just want to know if it will be possible for me(as a host OS) to access some services(possibly a http server) running on the guest OS with no troubles..
e.g.,
http://MyGuestOSLocalIP:PORT/stuff
Last edited by Robert33 on 20. Oct 2009, 21:21, edited 1 time in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: IP Address of The Guset OS

Post by Sasquatch »

If it's only Host <> Guest traffic, nothing from outside the Host, then use Host-Only. See the manual, chapter 6 for more information.
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.
Post Reply