Portal Home > Knowledgebase > Articles Database > virtualization
virtualization
Posted by peep96, 07-20-2010, 11:33 AM |
hey guys,
had a quick question regarding virtualization. was thinking of building a home server with a core i7, but I was going to have this one have virtual servers on it. I was going to have it run freebsd for webserver, dns and things like that but was going to have a virtual server as a guest os on freebsd which would run centos for mail server. I was planning on using virtualbox since it is on freebsd ports. now, I was thinking on putting 2 or 3 nics in the machine, but is it possible to assign a different static external ip to each nic since I have a block of 5 from my ISP? I want the mail server to have a different ip than the web/dns, but is that possible? and also, does virtualization use less energy than running a separate server for each? thanks in advance.
|
Posted by quad3datwork, 07-20-2010, 12:15 PM |
Of course you can assign external IPs to your VMs. You use "bridge" over the physical NICs. It's been a while since I used VirtualBox... but there should be options allow you to 'bridge'.
Virtualization uses less energy by consolidating several 'physical' servers into one. So for example if you have three servers each polling 100W each (100w X 3) and you virtualize it... the VM server probably use a little over 100w. So yes, depend on your environment, you can save cost.
|
Posted by MikeTrike, 07-20-2010, 12:19 PM |
This should help make your day, works great for LAN management.
http://code.google.com/p/phpvirtualbox/
Only use this in a secure LAN environment, it has no security features to keep people out of it.
|
Posted by peep96, 07-20-2010, 12:31 PM |
miketrike - that just made my day!
quad3datwork - so I would want to install multiple nics and set each nic to bridge, or just one nic and set that one to bridge? thanks for the energy breakdown also.
|
Posted by quad3datwork, 07-20-2010, 12:54 PM |
You can do either. But since this is a home network where you don't have a managed L2 switch and not dealing with VLANs... have one NIC and bridge over that is fine.
If you are concerns about power, having multiple NICs do pull a bit more power.
|
Posted by peep96, 07-20-2010, 01:23 PM |
I probably will just use one NIC, but what would i have to do for me to be able to use multiple nics? you were saying something with VLANs and L2 switches?
|
Posted by aleb, 07-20-2010, 07:12 PM |
802.1q vlan + managed switch (Cisco is best!!)
host (nic) --- vlan trunk --- switch
It is unclear why in FreeBSD to run CentOS. For the experiment?
For FreeBSD - is a wonderful technology of jail. I agree that this is only an advanced chroot. But the overhead is not great.
jail + vimage = good
|
Posted by Jeremy, 07-21-2010, 04:06 PM |
Use VMware (ESXi)
|
Add to Favourites Print this Article
Also Read