I'm using Ubuntu Server and KVM, and am trying to figure out how to get networking to work so one guest can use multiple static IP addresses from one network adapter.
Right now I'm assuming a layout like this (all static):
eth0
|- 192.168.1.100 - Server address A (eth0)
|- 192.168.1.101 - Server address B (eth0:1)
\- Virtual machine
|- 192.168.1.150 - VM address C (eth0:2?)
\- 192.168.1.151 - VM address D (eth0:3?)
I'm not quite sure how to go about setting this up in /etc/networking/interfaces
or in virsh. I'm guessing a bridge needs to be involved, and that a network needs to be set up with libvirt, but I have no idea how to set either up.