Help with networking

Discussions related to using VirtualBox on Windows hosts.
Post Reply
huntantr
Posts: 2
Joined: 10. Nov 2009, 04:42
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu
Location: Freelton, Ontario, Canada

Help with networking

Post by huntantr »

I have an Ubuntu 9.10 VM running, and all works great, but I want to set this VM up as a web server. How can I get the VM to get its IP from my router? I want to be able to access the web site I'm creating from any of my machines.


Thanks,
Anthony
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Help with networking

Post by MarkCranness »

Simplest to use Bridged, which will do as you want, see section 6 of the user manual.
Settings>Network>Attached to: Bridged Adapter.

NAT could also work, but you would have to port forward (see section 6.4.1 of the manual), and share the host's IP and port numbers.
Post Reply