Management of host device for network passthrough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: +883(5100)0800-9804
sip:rgomes@xxxxxxx

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux