<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi All,</div><div><br></div><div>I'd like to know what determines the type of virtual NIC in libvirt ? There was a problem I encountered, the vm can't get the mirror traffic while the virtual port in openvswitch is veth, If the virtual port is tun, the everything is fine.</div><div><br></div><div>[root@allinone-247 ~]# ethtool -i vn62f717800<br>driver: veth<br>version: 1.0<br>firmware-version: <br>expansion-rom-version: <br>bus-info: <br>supports-statistics: yes<br>supports-test: no<br>supports-eeprom-access: no<br>supports-register-dump: no<br>supports-priv-flags: no</div><div><br></div><div>I uninstall the veth kernel module, then restart vm, then the vm can receive the mirror traffic</div><div><br></div><div>[root@allinone-247 ~]# ethtool -i vn62f717800<br>driver: tun<br>version: 1.6<br>firmware-version: <br>expansion-rom-version: <br>bus-info: tap<br>supports-statistics: no<br>supports-test: no<br>supports-eeprom-access: no<br>supports-register-dump: no<br>supports-priv-flags: no<br></div><div><br></div><div>so, I'm wondering if there are configuration options which can be configured to use which type of virtual NIC(tap or veth).</div><div><br></div><div>Any comments would be appreciate.<br></div></div><br><br><span title="neteasefooter"><p> </p></span>