armstrtw
June 10th, 2009, 06:50 PM
Our server has several ethernet ports. Is it possible to give a virtual machine exclusive access to one of the ethernet ports?
My first attempt was to set up eth0 as the device for the host with a static ip, and to set up eth1 in a bridge which I could use as the device for all the vm's that were hosted on that machine. However, having both devices up caused quite a lot of routing issues for outgoing connections on the machine.
Does anyone know the proper steps to give a virtual machine exclusive access to an ethernet card and to route all traffic from the host through a different ethernet card?
I'm using vmbuilder and kvm on ubuntu 9.04.
Thanks in advance,
Whit
My first attempt was to set up eth0 as the device for the host with a static ip, and to set up eth1 in a bridge which I could use as the device for all the vm's that were hosted on that machine. However, having both devices up caused quite a lot of routing issues for outgoing connections on the machine.
Does anyone know the proper steps to give a virtual machine exclusive access to an ethernet card and to route all traffic from the host through a different ethernet card?
I'm using vmbuilder and kvm on ubuntu 9.04.
Thanks in advance,
Whit