Routing VM setup (making VM setup faster)

  • Thread starter Thread starter auberon
  • Start date Start date
A

auberon

Guest
I don't quite understand the tutorials/wiki entries in regard to networking.

I have way more VMs than IP addresses so I am binding lots of IPs via one NIC.

So I have a routing VM (192.168.17.1) that routes all requests to the respective VMs. Setting up these VMs is time-consuming. Now I am trying to find a way to speed up the process of creating those VMs.

When creating an openVZ with a virtual network (venet), I can enter an IP, e.g. 192.168.17.215 but I cannot set:

netmask 255.255.255.0
network 192.168.17.0
broadcast 192.168.17.255
gateway 192.168.17.1

If I could set the above values or have them in the VM by default, I could create a VM in minutes. Any idea how this could be done?
 
Last edited by a moderator: