I have my bridging/networking in place via a guide from my host: http://wiki.hetzner.de/index.php/KVM_mit_Nutzung_aller_IPs_aus_Subnetz
I can’t seem to add a second IP address to a machine, which I’ll need to host SSL protected websites, as well as host my own DNS server.
Steps I’m taking:
- Create the new VM with New System -> Create KVM Instance -> Create empty System
- Once the system is created, go into System Configuration -> Network Interfaces and set eth0 to the proper bridge on the host. Add eth1 via ‘Add a real interface’ (it’s the only option I have on that page).
- Install the OS. During installation, the OS detects that it has two eth devices, and can use either one.
- Once the OS is finished installing, the machine shows eth0 offline and eth1 as ‘No such device’ when I try to $ sudo ifconfig eth1 up from a Ubuntu 12.04 guest. (therefore killing all internet connectivity to the guest. Attempts to try to get it to reconnect are unsuccessful and I must delete and recreate the machine to get eth0 to reconnect
I read somewhere that a new IP has to be added as a ‘virtual interface’ in System Configuration -> Network Interfaces but I don’t have that option, I can only add ethN devices.