I am currently renting an
Ubuntu server. On this machine I would like to run virtual machines using
KVM. For some web access I have installed
Kimchi, a very simple html5-based KVM management tool.
Anyway I have problems setting up the networking for the virtual machines. At the moment I have one main IP and multiple additional IPs. The main IP is reserved for the host so I can access it per SSH etc. Please note that the host server is directly connected to the internet with this public IP, there is nothing in between.
Obviously now I would like to make the first virtual machine use one of the additional IPs.
/etc/network/interfaces so far:
auto lo iface lo inet loopback # device: eth0 auto eth0 iface eth0 inet static address 1**.***.***.**6 broadcast 1**.***.***.**1 netmask 2**.***.***.**2 gateway 1**.***.***.**9 # default route to access subnet up route add -net 1**.***.***.**8 netmask 2**.***.***.**2 gw 1**.***.***.**9 eth0
The Kimchi web administration gives me the following options. I can create a new network which can be attached to a virtual machine:
How would I need to set up in order to let a virtual machine use an additional IP automatically?