Hey folks,
I'm using SolusVM for creating and administrating VMs. Unfortunately there's no option to assign bulk IPs in one shot to VMs, whether OVZ or KVM platform. You literally have to add single IPs one at a time, from a drop down menu.
I searched around and apparently there's a possible way to add bulk IPs to a KVM VM, but not 100% sure how to go about this. I would appreciate a simplified explanation on how I can do this.
I tried one tutorial and have it somewhat halfway through.
Example, KVM Node: Assigned a single /24
5 KVM VMs created. I want to add a /26 in one shot to one of the VMs. How? I'm running Centos 6.8 64bit on the NODE.
/etc/sysconfig/network
Code:
NETWORKING=yes
HOSTNAME=server.domain.net
GATEWAY=br1
/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
ONBOOT=yes
BRIDGE=br0
HWADDR=b8:ac:6f:65:31:e5
/etc/sysconfig/network-scripts/ifcfg-br0
Code:
DEVICE=br0 TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=xxx.xxx.22.70
NETMASK=255.255.255.0
DELAY=0