Running a linux based server as a guest on a windows XP host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
toolfan2k4
Posts: 1
Joined: 24. Nov 2008, 09:14

Running a linux based server as a guest on a windows XP host

Post by toolfan2k4 »

Hello all. I am trying to setup a domain for my network. I have my ubuntu server guest already configured but the only network connection I can get to actually connect is the NAT one. As far as I know a server cannot be run through a NAT connection with VBOX. I need a static IP of 192.168.1.7 for the server. I setup the VirtualBox Host Interface 1 and bridged it to my network connection on the host and rebooted. No matter what I do that VirtualBox Host Interface 1 always says A Network Cable Is Unplugged in the host. Also in the guest I get no connection. Is there a way I can make windows automatically forward certain ports to the server guests NAT address since this is the only connection I can get to work? All the documentation I can find for running servers through guests usually pertains to vmware....which I am not a fan of. I am sure that I have ubuntu configured correctly....if I can just get that VirtualBox Host Interface 1 in windows to get a connection I feel I would be set. :oops:

Edit:
Even better can I setup the guest to use the same IP as the host? Meaning to access the server from another computer on the network on say port 145 I need to be able to input the hostIP:145. This if I am not mistaken is not possible right?
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

Post by Sasquatch »

If you use NAT, you can forward certain ports. See the manual for how to do that (chapter 6 - Networking).
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