If you plan on linking multiple VM services together, Mean Servers offers a private internal IP address per VPS free of charge. This allows you to pass traffic between each VPS without being billed or having the traffic amount count against your monthly bandwidth allowance. To add a private IP address to your VPS, simply contact the sales department or order one (free of charge!) during the checkout process.
In order for your new private IP address to reach the rest of the segregated IP network, you will need to complete the following:
Step 1: Configure your second NIC (ethernet card)
To do so, edit the following:
vi /etc/sysconfig/network-scripts/ifcfg-eth1
Add the following:
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
GATEWAY=<gateway IP address>
IPADDR=<Assigned Private IP Address>
NETMASK=255.255.255.0
To do so, edit the following:
vi /etc/sysconfig/network-scripts/route-eth1
Add the following:
10.101.0.0/16 via <gateway IP address> dev eth1
10.102.0.0/16 via <gateway IP address> dev eth1
10.103.0.0/16 via <gateway IP address> dev eth1
Replacing <gateway IP address> with your assigned IP address' gateway from step 1.
Save and exit vim.
You should now be able to reach your other VM's that are connected to the private IP network!
Note: This guide was written for CentOS and other operating systems may require tweaks to the code above in order for it to work. Please consult your individual operating system handbook on the correct method of setting up additional network interfaces and static routes. If you require assistance from Mean Servers with setting up this service, an additional fee may apply (excluding the provisioning of the IP address of course).