Create virtual servers?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pinus
Posts: 2
Joined: 10. Apr 2009, 17:32
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Linux, Windows

Create virtual servers?

Post by pinus »

I want to create some virtual servers that I start as needed on my development box.
The servers should look like real iron on the network. For me that means I need static
IP addresses that I can add to my hosts file.

And now I wonder which is the best way to do that? On the Ubuntu wiki I found:
"With the most recent version of Virtualbox, 2.1.0, this entire thread is out dated.
...
No need to manually bridge your network card, no need for a tap,..."

And on the VirtualBox website I found an article that uses the tap interface.
(http://www.virtualbox.org/wiki/Advanced ... king_Linux)

Since I'm not a network expert I want to know if the Advanced_Networking_Linux
is still the way to go for a setup described above.
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: Create virtual servers?

Post by Sasquatch »

As the publication date of the wiki is from 2007, when version 1.4.x was about there (not sure, as I joined here since 1.5.x), it's needless to say that it's outdated big time. For the best info, read the manual, chapter 6. The Ubuntu Forums is more accurate, as you no longer need a bridge and virtual adapters for Host Interface, or Bridged as it's now.
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.
pinus
Posts: 2
Joined: 10. Apr 2009, 17:32
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Create virtual servers?

Post by pinus »

Using the host interface works like a charm except that I don't know the IP my
network interface gets from the DHCP server. I tried a network alias but it didn't
work.

I thought about a adding an additional Ethernet card to get an interface which
could get a static IP but I would prefer a software solution.

Am I the only one who uses a DSL connection to the internet and wants
to use some local servers to test something?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Create virtual servers?

Post by vbox4me2 »

If you read up on tcp/ip, routers, routing and local IP ranges you will find its extreemly easy what you want, IF, you have a router in use with your DSL. If you are directly connected with 1 machine to 1 internet connection then go and buy a router.
Post Reply