Can I configure a private network between my servers?

Yes, you can. If you have multiple servers at Tilaa, you can create a virtual network through our dashboard: https://my.tilaa.com/virtual_networks/add

You can name the network and select which servers you want to add.

After you have saved the virtual network, restart your servers to add the new network interface. Please note, most Linux distributions do not show unconfigured interfaces unless you use 'ifconfig -a'. In most cases, the new interface will be eth1.

Please note: It's important to restart the server through the Tilaa dashboard for the added changes to have an effect!

You can now configure an IP address from a private range such as 192.168.0.x on the interface. 

For CentOS/Fedora/Scientific Linux

create an interface configuration file: /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.1
NETMASK=255.255.255.0

 

For Ubuntu/Debian

modify /etc/network/interfaces and add:

auto eth1
iface eth1 inet static
  address 192.168.0.1
  netmask 255.255.255.0

 

For FreeBSD

modify /etc/rc.conf and add:

ifconfig_em1="inet 192.168.0.1 netmask 255.255.255.0"

 

For Windows
Press Windows Key+R and launch run and type either of below commands and press enter:

ncpa.cpl
control netconnections

A new interface should have appeared after the reboot of your VPS. You can now set the desired IP-addresses. Note: Please leave the default gateway and DNS fields empty!

After doing so on each server, you should be able to ping from one server to another.

To add a new VPS to an existing network, click 'Details' at the server's network configuration. On the Network Interfaces page, click 'Add interface', select the network you'd like to add and click 'Save'.

Was this article helpful?
8 out of 8 found this helpful

Comments

0 comments

Article is closed for comments.

Articles in this section

See more