We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Anyway to use every single IP from IP Block ? ( KVM node)


raid_level
03-06-2015, 07:08
And E.F.G.H (Any IP from the block) will be lost not been able to use it on any VPS ?

alvaroag
03-06-2015, 05:17
On a CentOS KVM, the configuration should be put in two files in /etc/sysconfig/network-scripts

ifcfg-eth0
DEVICE="eth0"
TYPE="Ethernet"
HWADDR="YOUR_MAC_ADDRESS"
UUID="YOUR_UUID"

ONBOOT="yes"
BOOTPROTO="static"
DNS1="8.8.8.8"
DNS2="8.8.4.4"
NM_CONTROLLED="yes"

IPADDR="E.F.G.H"
NETMASK="255.255.255.255"
BROADCAST="E.F.G.255"
GATEWAY="A.B.C.254"
route-eth0
A.B.C.254/32 dev eth0
default via A.B.C.254 dev eth0
The UUID is generated with uuidgen, for example, "uuidgen eth0". The MAC address should be the one used in the SolusVM config for the VM, which in turn should be the same as the one generated by the Manager(VMAC). That is, of course, in bridged mode, which is the fastest solution. The other solution would be using ProxyARP, but that would require some configuration, in addition to a iptables-based firewall like Shorewall.

Not sure what level of customization SolusVM provides over the KVMs, but it's probable you will need to configure the network on the VM OS manually after the installation, entering to it via the SolusVM console. The only case in which I'm sure SolusVM will do the network configuration for you is when dealing with OpenVZ containers. Those require no additional configuration, as OpenVZ uses it's own ProxyARP-based venet devices, which allows you to configure specific IP addresses to each container with automatic configuration, and no need for VMACs.

raid_level
02-06-2015, 20:59
Quote Originally Posted by alvaroag
Yes, all the IP addresses from the IP blocks are usable. The installation email show another configuration option, but it's not mandatory. You can use all your IPs in the following way:

Main Server IP(Included one): A.B.C.D
FO IP: E.F.G.H (Any IP from the block)
Mask: 255.255.255.255 or /32
Gateway: A.B.C.254

That is, mask should be the same for all IPs, as well as the gateway.

Great, how about what files to add and what content should they have on CentOS node (for kvm VPSs) ? ifcfg-eth0, br0 ,


When SolusVM deploy new VPS I need VPS to have network after OS install ( CentOS, Ubuntu, Debian, Windows ).

alvaroag
02-06-2015, 19:46
Yes, all the IP addresses from the IP blocks are usable. The installation email show another configuration option, but it's not mandatory. You can use all your IPs in the following way:

Main Server IP(Included one): A.B.C.D
FO IP: E.F.G.H (Any IP from the block)
Mask: 255.255.255.255 or /32
Gateway: A.B.C.254

That is, mask should be the same for all IPs, as well as the gateway.

raid_level
02-06-2015, 19:01
I have one SYS node with SolusVM and KVM VPSs. Is there anyway to use every single IP from every IP Block ?