Page 2 of 2

Re: Multiple public IPs one NIC multiple VMs

Posted: 17. May 2020, 04:18
by tip32a
Hi BillG, My question is not about the cable modem. It is about whether the community sees an obvious reason why my proceeding will not work. Like for example maybe VB can only handle 2 virtual networks or a known bug that would normally allow a function to work wont let it work at this time. This whole project is personal. I have 150,000 songs and want to host them on the web but none of the services like Amazon, google or itunes will allow more than 80,000. So I want my own subsonic server. I have a large family and dont like or trust gmail so i have a family Kerio email server, MY family has 8 computers so i have a web based backup server. And lastly I have had my data destroyed by Dropbox and Sync. so I want to host my own owncloud server. Thats 4 seperate PC/Servers running 24/7 I have a perfectly useful retired dell 8 bay Server so I want to move everything to one piece of hardware. It may not be possible but it seems to be exactly what Virtual box is for.

Re: Multiple public IPs one NIC multiple VMs

Posted: 17. May 2020, 15:04
by scottgus1
It is quite possible to run 4 servers with 4 internal networks to 4 router guests Bridged commonly to a one-port or separately to a four-port network card. The host computer would have to be well-provisioned. Consider two CPU cores per server guest. The router guests might be able to share some cores: set to one each but I expect they won't take up more than two cores' bandwidth. Look for a 16-core host server (extra room for when you decide to add the movie server), gobs of memory (total of ram for each guest + 2GB for host < host's physical ram). Motherboard should have lots of SATA ports. Allow a single platter drive for two guests (RAID1 or 6 not 5* for redundancy). SSD's can handle more guests but are more expensive in the TB sizes.

(*research why RAID5 is no good anymore. 6 at least, or simple 1 mirrors. Also I like to remember that the R in RAID means Redundant, not Reliable or Restorable 8) take good backups even of the RAIDed drives.)

If you can get the cable modem to put traffic all on one port, you might be able to send back that 4-port mon$ter:

cable modem > 1 cable > 1-port onboard card > 4x Bridged commonly > 4 router guests, one public IP each > 4 Internals > 4 server guests.

If not:

cable modem > 4 cables > 4-port card > 4x Bridged separately > 4 router guests, one public IP each > 4 Internals > 4 server guests.

One other thing to consider: host server network security. Having raw public internet come into the server for the guest servers to access is a danger point if the host server OS can also be seen by the internet. Most motherboards now come with two Ethernet ports. You can set up Virtualbox to Bridge to one of the ports (or the 4-port card) and the host server OS to not use that port. And you can set the other port for the host server OS and not Virtualbox. So host server maintenance traffic can be separate from the public internet traffic. Make a new topic if you want to learn how to do this traffic split.