Drate
February 4th, 2009, 06:40 PM
My Goal:
To be able to add a second (or third, etc.) nic to a Guest VM using Ubuntu's KVM installation and thereby create a server/gateway VM for other Guest VMs to connect through. That is, if the "Gateway" VM crashes, the other Guest VM's should be virtually inaccessible (har har) to the outside world.
What I have found so far:
/etc/libvirt/qemu/virtual_guest.xml
I managed my way to the network interface entry, and saw the "<source network='default'/>" option, but I have no idea what to put in place of default to make it local to the VM's only.
The best I can find on the Google-Net is a vague reference or two to using VDE and setting up an interface in the OS for VDE to use, and then let this VDE act as a switch between the Gateway Guest and the Client Guests.
The funnest part about that of course, is Network-Manager seems to not have any configuration settings ANYWHERE that I can manually add an interface for such use and the nm-applet doesnt even recognize the automatically generated "vnet0" interface that I presume was being used by my one current VM Guest.
SO... can anyone point me to a doc, tell me what I'm missing, or give me any (re)direction as to how to add multiple NIC's to a VM correctly, and have at least one of them not be connected to the outside world?
To be able to add a second (or third, etc.) nic to a Guest VM using Ubuntu's KVM installation and thereby create a server/gateway VM for other Guest VMs to connect through. That is, if the "Gateway" VM crashes, the other Guest VM's should be virtually inaccessible (har har) to the outside world.
What I have found so far:
/etc/libvirt/qemu/virtual_guest.xml
I managed my way to the network interface entry, and saw the "<source network='default'/>" option, but I have no idea what to put in place of default to make it local to the VM's only.
The best I can find on the Google-Net is a vague reference or two to using VDE and setting up an interface in the OS for VDE to use, and then let this VDE act as a switch between the Gateway Guest and the Client Guests.
The funnest part about that of course, is Network-Manager seems to not have any configuration settings ANYWHERE that I can manually add an interface for such use and the nm-applet doesnt even recognize the automatically generated "vnet0" interface that I presume was being used by my one current VM Guest.
SO... can anyone point me to a doc, tell me what I'm missing, or give me any (re)direction as to how to add multiple NIC's to a VM correctly, and have at least one of them not be connected to the outside world?