|
H-Sphere VPS 1.4-1 and up provides adding multiple subnets and network gateways
to virtual servers. The respective VPS network scripts configure
VPS subnet addresses, gateways, masks and physical network interfaces by means of the special XML file
/hsphere/local/config/vserver/subnets.xml which looks like:
<?xml version='1.0' standalone='yes'?>
<subnets>
<subnet addr="192.168.112.0"
device="eth1"
gateway="192.168.112.1"
mask="255.255.255.0" />
<subnet addr="192.168.114.0"
device="eth0"
gateway="192.168.114.1"
mask="255.255.255.0" />
<subnet addr="192.168.116.0"
device="eth1"
gateway="192.168.116.1"
mask="255.255.255.0" />
</subnets>
|