Richard Gomes
2014-Feb-02 16:19 UTC
[libvirt-users] Management of host device for network passthrough
Hello, I've configured a network passtrough like this: <interface type='direct'> <mac address='52:54:00:ec:e8:d9'/> <source dev='eth1' mode='passthrough'/> <target dev='macvtap0'/> <model type='rtl8139'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </interface> OK. it works :) There's only one small difficulty: I have to make sure the host network interface is down before I start the VM. Then, after the VM starts, I have to bring the host network interface up by hand. If the host interface is up before the VM starts, the VM fails to start. If I do not bring the host network interface up after the VM starts, the VM cannot effectively communicate using that network interface. Does anybody has a "clean" solution for it, I mean: without employing some external "dirty" script or so? Thanks -- Richard Gomes http://rgomes.info http://www.linkedin.com/in/rgomes mobile: +44(77)9955-6813 inum <http://www.inum.net/>: +883(5100)0800-9804 sip:rgomes@ippi.fr
Apparently Analagous Threads
- Trouble configuring with macvtap passthrough on Debian Wheezy / Jessie
- Re: Looks like blockpull does not accept a subset of the entire chain of backing files
- Looks like blockpull does not accept a subset of the entire chain of backing files
- Success: VT-d on ASUS P6T
- Re: connecting host and guest vm using a dummy nic