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
Help with networking
-
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
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.
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.